geni.rspec.pg

class geni.rspec.pg.Address(atype)[source]
class geni.rspec.pg.Command(cmd, data)[source]
resolve()[source]
class geni.rspec.pg.Execute(shell, command)[source]
class geni.rspec.pg.IPv4Address(address, netmask)[source]
class geni.rspec.pg.Install(url, path)[source]
class geni.rspec.pg.Interface(name, node, address=None)[source]
exception InvalidAddressTypeError(addr)[source]
Interface.addAddress(address)[source]
Interface.name
class geni.rspec.pg.L2GRE(name=None)[source]
class geni.rspec.pg.L3GRE(name=None)[source]
class geni.rspec.pg.LAN(name=None)[source]
DEFAULT_BW = -1
DEFAULT_LAT = 0
DEFAULT_PLR = 0.0
EXTENSIONS = [('setForceShaping', <class 'geni.rspec.emulab.emuext.setForceShaping'>), ('UserData', <class 'geni.rspec.emulab.userdata.UserData'>)]
LNKID = 0
addChild(obj)[source]
addInterface(intf)[source]
addNode(node)[source]
addRawElement(elem)[source]
best_effort
connectSharedVlan(name)[source]
disableMACLearning()[source]
enableVlanTagging()[source]
classmethod newLinkID()[source]
trivial_ok
vlan_tagging
class geni.rspec.pg.Namespaces[source]
CLIENT = http://www.protogeni.net/resources/rspec/ext/client/1
DELAY = http://www.protogeni.net/resources/rspec/ext/delay/1
EMULAB = http://www.protogeni.net/resources/rspec/ext/emulab/1
INFO = http://www.protogeni.net/resources/rspec/ext/site-info/1
JACKS = http://www.protogeni.net/resources/rspec/ext/jacks/1
PARAMS = http://www.protogeni.net/resources/rspec/ext/user-data/1
RS = http://www.protogeni.net/resources/rspec/ext/emulab/1
TOUR = http://www.protogeni.net/resources/rspec/ext/apt-tour/1
VTOP = http://www.protogeni.net/resources/rspec/ext/emulab/1
class geni.rspec.pg.Node(name, ntype, component_id=None, exclusive=None)[source]
exception DuplicateInterfaceName[source]
Node.EXTENSIONS = [('Blockstore', <class 'geni.rspec.igext.Blockstore'>), ('Firewall', <class 'geni.rspec.igext.Firewall'>), ('Site', <class 'geni.rspec.igext.Site'>), ('Desire', <class 'geni.rspec.igext.Desire'>), ('setUseTypeDefaultImage', <class 'geni.rspec.emulab.emuext.setUseTypeDefaultImage'>), ('InstantiateOn', <class 'geni.rspec.emulab.emuext.InstantiateOn'>), ('UserData', <class 'geni.rspec.emulab.userdata.UserData'>)]
Node.addInterface(name=None, address=None)[source]
Node.addRawElement(elem)[source]
Node.addService(svc)[source]
Node.name
class geni.rspec.pg.NodeType[source]
RAW = 'raw'
VM = 'emulab-xen'
XEN = 'emulab-xen'
class geni.rspec.pg.RawPC(name, component_id=None)[source]
class geni.rspec.pg.Request[source]
EXTENSIONS = [('Link', <class 'geni.rspec.pg.Link'>), ('LAN', <class 'geni.rspec.pg.LAN'>), ('Node', <class 'geni.rspec.pg.Node'>), ('RawPC', <class 'geni.rspec.pg.RawPC'>), ('XenVM', <class 'geni.rspec.igext.XenVM'>), ('AddressPool', <class 'geni.rspec.igext.AddressPool'>), ('RemoteBlockstore', <class 'geni.rspec.igext.RemoteBlockstore'>), ('Bridge', <class 'geni.rspec.igext.Bridge'>), ('ParameterData', <class 'geni.rspec.igext.ParameterData'>), ('setCollocateFactor', <class 'geni.rspec.emulab.emuext.setCollocateFactor'>), ('setPackingStrategy', <class 'geni.rspec.emulab.emuext.setPackingStrategy'>), ('setRoutingStyle', <class 'geni.rspec.emulab.emuext.setRoutingStyle'>), ('setDelayImage', <class 'geni.rspec.emulab.emuext.setDelayImage'>), ('EPClan', <class 'geni.rspec.emulab.epclan.EPClan'>), ('EPCNode', <class 'geni.rspec.emulab.epcnode.EPCNode'>), ('EPCVMNode', <class 'geni.rspec.emulab.epcnode.EPCVMNode'>), ('eNodeB', <class 'geni.rspec.emulab.enodeb.eNodeB'>), ('UE', <class 'geni.rspec.emulab.ue.UE'>), ('RFLink', <class 'geni.rspec.emulab.rflink.RFLink'>)]
addRawElement(elem)[source]
addResource(rsrc)[source]
addTour(tour)[source]
hasTour()[source]
toXMLString(pretty_print=False)[source]

Return the current request contents as an XML string that represents an rspec in the GENIv3 format.

writeXML(path)[source]

Write the current request contents as an XML file that represents an rspec in the GENIv3 format.

class geni.rspec.pg.Resource[source]
addNamespace(ns)[source]
class geni.rspec.pg.Service[source]
exception TooManyInterfacesError[source]
exception StitchedLink.UnknownComponentManagerError(cid)[source]
geni.rspec.pg.VM

alias of XenVM

class geni.rspec.pg.VZContainer(name, exclusive=False)[source]
class geni.rspec.pg.XenVM(name, component_id=None, exclusive=False)[source]

Deprecated since version 0.4: Use geni.rspec.igext.XenVM instead.