Opened 11 years ago

Closed 11 years ago

#163 closed (fixed)

sliver_type: Treat m1.small as default if none specified

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

Description

Having a list of sliver_types is great - thanks. With this, plus the default disk image (really awesome, thanks), I can submit a request to ExoGENI that is pretty generic / unbound. And it looks a lot like what I can do at InstaGENI.

The primary difference is sliver_type: For VMs, the possible values are different between InstaGENI and ExoGENI. For advanced users, this seems good - you ask for what you really want.

But if I just want a VM, it would be nice if I didn't have to specify.

Specifically, can we have a default sliver_type - presumably something like m1.small, if none is specified?

This would allow a very simple request RSpec to work at both kinds of racks:

<rspec type="request" xsi:schemaLocation="http://www.geni.net/resources/rspec/3     
            http://www.geni.net/resources/rspec/3/request.xsd " 
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
            xmlns="http://www.geni.net/resources/rspec/3">
  <node client_id="mine"/>
</rspec>

Change History (3)

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

r5337 on trunk takes care of default instance size if sliver type is omitted.

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

Using version "ORCA Dungeness: v.4.0-SNAPSHOT.build-5468" on the NICTA rack was able to verify that requesting a node without any sliver_type definition results in the following being allocated:

<sliver_type name="m1.small">
<disk_image version="d1044d9162bd7851e3fc2c57a8251ad6b3641c0c" name="http://geni-images.renci.org/images/standard/debian/deb6-neuca-v1.0.8.xml"/>
</sliver_type>

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

Resolution: fixed
Status: newclosed

Using 'ORCA Dungeness: v.4.0-SNAPSHOT.build-5495' on BBN rack and an rspec that did not define a sliver_type:

<?xml version="1.0" encoding="UTF-8"?>
<rspec type="request" 
	xsi:schemaLocation="http://www.geni.net/resources/rspec/3 
	          	    http://www.geni.net/resources/rspec/3/request.xsd
                            http://www.protogeni.net/resources/rspec/ext/shared-vlan/1
                            http://www.protogeni.net/resources/rspec/ext/shared-vlan/1/request.xsd"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
        xmlns:s="http://www.protogeni.net/resources/rspec/ext/shared-vlan/1"
	xmlns="http://www.geni.net/resources/rspec/3">
  <node client_id="VM-1" component_manager_id="urn:publicid:IDN+bbnvmsite+authority+cm">
  </node>
</rspec>

Resulted in the following sliver_type being created:

<sliver_type name="m1.small">
<disk_image version="d1044d9162bd7851e3fc2c57a8251ad6b3641c0c" name="http://geni-images.renci.org/images/standard/debian/deb6-neuca-v1.0.8.xml"/>
</sliver_type>
<services/>

Closing ticket

Note: See TracTickets for help on using tickets.