geni.rspec.igext¶
-
class
AddressPool
(name, count=1, type='any', site_id=None)[source]¶ A pool of public dynamic IP addresses belonging to a slice.
-
name
¶
-
-
class
DockerContainer
(client_id, component_id=None, exclusive=False)[source]¶ Docker-based container resource
Parameters: - client_id (str) – Your name for this container. 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 container to
- exclusive (Optional[bool]) – Request this container 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
-
docker_ptype
¶ str – Physical node type on which to instantiate the container. Types are AM-specific.
-
docker_extimage
¶ str – An external Docker image (repo:tag) to load on the container.
-
docker_dockerfile
¶ str – A URL that points to a Dockerfile from which an image for this node will be created.
-
docker_tbaugmentation
¶ str – The requested testbed augmentation level; may be either ‘full’, ‘buildenv’, ‘core’, ‘basic’, ‘none’. To augment a Docker image is to take the image and install some or all of the Emulab clientside and dependencies, and other generally useful networking packages, so that it works seamlessly in testbeds based on Emulab.
-
docker_tbaugmentation_update
¶ bool – If the image has already been augmented, should we update it or not.
-
docker_ssh_style
¶ str – Specify what happens when you ssh to your node; may be ‘direct’ or ‘exec’. If your container is augmented > basic, and you don’t specify this, it defaults to ‘direct’. If your container is not augmented to that level and you don’t specify this, it defaults to ‘exec’. ‘direct’ means that the container is running an sshd inside, and an incoming ssh connection will be handled by the container. ‘exec’ means that when you connection, sshd will exec a shell inside your container. You can change that shell by specifying the ‘docker_exec_shell’ value.
-
docker_exec_shell
¶ str – The shell to run if your ‘docker_ssh_style’ is ‘direct’; otherwise ignored.
-
docker_entrypoint
¶ str – the Docker entrypoint you want the container to run at boot (e.g., a replacement for the ENTRYPOINT specified in the image, if any). If your image is not augmented, this value is passed directly to Docker, and replaces the image’s ENTRYPOINT. If your image is augmented, a combination of entrypoint/cmd will be run as a service in the container; we emulate Docker entrypoint/cmd functionality, but your entrypoint/cmd will not be run as PID 1, etc.
-
docker_cmd
¶ str – the Docker command you want the container to run at boot (e.g., a replacement for the CMD specified in the image, if any). If your image is not augmented, this value is passed directly to Docker (and if the image the container is running has an entrypoint, this value will be combined with the entrypoint; else, it will be run as a service in the container). If your image is augmented, we emulate Docker entrypoint/cmd functionality, but your entrypoint/cmd will not be run as PID 1, etc.
-
docker_env
¶ str – either a newline-separated list of variable assignments, or one or more variable assignments on a single line. If the former, we do not support escaped newlines, unlike the Docker ENV instruction.
-
docker_privileged
¶ bool – if True, this container should be privileged; defaults to False (unprivileged).
-
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
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
Tour
[source]¶ -
-
MARKDOWN
= 'markdown'¶
-
SPLIT_REGEX
= <_sre.SRE_Pattern object>¶
-
class
Step
(target, description, steptype=None, description_type='markdown')[source]¶ -
MARKDOWN
= 'markdown'¶
-
TEXT
= 'text'¶
-
-
Tour.
TEXT
= 'text'¶
-
-
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.