Class: VCloudSdk::Xml::NetworkConfig
- Inherits:
-
Wrapper
- Object
- Wrapper
- VCloudSdk::Xml::NetworkConfig
show all
- Defined in:
- lib/ruby_vcloud_sdk/xml/wrapper_classes/network_config.rb
Instance Method Summary
collapse
Methods inherited from Wrapper
#==, #[], #[]=, #add_child, #attribute, #content, #content=, #create_child, #create_qualified_name, #create_xpath_query, #doc_namespaces, #edit_link, #get_nodes, #href, #href=, #href_id, #initialize, #name, #name=, #power_off_link, #power_on_link, #remove_link, #running_tasks, #to_s, #type, #type=, #undeploy_link, #urn, #xpath
Instance Method Details
#fence_mode ⇒ Object
17
18
19
|
# File 'lib/ruby_vcloud_sdk/xml/wrapper_classes/network_config.rb', line 17
def fence_mode
get_nodes("FenceMode").first.content
end
|
#fence_mode=(value) ⇒ Object
21
22
23
|
# File 'lib/ruby_vcloud_sdk/xml/wrapper_classes/network_config.rb', line 21
def fence_mode=(value)
get_nodes("FenceMode").first.content = value
end
|
#ip_scope ⇒ Object
5
6
7
|
# File 'lib/ruby_vcloud_sdk/xml/wrapper_classes/network_config.rb', line 5
def ip_scope
get_nodes("IpScope").first
end
|
#network_name ⇒ Object
9
10
11
|
# File 'lib/ruby_vcloud_sdk/xml/wrapper_classes/network_config.rb', line 9
def network_name
@root["networkName"]
end
|
#parent_network ⇒ Object
13
14
15
|
# File 'lib/ruby_vcloud_sdk/xml/wrapper_classes/network_config.rb', line 13
def parent_network
get_nodes("ParentNetwork").first
end
|