lib/yao/resources/network.rb in yao-0.7.0 vs lib/yao/resources/network.rb in yao-0.8.0
- old
+ new
@@ -1,7 +1,9 @@
module Yao::Resources
class Network < Base
- friendly_attributes :name, :status, :shared, :tenant_id, :subnets, :admin_state_up
+ include TenantAssociationable
+
+ friendly_attributes :name, :status, :shared, :subnets, :admin_state_up
map_attribute_to_attribute "provider:physical_network" => :physical_network
map_attribute_to_attribute "provider:network_type" => :type
map_attribute_to_attribute "provider:segmentation_id" => :segmentation_id
alias shared? shared