X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fsal%2Fyang-prototype%2Fsal%2Fmodel%2Fmodel-flow-base%2Fsrc%2Fmain%2Fyang%2Fflow-types.yang;fp=opendaylight%2Fsal%2Fyang-prototype%2Fsal%2Fmodel%2Fmodel-flow-base%2Fsrc%2Fmain%2Fyang%2Fflow-types.yang;h=0000000000000000000000000000000000000000;hb=fe024ad74b8656c3ee61b9ddff6009a779aa2189;hp=cd364b5402425fe63cc7c35bb78fed79b6a519ac;hpb=437c1bdb967072319e81774bdcf570b2fb0f7b89;p=controller.git diff --git a/opendaylight/sal/yang-prototype/sal/model/model-flow-base/src/main/yang/flow-types.yang b/opendaylight/sal/yang-prototype/sal/model/model-flow-base/src/main/yang/flow-types.yang deleted file mode 100644 index cd364b5402..0000000000 --- a/opendaylight/sal/yang-prototype/sal/model/model-flow-base/src/main/yang/flow-types.yang +++ /dev/null @@ -1,128 +0,0 @@ -module opendaylight-flow-types { - namespace "urn:opendaylight:flow:types"; - prefix flow; - - import ietf-inet-types {prefix inet;} - import opendaylight-match-types {prefix match;} - import ietf-yang-types {prefix yang;} - - - revision "2013-08-19" { - description "Initial revision of flow service"; - } - - grouping action { - choice action { - case output-action { - leaf-list output-node-connector { - type inet:uri; - } - } - - case controller-action { - leaf max-length { - type uint16 { - range "0..65294"; - } - } - } - - case set-queue-action { - leaf queue { - type string; // TODO: define queues - } - } - - case pop-mpls-action { - leaf ethernet-type { - type uint16; // TODO: define ethertype type - } - } - - case set-mpls-ttl-action { - leaf mpls-ttl { - type uint8; - } - } - - case set-nw-ttl-action { - leaf nw-ttl { - type uint8; - } - } - - case push-pbb-action { - - } - - case push-mpls-action { - - } - - case push-vlan-action { - - } - } - } - - grouping flow { - container match { - uses match:match; - } - list action { - key "order"; - leaf order { - type int32; - } - uses action; - } - leaf priority { - type uint16; - } - - leaf idle-timeout { - type uint16; - } - - leaf hard-timeout { - type uint16; - } - - leaf cookie { - type uint64; - } - } - - grouping flow-statistics { - leaf packet-count { - type yang:counter64; - } - - leaf byte-count { - type yang:counter64; - } - - container duration { - leaf second { - type yang:counter64; - } - leaf nanosecond { - type yang:counter64; - } - } - } - - grouping flow-table-statistics { - leaf active { - type yang:counter64; - } - - leaf lookup { - type yang:counter64; - } - - leaf matched { - type yang:counter64; - } - } -} \ No newline at end of file