X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=model%2Fmodel-flow-base%2Fsrc%2Fmain%2Fyang%2Fopendaylight-port-types.yang;h=fa6e1fcdfd7acded5d2ab949f4d27a123ca5c1a9;hb=8d18002e59e2b7e7fca95e52d2cb4a75d1023117;hp=9c6d3a34bdbca56192336e1bd84ab79fe082d4d7;hpb=2485057011a4af3b505910edfd36030b8f983ff9;p=openflowplugin.git diff --git a/model/model-flow-base/src/main/yang/opendaylight-port-types.yang b/model/model-flow-base/src/main/yang/opendaylight-port-types.yang index 9c6d3a34bd..fa6e1fcdfd 100644 --- a/model/model-flow-base/src/main/yang/opendaylight-port-types.yang +++ b/model/model-flow-base/src/main/yang/opendaylight-port-types.yang @@ -92,6 +92,15 @@ module opendaylight-port-types { } } + grouping common-port-with-mask { + uses common-port; + + leaf mask { + type port-config; + description "Bitmap of OFPPC-* flags to be changed"; + } + } + grouping flow-port-status { leaf reason { type port-reason; @@ -159,12 +168,7 @@ module opendaylight-port-types { type uint32; } - uses common-port; - - leaf mask { - type port-config; - description "Bitmap of OFPPC-* flags to be changed"; - } + uses common-port-with-mask; leaf container-name { type string; @@ -182,7 +186,7 @@ module opendaylight-port-types { } container port-message { - uses common-port; + uses common-port-with-mask; uses ofproto:ofHeader; }