[OPNFLWPLUG-330] opendaylight-action-types.yang: ipv[46]-address are actually an ipv[46]-prefix Created: 03/Dec/14  Updated: 27/Sep/21  Resolved: 12/Jan/16

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

Type: Bug
Reporter: Flavio Fernandes Assignee: Anil Vishnoi
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issue Links:
Blocks
is blocked by OVSDB-132 ArpResponderService.programStaticArpE... Resolved
External issue ID: 2465

 Description   

in file: .../controller.git/opendaylight/md-sal/model/model-flow-base/src/main/yang/opendaylight-action-types.yang

it is a bit confusing that the field referred as ipv4-address and ipv6-address
are actually of types ipv4-prefix and ipv6-prefix, respectively.

grouping address {
choice address {
case ipv4 {
leaf ipv4-address

{ type inet:ipv4-prefix; }

}
case ipv6 {
leaf ipv6-address

{ type inet:ipv6-prefix; }

}
}
}



 Comments   
Comment by Divya Sree [ 02/Apr/15 ]

Here ipv[46]-prefix is made typedef contained in the module ietf-inet-types from ietf-inet-types.yang with prefix "inet".So when we use ipv[46]-prefix in opendaylight-action-types.yang we just import the module ietf-inet-types and add the prefix "inet" to ipv[46]-prefix.
Path: /controller.git/opendaylight/md-sal/sal-rest-connector/src/test/resources/modules/ietf-inet-types.yang

Comment by Divya Sree [ 06/Apr/15 ]

Hi Flavio,

Could you please consider our comments.

Please let us know if you need more details.

Comment by Vratko Polak [ 12/Jan/16 ]

WONTFIX? Not even in Boron?

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