The vmware_nsx.services.qos.common.utils Module

vmware_nsx.services.qos.common.utils.get_network_policy_id(context, net_id)
vmware_nsx.services.qos.common.utils.get_port_policy_id(context, port_id)
vmware_nsx.services.qos.common.utils.set_qos_policy_on_new_net(context, net_data, created_net)

Update the network with the assigned or default QoS policy

Update the network-qos binding table, and the new network structure

vmware_nsx.services.qos.common.utils.update_network_policy_binding(context, net_id, new_policy_id)
vmware_nsx.services.qos.common.utils.update_port_policy_binding(context, port_id, new_policy_id)