Class: Fog::Ecloud::MockDataClasses::MockNetworkExtensions
- Inherits:
-
Base
- Object
- Hash
- Base
- Fog::Ecloud::MockDataClasses::MockNetworkExtensions
show all
- Defined in:
- lib/fog/ecloud/compute.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
482
483
484
|
# File 'lib/fog/ecloud/compute.rb', line 482
def address
_parent.address
end
|
#broadcast ⇒ Object
478
479
480
|
# File 'lib/fog/ecloud/compute.rb', line 478
def broadcast
_parent.broadcast
end
|
#friendly_name ⇒ Object
498
499
500
|
# File 'lib/fog/ecloud/compute.rb', line 498
def friendly_name
"#{name} (#{type}_#{object_id})"
end
|
#gateway ⇒ Object
474
475
476
|
# File 'lib/fog/ecloud/compute.rb', line 474
def gateway
_parent.gateway
end
|
#name ⇒ Object
470
471
472
|
# File 'lib/fog/ecloud/compute.rb', line 470
def name
_parent.name
end
|
#rnat ⇒ Object
486
487
488
|
# File 'lib/fog/ecloud/compute.rb', line 486
def rnat
_parent.rnat
end
|
#type ⇒ Object
490
491
492
|
# File 'lib/fog/ecloud/compute.rb', line 490
def type
self[:type] || "DMZ"
end
|
#vlan ⇒ Object
494
495
496
|
# File 'lib/fog/ecloud/compute.rb', line 494
def vlan
object_id.to_s
end
|