geni.rspec.igext

class geni.rspec.igext.AddressPool(name, count=1, type='any')[source]

A pool of public dynamic IP addresses belonging to a slice.

name
class geni.rspec.igext.Blockstore(name, mount)[source]
class geni.rspec.igext.Bridge(name, if0name='if0', if1name='if1')[source]
class Pipe[source]
Bridge.interface(which)[source]
Bridge.pipe(which)[source]
class geni.rspec.igext.Desire(name, weight)[source]
class geni.rspec.igext.Firewall(style)[source]
class Direction[source]
INCOMING = 'incoming'
OUTGOING = 'outgoing'
class Firewall.Style[source]
BASIC = 'basic'
CLOSED = 'closed'
OPEN = 'open'
Firewall.addException(port, direction, ip=None)[source]
class geni.rspec.igext.OFController(host, port=6633)[source]

OpenFlow controller specification to be used on a PG VLAN.

Add to link objects using the Link.addChild() method.

Note

This will have no effect if a trivial link is created by the aggregate. You need to make sure that a VLAN will be provisioned (typically by making sure that at least two interfaces on the link are on different physical hosts).

class geni.rspec.igext.ParameterData(parameters)[source]
class geni.rspec.igext.Password(name=None)[source]

A declaration for a randomly generated password.

The portal will generate the password, encrypt it, and pass on the encrypted value to the AM(s) and therefore the node(s).

class geni.rspec.igext.RemoteBlockstore(name, mount, ifacename='if0')[source]
dataset
interface
mountpoint
placement
readonly
rwclone
size
class geni.rspec.igext.Site(id)[source]
class geni.rspec.igext.Tour[source]
Description(type, desc)[source]
Instructions(type, inst)[source]
MARKDOWN = 'markdown'
SPLIT_REGEX = <_sre.SRE_Pattern object>
TEXT = 'text'
useDocstring(module=None)[source]
class geni.rspec.igext.XenVM(client_id, component_id=None, exclusive=False)[source]

Xen-based Virtual Machine resource

Parameters:
  • client_id (str) – Your name for this VM. This must be unique within a single Request object.
  • component_id (Optional[str]) – The component_id of the site node you want to bind this VM to
  • exclusive (Optional[bool]) – Request this VM on an isolated host used only by your sliver.
cores

int – Number of CPU cores

ram

int – Amount of memory in megabytes

disk

int – Amount of disk space in gigabytes

xen_ptype

str – Physical node type on which to instantiate the VM. Types are AM-specific.