geni.rspec.vts

exception BadImageTypeError(rtype)[source]
class Container(image, name)[source]
EXTENSIONS = [('Mount', <class 'geni.rspec.vts.Mount'>), ('HgMount', <class 'geni.rspec.vts.HgMount'>), ('SecureHgMount', <class 'geni.rspec.vts.SecureHgMount'>), ('DropboxMount', <class 'geni.rspec.vts.DropboxMount'>)]
addIPRoute(network, gateway)[source]
attachPort(port)[source]
connectCrossSliver(other_dp)[source]
class ContainerPort(target, vlan=None, delay_info=None, loss_info=None)[source]
addIPv4Address(value)[source]
class Datapath(image, client_id)[source]
attachPort(port)[source]
connectCrossSliver(other_dp)[source]
property name
class DatapathImage(name)[source]
class DelayInfo(time=None, jitter=None, correlation=None, distribution=None)[source]
class DropboxMount(name, mount_path)[source]
class GRECircuit(circuit_plane, endpoint)[source]
class HgMount(name, source, mount_path, branch='default')[source]

Clone a public mercurial repo on a host

Parameters:
  • name (str) – a reference name given on the mounting AM, must be unique within a sliver

  • source (str) – the URL to the source of repository

  • mount_path (str) – the path where the repository would be mounted in the host filesystem

  • branch (str) – the branch of the repository to be cloned on host (if any)

exception IllegalModeForParamError(param)[source]
class Image(name)[source]
setImageAttribute(name, val)[source]
class InternalCircuit(target, vlan=None, delay_info=None, loss_info=None)[source]
class L2SSLVPNClient(client_id)[source]
LocalCircuit

alias of PGCircuit

class LossInfo(percent)[source]
class MirrorPort(port)[source]
class Mount(type, name, mount_path)[source]
class Namespaces[source]
SDN = http://geni.bssoftworks.com/rspec/ext/sdn/request/1
VTS = http://geni.bssoftworks.com/rspec/ext/vts/request/1
class NetFlow(collector_ip)[source]
class OVSImage(name)[source]
property netflow
setMirror(port)[source]
property sflow
class OVSL2Image[source]
class OVSL2STP[source]
RSTP = 2
STP = 1
property address
property ageing_time
property forward_delay
property hello_time
property max_age
property mode
property priority
property system_id
property type
property xmit_hold_count
class OVSOpenFlowImage(controller, ofver='1.0', dpid=None)[source]
class PGCircuit(name=None, delay_info=None)[source]
class Port(name=None)[source]
class ReorderInfo(percent, correlation, gap=None)[source]
class Request[source]
EXTENSIONS = [('SSLVPNFunction', <class 'geni.rspec.vts.SSLVPNFunction'>), ('L2SSLVPNServer', <class 'geni.rspec.vts.SSLVPNFunction'>), ('L2SSLVPNClient', <class 'geni.rspec.vts.L2SSLVPNClient'>), ('Datapath', <class 'geni.rspec.vts.Datapath'>), ('Container', <class 'geni.rspec.vts.Container'>)]
addResource(rsrc)[source]
property resources
toXMLString(pretty_print=False, ucode=False)[source]
writeXML(path)[source]
class SFlow(collector_ip)[source]
class SSLVPNFunction(client_id)[source]
class SecureHgMount(getversion_output, name, source, mount_path, branch='default')[source]
rebind(getversion_output)[source]
class SimpleDHCPImage(subnet=None)[source]
exception UnknownSTPModeError(val)[source]
class VFCircuit(target)[source]
connectInternalCircuit(dp1, dp2, delay_info=None, loss_info=None)[source]