Opened 9 years ago

Closed 9 years ago

#172 closed (fixed)

getversion should return geni_am_type

Reported by: ahelsing@bbn.com Owned by: somebody
Priority: minor Milestone:
Component: AM Version: SPIRAL5
Keywords: Cc:
Dependencies:

Description

It would be nice if getversion returned the geni_am_type allowing tools to see that this is an Orca based aggregate. And therefore knowing things like 'you might want to look at the ExoSM too', etc.

See the spec here: http://groups.geni.net/geni/wiki/GAPI_AM_API_DRAFT#ChangeSetN2:Addgeni_am_type Specifically, return: {{{{ geni_am_type = orca }}}

Change History (3)

comment:1 Changed 9 years ago by ibaldin@renci.org

r5347 on trunk

comment:2 Changed 9 years ago by lnevers@bbn.com

Using version "ORCA Dungeness: v.4.0-SNAPSHOT.build-5468" on the NICTA rack was able to verify was able to verify that existence of "geni_am_type = orca " in the output of the getversion command:

{   'geni_ad_rspec_versions': [   {   'extensions': [   'http://hpn.east.isi.edu/rspec/ext/stitch/0.1/stitch-schema.xsd',
                                                        'http://www.protogeni.net/resources/rspec/ext/emulab/1/ptop_extension.xsd'],
                                      'namespace': 'http://www.geni.net/resources/rspec/3',
                                      'schema': 'http://www.geni.net/resources/rspec/3/ad.xsd',
                                      'type': 'GENI',
                                      'version': '3'}],
    'geni_am_type': 'orca',
    'geni_api': 2,
    'geni_api_versions': {   '2': 'https://nicta-hn.exogeni.net:11443/orca/xmlrpc/geni'},
    'geni_request_rspec_versions': [   {   'extensions': [   'http://www.geni.net/resources/rspec/ext/shared-vlan/1',
                                                             'http://www.geni.net/resources/rspec/ext/postBootScript/1'],
                                           'namespace': 'http://www.geni.net/resources/rspec/3',
                                           'schema': 'http://www.geni.net/resources/rspec/3/request.xsd',
                                           'type': 'GENI',
                                           'version': '3'}],
    'orca_version': 'ORCA Dungeness: v.4.0-SNAPSHOT.build-5468'}

comment:3 Changed 9 years ago by lnevers@bbn.com

Resolution: fixed
Status: newclosed

Resolution verified on GPO closing ticket:

   'geni_request_rspec_versions': [   {   'extensions': [   'http://www.geni.net/resources/rspec/ext/shared-vlan/1',
lnevers@arendia:~/gcf-2.3.1-rc1$ 
lnevers@arendia:~/gcf-2.3.1-rc1$ 
lnevers@arendia:~/gcf-2.3.1-rc1$ more getversion-bbn-hn-exogeni-net-11443-orca.json 
{   'geni_ad_rspec_versions': [   {   'extensions': [   'http://hpn.east.isi.edu/rspec/ext/stitch/0.1/stit
ch-schema.xsd',
                                                        'http://www.protogeni.net/resources/rspec/ext/emul
ab/1/ptop_extension.xsd'],
                                      'namespace': 'http://www.geni.net/resources/rspec/3',
                                      'schema': 'http://www.geni.net/resources/rspec/3/ad.xsd',
                                      'type': 'GENI',
                                      'version': '3'}],
    'geni_am_type': 'orca',
    'geni_api': 2,
    'geni_api_versions': {   '2': 'https://bbn-hn.exogeni.net:11443/orca/xmlrpc/geni'},
    'geni_request_rspec_versions': [   {   'extensions': [   'http://www.geni.net/resources/rspec/ext/shar
ed-vlan/1',
                                                             'http://www.geni.net/resources/rspec/ext/post
BootScript/1'],
                                           'namespace': 'http://www.geni.net/resources/rspec/3',
                                           'schema': 'http://www.geni.net/resources/rspec/3/request.xsd',
                                           'type': 'GENI',
                                           'version': '3'}],
    'orca_version': 'ORCA Dungeness: v.4.0-SNAPSHOT.build-5495'}
Note: See TracTickets for help on using tickets.