geni.rspec.vtsmanifest¶
-
class
Manifest(path=None, xml=None)[source]¶ Wrapper object for GENI XML manifest rspec, providing a pythonic API to the contained data
-
containers¶ Iterator over all allocated containers as
ManifestContainerobjects.
-
datapaths¶ Iterator over all allocated datapaths as
ManifestDatapathobjects.
-
findPort(client_id)[source]¶ Get the datapath port object representing the given client_id.
Parameters: client_id (str) – client_id of the port you want to find Returns: GenericPortor None
-
findTarget(client_id)[source]¶ Get the container or datapath representing the given client_id in the manifest.
Parameters: client_id (str) – Requested client ID of the object you want to find Returns: ManifestDatapath,ManifestContainer, or None
-
functions¶ Iterator over all allocated functions as
ManifestFunctionobjects.
-
local_circuits¶ Iterator for allocated circuit names on the local PG circuit plane (as strings).
-
pg_circuits¶ Iterator for allocated circuit names on the local PG circuit plane (as strings).
-
ports¶ Iterator for all datapath and container ports as subclasses of
GenericPortobjects.
-
text¶ String representation of original XML content, with added whitespace for easier reading
-
write(path)[source]¶ Deprecated since version 0.4: Use
geni.rspec.vtsmanifest.Manifest.writeXML()instead.
-