'Test that change of qos policy id on given port refreshes all its
rules.'

def test_port_qos_update_policy_id(self):

    port_dict = self._create_port_with_qos()
    port_dict['qos_policy_id'] = TEST_POLICY_ID2
    self.agent.port_update(None, port=port_dict)
    self.wait_until_bandwidth_limit_rule_applied(port_dict, self.test_bw_limit_rule_2)
