X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fmodel%2Fmodel-flow-base%2Fsrc%2Fmain%2Fyang%2Fopendaylight-action-types.yang;h=041fc576a112582c5804ec126ddd2067dda69895;hb=64b94e7c2026f0e2b3fc74094db94f854f47ba90;hp=81303d68672464c6a203f0ea0c56714565499678;hpb=9e85339874f4a57af8cf6d0b3a60e144596e32e5;p=controller.git diff --git a/opendaylight/md-sal/model/model-flow-base/src/main/yang/opendaylight-action-types.yang b/opendaylight/md-sal/model/model-flow-base/src/main/yang/opendaylight-action-types.yang index 81303d6867..041fc576a1 100644 --- a/opendaylight/md-sal/model/model-flow-base/src/main/yang/opendaylight-action-types.yang +++ b/opendaylight/md-sal/model/model-flow-base/src/main/yang/opendaylight-action-types.yang @@ -30,12 +30,20 @@ module opendaylight-action-types { } } + container action-types { + uses action-list; + } + + grouping ordered { + leaf order { + type int32; + } + } + grouping action-list { list action { key "order"; - leaf order { - type int32; - } + uses ordered; uses action; } } @@ -49,9 +57,7 @@ module opendaylight-action-types { } leaf max-length { - type uint16 { - range "0..65294"; - } + type uint16; } } } @@ -59,9 +65,7 @@ module opendaylight-action-types { case controller-action-case { container controller-action { leaf max-length { - type uint16 { - range "0..65294"; - } + type uint16; } } } @@ -332,7 +336,11 @@ module opendaylight-action-types { } } } - + + case strip-vlan-action-case { + container strip-vlan-action { + } + } case sw-path-action-case { container sw-path-action { @@ -340,4 +348,4 @@ module opendaylight-action-types { } } } -} \ No newline at end of file +}