[NEUTRON-163] MinimumBandwidthRule direction incorrectly defined Created: 30/May/18  Updated: 04/Jun/18  Resolved: 04/Jun/18

Status: Resolved
Project: neutron
Component/s: General
Affects Version/s: None
Fix Version/s: Fluorine

Type: Bug Priority: Medium
Reporter: Josh Hershberg Assignee: Josh Hershberg
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Blocks
is blocked by TSC-115 MinimumBandwidthRule direction incorr... Resolved

 Description   

In neutron-qos.yang minimumbandwidth-rule-attributes has a direction of type constants:direction-minimum-bandwidth-rule. However, that type is a "terminal node" with no inheriting directions. In addition, since direction appears in a few places there is no reason to not use the generic:

identity direction-base

{     description "Base identity for direction"; }

identity direction-ingress

{     description "Ingress direction.";     base direction-base; }

identity direction-egress

{     description "Egress direction.";     base direction-base; }

This change will require coordination with consumers of the existing yang model, e.g., netvirt and networking-odl.

h/t to Vishal Thapar for finding this


Generated at Wed Feb 07 20:25:43 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.