[RFE] ports do not inherit their associated network's policy
Bug #1851362 reported by
Noy fridman
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Low
|
Rodolfo Alonso |
Bug Description
Description:
Once attaching a port to a network that has QoS policy,
the policy is not inherited to the port.
Network policy should be used for all ports which don't have own policy
associated.
Steps to Reproduce:
1. Create new internal network
2. Create new QoS policy
3. Attach the policy to the network
4. create a new port
5. Attach the port to the network
Actual results:
The port has no policy associated
qos_policy_id is: None
Expected results:
The post should has the network associated QoS policy
Version: ROCKY
summary: |
- [OSP14-Rocky -QoS] ports do not inherit their associated network's - policy + [Rocky -QoS] ports do not inherit their associated network's policy |
description: | updated |
tags: | added: qos |
tags: | added: rfe |
Changed in neutron: | |
importance: | Undecided → Low |
tags: |
added: rfe-triaged removed: rfe |
summary: |
- [Rocky -QoS] ports do not inherit their associated network's policy + [RFE] ports do not inherit their associated network's policy |
To post a comment you must log in.
Hello Noy:
The "port" field "qos_policy_id" refers only to the specific QoS policy assigned to this object. When the object is created/modified, the QoS core extension do NOT populated in the port dictionary the network QoS policy and thus this information is not passed to the SDK and the OSclient. That's why you can't see the port "network_ qos_policy_ id".
But this information is given to the agents (network backends: OVS, LB, etc) via RPC [1]. The port "qos_policy_id" and the "network_ qos_policy_ id" parameters are used to apply the correct policy for each port.
Since [2] and [3] we have the "network_ qos_policy_ id" in the DB object and the OVO. Now, we need to: _make_port_ dict()" function.
- Add this information in the "port" dictionary when returning the "Ml2Plugin.
- Add this new parameter to the port definition in OS SDK.
- Add this new parameter (as read only) in the "show" command for port in OSclient.
Regards.
[1] https:/ /github. com/openstack/ neutron/ blob/master/ neutron/ agent/rpc. py#L362 /review. opendev. org/#/c/ 667981/ /review. opendev. org/#/c/ 667998/
[2] https:/
[3] https:/