示例#1
0
 def attach_port(self, port_id):
     qos_db_api.create_policy_port_binding(self._context,
                                           policy_id=self.id,
                                           port_id=port_id)
示例#2
0
 def attach_port(self, port_id):
     qos_db_api.create_policy_port_binding(self._context, policy_id=self.id, port_id=port_id)