File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -89,6 +89,8 @@ class Port(resource.Resource):
8989 #: The ID of the project who owns the network. Only administrative
9090 #: users can specify a project ID other than their own.
9191 project_id = resource .prop ('tenant_id' )
92+ #: The ID of the QoS policy attached to the port.
93+ qos_policy_id = resource .prop ('qos_policy_id' )
9294 #: The IDs of any attached security groups.
9395 #: *Type: list of strs of the security group IDs*
9496 security_group_ids = resource .prop ('security_groups' , type = list )
Original file line number Diff line number Diff line change 3838 'dns_assignment' : [{'19' : 19 }],
3939 'dns_name' : '20' ,
4040 'description' : '21' ,
41+ 'qos_policy_id' : '22' ,
4142 'created_at' : '2016-03-09T12:14:57.233772' ,
4243 'updated_at' : '2016-07-09T12:14:57.233772' ,
4344}
@@ -83,5 +84,6 @@ def test_make_it(self):
8384 self .assertEqual (EXAMPLE ['dns_assignment' ], sot .dns_assignment )
8485 self .assertEqual (EXAMPLE ['dns_name' ], sot .dns_name )
8586 self .assertEqual (EXAMPLE ['description' ], sot .description )
87+ self .assertEqual (EXAMPLE ['qos_policy_id' ], sot .qos_policy_id )
8688 self .assertEqual (EXAMPLE ['created_at' ], sot .created_at )
8789 self .assertEqual (EXAMPLE ['updated_at' ], sot .updated_at )
You can’t perform that action at this time.
0 commit comments