lib/yao/resources/router.rb in yao-0.7.0 vs lib/yao/resources/router.rb in yao-0.8.0
- old
+ new
@@ -1,7 +1,9 @@
module Yao::Resources
class Router < Base
- friendly_attributes :tenant_id, :project_id, :name, :description, :admin_state_up, :status, :external_gateway_info,
+ include TenantAssociationable
+
+ friendly_attributes :name, :description, :admin_state_up, :status, :external_gateway_info,
:network_id, :enable_snat, :external_fixed_ips, :routes, :destination, :nexthop, :distributed,
:ha, :availability_zone_hints, :availability_zones
self.service = 'network'
self.resource_name = 'router'