Class: Fog::Ecloud::MockDataClasses::MockNetworkExtensions
- Inherits:
-
Base
- Object
- Hash
- Base
- Fog::Ecloud::MockDataClasses::MockNetworkExtensions
show all
- Defined in:
- lib/fog/compute/ecloud.rb
Instance Method Summary
collapse
Methods inherited from Base
#_parent, base_url, #base_url, base_url=, #first, #href, #initialize, #inspect, #last
Instance Method Details
#address ⇒ Object
486
487
488
|
# File 'lib/fog/compute/ecloud.rb', line 486
def address
_parent.address
end
|
#broadcast ⇒ Object
482
483
484
|
# File 'lib/fog/compute/ecloud.rb', line 482
def broadcast
_parent.broadcast
end
|
#friendly_name ⇒ Object
502
503
504
|
# File 'lib/fog/compute/ecloud.rb', line 502
def friendly_name
"#{name} (#{type}_#{object_id})"
end
|
#gateway ⇒ Object
478
479
480
|
# File 'lib/fog/compute/ecloud.rb', line 478
def gateway
_parent.gateway
end
|
#name ⇒ Object
474
475
476
|
# File 'lib/fog/compute/ecloud.rb', line 474
def name
_parent.name
end
|
#rnat ⇒ Object
490
491
492
|
# File 'lib/fog/compute/ecloud.rb', line 490
def rnat
_parent.rnat
end
|
#type ⇒ Object
494
495
496
|
# File 'lib/fog/compute/ecloud.rb', line 494
def type
self[:type] || "DMZ"
end
|
#vlan ⇒ Object
498
499
500
|
# File 'lib/fog/compute/ecloud.rb', line 498
def vlan
object_id.to_s
end
|