[OPNFLWPLUG-9] Model of port-state cannot express full range of values Created: 26/Dec/13  Updated: 27/Sep/21  Resolved: 16/Mar/16

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

Type: Improvement
Reporter: Ed Warnicke Assignee: Venkata Siva Vijayendra Bhamidipati
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Mac OS
Platform: PC



 Description   

The model for port-state in port-types.yang was a typdef for an enumeration
of linkDown, blocking, live. Unfortunately, this only allows you to express one of these values, and you need to be able to express all of them.

Additionally, it is completely non-extensible.



 Comments   
Comment by Rajani Srivastava [ 07/Feb/14 ]

Hi Ed,

The code in opendaylight-port-types.yang is now:

grouping port-state {
leaf link-down

{ type boolean; }
leaf blocked { type boolean; }


leaf live

{ type boolean; }

}

container state

{ uses port-state; description "Description of state of port"; }

which will express all three values.
Is the bug resolved ?

Comment by Jozef Bacigal [ 16/Mar/16 ]

No response long time, if persist should be opened as new bug.

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