[OPNFLWPLUG-1020] opendaylight-flow-types.yang is invalid Created: 27/Jun/18  Updated: 27/Jun/18  Resolved: 27/Jun/18

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

Type: Bug Priority: High
Reporter: Robert Varga Assignee: Anil Vishnoi
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

opendaylight-flow-types contains an invalid augmentation of opendaylight-multipart-types.yang, specifically:

 

    augment "/multipart:multipart-request/multipart:multipart-request-body" {
        case multipart-request-flow-stats {
            uses flow;
        }
        case multipart-request-flow-aggregate-stats {
            uses flow;
        }
    }

This ends up introducing duplicate containers/leaves across the cases, which is explicitly forbidden by RFC7950: https://tools.ietf.org/html/rfc7950#section-7.9.2

This needs to be resolved before we can integrate yangtools-2.0.7.


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