X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fmodel%2Fmodel-flow-base%2Fsrc%2Fmain%2Fyang%2Fflow-types.yang;h=67c6933cc7b3158d5435b2929cfae9bfaa99dad5;hb=a87db38d47967eae159c5be17ab334bb6a4edffc;hp=b5a70ccfe5357a3dec6b91d1ea04aac559a0ec1a;hpb=d8b2ea8f945aa225138d13f8681bd8ae879caf01;p=controller.git diff --git a/opendaylight/md-sal/model/model-flow-base/src/main/yang/flow-types.yang b/opendaylight/md-sal/model/model-flow-base/src/main/yang/flow-types.yang index b5a70ccfe5..67c6933cc7 100644 --- a/opendaylight/md-sal/model/model-flow-base/src/main/yang/flow-types.yang +++ b/opendaylight/md-sal/model/model-flow-base/src/main/yang/flow-types.yang @@ -55,6 +55,10 @@ module opendaylight-flow-types { leaf meter { type string; } + + leaf meter-id { + type uint32; + } } } } @@ -68,6 +72,15 @@ module opendaylight-flow-types { bit SEND_FLOW_REM; } } + + typedef removed_reason_flags { + type bits { + bit IDLE_TIMEOUT; + bit HARD_TIMEOUT; + bit DELETE; + bit GROUP_DELETE; + } + } grouping generic_flow_attributes { leaf priority { @@ -181,6 +194,10 @@ module opendaylight-flow-types { grouping flow-mod-removed { uses generic_flow_attributes; + leaf removed_reason { + type removed_reason_flags; + } + leaf duration_nsec { type uint32; } @@ -188,22 +205,15 @@ module opendaylight-flow-types { leaf duration_sec { type uint32; } - - leaf idle_timeout { - type uint16; - } - - leaf hard_timeout { - type uint16; - } - + leaf packet_count { type uint64; } - + leaf byte_count { type uint64; } + container match { uses match:match; }