Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore NameLoad Assign NameStore Str Assign NameStore Dict Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword AttributeLoad NameLoad attr For NameStore NameLoad body If CompareIn Str AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Str If Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr orelse Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore ListComp Dict Str NameLoad comprehension NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Dict Str Str Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad If CompareIsNot NameLoad NameLoad body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Return ListLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults ListLoad NameLoad NameLoad body For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Dict Str BinOpMod Str NameLoad If UnaryOpNot NameLoad body Continue Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore ListLoad Str Str Str Str Assign NameStore NameLoad For NameStore Call AttributeLoad NameLoad attr Str ListLoad body If CompareIn Call AttributeLoad NameLoad attr Str NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str If UnaryOpNot NameLoad body Continue Assign NameStore Dict Str Str NameLoad NameLoad For NameStore Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad For NameStore Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad For NameStore Call AttributeLoad NameLoad attr Str ListLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad If NameLoad body Pass Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body For NameStore Call AttributeLoad NameLoad attr body If UnaryOpNot SubscriptLoad NameLoad Index Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str ImportFrom alias If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore NameLoad body If BoolOpOr UnaryOpNot Call AttributeLoad NameLoad attr Str UnaryOpNot SubscriptLoad NameLoad Index Str body Assign SubscriptStore NameLoad Index Str Dict Str Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body If CompareIn AttributeLoad NameLoad attr ListLoad Str Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore Str Assign NameStore Str Assign NameStore Str decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore Str Assign NameStore Str Assign NameStore Str decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore Str Assign NameStore Str Assign NameStore Str decorator_list If CompareEq NameLoad Str body ImportFrom alias ImportFrom alias Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Print Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr
N/A copy deepcopy StringIO StringIO vt_manager.communication.sfa.util.xrn Xrn vt_manager.communication.sfa.rspecs.version RSpecVersion vt_manager.communication.sfa.rspecs.elements.versions.ocfvtNode OcfVtNode OcfVt N/A RSpecVersion N/A N/A type OcfVt N/A content_type ad N/A version 1 N/A schema /opt/ofelia/vt_manager/src/python/vt_manager/communication/sfa/tests/vm_schema.xsd N/A namespace None N/A content * N/A extensions N/A N/A namespaces None get_networks N/A N/A self N/A N/A N/A network_names N/A set N/A nodes N/A N/A N/A self xml xpath //default:node[@component_manager_id] | //node[@component_manager_id] namespaces N/A self namespaces N/A node nodes N/A N/A N/A component_manager_id N/A node attrib N/A N/A network_urn N/A N/A node get component_manager_id N/A N/A N/A network_urn startswith urn: N/A N/A network_hrn N/A N/A N/A Xrn network_urn get_hrn N/A N/A network_hrn network_urn N/A N/A N/A network_names add network_hrn N/A network_names N/A list network_names N/A networks N/A N/A name x N/A x network_names N/A networks N/A get_nodes N/A N/A self filter N/A None N/A N/A N/A N/A PGv2Node get_nodes N/A self xml filter N/A get_nodes_with_slivers N/A N/A self N/A N/A N/A N/A N/A OcfVtNode get_nodes_with_slivers N/A self xml N/A add_nodes N/A N/A self nodes check_for_dupes N/A False N/A N/A N/A N/A OcfVtNode add_nodes N/A self xml nodes N/A merge_node N/A N/A self source_node_tag N/A N/A N/A N/A N/A N/A N/A self xml root append N/A deepcopy source_node_tag N/A get_sliver_attributes N/A N/A self node N/A N/A N/A attribs N/A dict N/A N/A N/A attribs update N/A slivers component_id component_name N/A node N/A slivers N/A node N/A component_id N/A node N/A component_name N/A attribs N/A get_slice_attributes N/A N/A self network N/A None N/A N/A slice_attributes N/A list N/A nodes_with_slivers N/A N/A self get_nodes_with_slivers N/A node nodes_with_slivers N/A N/A sliver_attributes N/A N/A self get_sliver_attributes node N/A N/A N/A slice_attributes append sliver_attributes N/A slice_attributes N/A attributes_list N/A N/A self elem N/A N/A N/A opts N/A N/A N/A elem None N/A N/A e elem N/A N/A N/A N/A opts append N/A N/A e tag N/A N/A N/A str N/A e text strip N/A e attrib N/A opts N/A get_default_sliver_attributes N/A N/A self network N/A None N/A N/A N/A N/A add_default_sliver_attribute N/A N/A self name value network N/A None N/A N/A N/A add_slivers N/A N/A self hostnames attributes sliver_urn append N/A N/A None False N/A N/A hostname hostnames N/A N/A node_elems N/A N/A self get_nodes N/A component_id N/A *%s* hostname N/A N/A node_elems N/A N/A N/A node_elem N/A node_elems N/A 0 N/A valid_sliver_types N/A emulab-openvz raw-pc plab-vserver plab-vnode N/A requested_sliver_type None N/A sliver_type N/A N/A node_elem get slivers N/A N/A N/A N/A N/A N/A sliver_type get type valid_sliver_types N/A N/A requested_sliver_type N/A sliver_type N/A type N/A N/A requested_sliver_type N/A N/A N/A sliver N/A type pl_tags requested_sliver_type attributes N/A available_elem N/A N/A node_elem xpath ./default:available | ./available N/A N/A N/A N/A node_elem remove available_elem N/A interface_elem N/A N/A node_elem xpath ./default:interface | ./interface N/A N/A N/A N/A node_elem remove interface_elem N/A sliver_type N/A N/A node_elem get slivers N/A N/A N/A N/A N/A N/A node_elem element remove N/A sliver_type element N/A N/A N/A N/A node_elem element set client_id hostname N/A sliver_urn N/A N/A N/A N/A N/A PGv2SliverType add_slivers N/A node_elem element sliver N/A N/A append N/A N/A node_elem N/A N/A self get_nodes N/A N/A N/A N/A node_elem N/A client_id N/A N/A parent N/A N/A N/A node_elem element getparent N/A N/A N/A parent remove N/A node_elem element N/A remove_slivers N/A N/A self slivers network no_dupes N/A None False N/A N/A N/A N/A PGv2Node remove_slivers N/A self xml slivers N/A get_links N/A N/A self network N/A None N/A N/A N/A N/A PGv2Link get_links N/A self xml N/A get_link_requests N/A N/A self N/A N/A N/A N/A N/A PGv2Link get_link_requests N/A self xml N/A add_links N/A N/A self links N/A N/A N/A N/A N/A PGv2Link add_links N/A N/A self xml root links N/A add_link_requests N/A N/A self link_tuples append N/A False N/A N/A N/A N/A PGv2Link add_link_requests N/A N/A self xml root link_tuples append N/A get_leases N/A N/A self filter N/A None N/A N/A N/A add_leases N/A N/A self leases network no_dupes N/A None False N/A N/A N/A merge N/A N/A self in_rspec N/A N/A N/A 
        Merge contents for specified rspec with current rspec
         vt_manager.communication.sfa.rspecs.rspec RSpec N/A N/A isinstance in_rspec basestring N/A N/A in_rspec N/A RSpec in_rspec N/A nodes N/A N/A N/A in_rspec version get_nodes N/A node nodes N/A N/A N/A N/A N/A N/A node has_key sliver N/A N/A node N/A sliver N/A N/A N/A node N/A sliver N/A name plab-vserver N/A N/A N/A self add_nodes nodes N/A N/A N/A self add_links N/A N/A N/A in_rspec version get_links N/A cleanup N/A N/A self N/A N/A N/A N/A N/A self type N/A request manifest N/A N/A N/A N/A N/A self xml remove_element //default:available | //available N/A N/A OcfVtAd N/A OcfVt N/A N/A enabled True N/A content_type ad N/A schema /opt/ofelia/vt_manager/src/python/vt_manager/communication/sfa/tests/vm_schema.xsd N/A template <rspec type="advertisement" xmlns="http://www.protogeni.net/resources/rspec/2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.protogeni.net/resources/rspec/2 http://www.protogeni.net/resources/rspec/2/ad.xsd /opt/ofelia/vt_manager/src/python/vt_manager/communication/sfa/tests/vm_schema.xsd"/> N/A OcfVtRequest N/A OcfVt N/A N/A enabled True N/A content_type request N/A schema /opt/ofelia/vt_manager/src/python/vt_manager/communication/sfa/tests/vm_schema.xsd N/A template <rspec type="advertisement" xmlns="http://www.protogeni.net/resources/rspec/2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.protogeni.net/resources/rspec/2 http://www.protogeni.net/resources/rspec/2/ad.xsd /opt/ofelia/vt_manager/src/python/vt_manager/communication/sfa/tests/vm_schema.xsd"/> N/A OcfVtManifest N/A OcfVt N/A N/A enabled True N/A content_type manifest N/A schema http://www.protogeni.net/resources/rspec/2/manifest.xsd N/A template <rspec type="manifest" xmlns="http://www.protogeni.net/resources/rspec/2" xmlns:plos="http://www.planet-lab.org/resources/sfa/ext/plos/1" xmlns:flack="http://www.protogeni.net/resources/rspec/ext/flack/1" xmlns:planetlab="http://www.planet-lab.org/resources/sfa/ext/planetlab/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.protogeni.net/resources/rspec/2 http://www.protogeni.net/resources/rspec/2/manifest.xsd http://www.planet-lab.org/resources/sfa/ext/planetlab/1 http://www.planet-lab.org/resources/sfa/ext/planetlab/1/planetlab.xsd http://www.planet-lab.org/resources/sfa/ext/plos/1 http://www.planet-lab.org/resources/sfa/ext/plos/1/plos.xsd"/> N/A N/A N/A __name__ __main__ N/A vt_manager.communication.sfa.rspecs.rspec RSpec vt_manager.communication.sfa.rspecs.rspec_elements * N/A r N/A RSpec /tmp/ocf.rspec N/A N/A N/A r load_rspec_elements N/A OcfVt elements N/A N/A N/A r get N/A RSpecElements NODE