Class: VCloudSdk::Xml::GatewayInterface
- Inherits:
-
Wrapper
- Object
- Wrapper
- VCloudSdk::Xml::GatewayInterface
show all
- Defined in:
- lib/ruby_vcloud_sdk/xml/wrapper_classes/gateway_interface.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
#interface_type ⇒ Object
4
5
6
7
8
|
# File 'lib/ruby_vcloud_sdk/xml/wrapper_classes/gateway_interface.rb', line 4
def interface_type
get_nodes(:InterfaceType, nil, true)
.first
.content
end
|
#ip_ranges ⇒ Object
15
16
17
18
19
|
# File 'lib/ruby_vcloud_sdk/xml/wrapper_classes/gateway_interface.rb', line 15
def ip_ranges
subnet_participation
.get_nodes(:IpRanges, nil, true)
.first
end
|
#subnet_participation ⇒ Object
10
11
12
13
|
# File 'lib/ruby_vcloud_sdk/xml/wrapper_classes/gateway_interface.rb', line 10
def subnet_participation
get_nodes(:SubnetParticipation, nil, true)
.first
end
|