geni.rspec.igext

class AddressPool(name, count=1, type='any')[source]

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

name
class Blockstore(name, mount=None)[source]
class Bridge(name, if0name='if0', if1name='if1')[source]
class Pipe[source]
interface(which)[source]
pipe(which)[source]
class Desire(name, weight)[source]
class Firewall(style)[source]
class Direction[source]
INCOMING = 'incoming'
OUTGOING = 'outgoing'
class Style[source]
BASIC = 'basic'
CLOSED = 'closed'
OPEN = 'open'
addException(port, direction, ip=None)[source]
class 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 ParameterData(parameters)[source]
class 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 RemoteBlockstore(name, mount=None, ifacename='if0')[source]
dataset
interface
mountpoint
placement
readonly
rwclone
size
class Site(id)[source]
class 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 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.