module nicira-match { yang-version 1; namespace "urn:opendaylight:openflowjava:nx:match"; prefix "nicira-match"; import openflow-extensible-match {prefix ofoxm;} import openflow-types {prefix oft;} import ietf-yang-types {prefix yang; revision-date "2010-09-24";} import yang-ext {prefix ext; revision-date "2013-07-09";} import ietf-inet-types {prefix inet; revision-date "2010-09-24";} description "Nicira openflow extensions of match."; revision "2014-04-21" { description "Initial revision"; } identity nxm-nx-reg { base ofoxm:match-field; } identity nxm-nx-reg0 { base nxm-nx-reg; } identity nxm-nx-reg1 { base nxm-nx-reg; } identity nxm-nx-reg2 { base nxm-nx-reg; } identity nxm-nx-reg3 { base nxm-nx-reg; } identity nxm-nx-reg4 { base nxm-nx-reg; } identity nxm-nx-reg5 { base nxm-nx-reg; } identity nxm-nx-reg6 { base nxm-nx-reg; } identity nxm-nx-reg7 { base nxm-nx-reg; } identity nxm-nx-tun-id { base ofoxm:match-field; } identity nxm-nx-arp-sha { base ofoxm:match-field; } identity nxm-nx-arp-tha { base ofoxm:match-field; } identity nxm-of-arp-op { base ofoxm:match-field; } identity nxm-of-arp-spa { base ofoxm:match-field; } identity nxm-of-arp-tpa { base ofoxm:match-field; } identity nxm-nx-tun-ipv4-dst { base ofoxm:match-field; } identity nxm-nx-tun-ipv4-src { base ofoxm:match-field; } identity nxm-of-eth-src { base ofoxm:match-field; } identity nxm-of-eth-dst { base ofoxm:match-field; } identity nxm-of-eth-type { base ofoxm:match-field; } identity nxm-nx-nsp { base ofoxm:match-field; } identity nxm-nx-nsi { base ofoxm:match-field; } identity nxm-nx-nshc-1 { base ofoxm:match-field; } identity nxm-nx-nshc-2 { base ofoxm:match-field; } identity nxm-nx-nshc-3 { base ofoxm:match-field; } identity nxm-nx-nshc-4 { base ofoxm:match-field; } identity nxm-of-tcp-src { base ofoxm:match-field; } identity nxm-of-tcp-dst { base ofoxm:match-field; } identity nxm-of-udp-src { base ofoxm:match-field; } identity nxm-of-udp-dst { base ofoxm:match-field; } grouping ofj-nxm-nx-match-reg-grouping { container reg-values { leaf value { type uint32; } } } grouping ofj-nxm-nx-match-tun-id-grouping { container tun-id-values { leaf value { type uint64; } } } grouping ofj-nxm-nx-match-arp-sha-grouping { container arp-sha-values { leaf mac-address { type yang:mac-address; } } } grouping ofj-nxm-nx-match-arp-tha-grouping { container arp-tha-values { leaf mac-address { type yang:mac-address; } } } grouping ofj-nxm-of-match-arp-op-grouping { container arp-op-values { leaf value { type uint16; } } } grouping ofj-nxm-of-match-arp-spa-grouping { container arp-spa-values { leaf value { type uint32; } } } grouping ofj-nxm-of-match-arp-tpa-grouping { container arp-tpa-values { leaf value { type uint32; } } } grouping ofj-nxm-nx-match-tun-ipv4-dst-grouping { container tun-ipv4-dst-values { leaf value { type uint32; } } } grouping ofj-nxm-nx-match-tun-ipv4-src-grouping { container tun-ipv4-src-values { leaf value { type uint32; } } } grouping ofj-nxm-of-match-eth-src-grouping { container eth-src-values { leaf mac-address { type yang:mac-address; } } } grouping ofj-nxm-of-match-eth-dst-grouping { container eth-dst-values { leaf mac-address { type yang:mac-address; } } } grouping ofj-nxm-of-match-eth-type-grouping { container eth-type-values { leaf value { type uint16; } } } grouping ofj-nxm-nx-match-nsp-grouping { container nsp-values { leaf nsp { type uint32; } } } grouping ofj-nxm-nx-match-nsi-grouping { container nsi-values { leaf nsi { type uint8; } } } grouping ofj-nxm-nx-match-nshc-grouping { leaf nshc { type uint32; } } grouping ofj-nxm-nx-match-nshc-1-grouping { container nshc-1-values { uses ofj-nxm-nx-match-nshc-grouping; } } grouping ofj-nxm-nx-match-nshc-2-grouping { container nshc-2-values { uses ofj-nxm-nx-match-nshc-grouping; } } grouping ofj-nxm-nx-match-nshc-3-grouping { container nshc-3-values { uses ofj-nxm-nx-match-nshc-grouping; } } grouping ofj-nxm-nx-match-nshc-4-grouping { container nshc-4-values { uses ofj-nxm-nx-match-nshc-grouping; } } grouping ofj-nxm-of-match-tcp-src-grouping { container tcp-src-values { leaf port { type inet:port-number; } leaf mask { type uint16; } } } grouping ofj-nxm-of-match-tcp-dst-grouping { container tcp-dst-values { leaf port { type inet:port-number; } leaf mask { type uint16; } } } grouping ofj-nxm-of-match-udp-src-grouping { container udp-src-values { leaf port { type inet:port-number; } leaf mask { type uint16; } } } grouping ofj-nxm-of-match-udp-dst-grouping { container udp-dst-values { leaf port { type inet:port-number; } leaf mask { type uint16; } } } augment "/ofoxm:oxm-container/ofoxm:match-entry-value" { ext:augment-identifier "ofj-aug-nx-match"; case reg-case-value { uses ofj-nxm-nx-match-reg-grouping; } case tun-id-case-value { uses ofj-nxm-nx-match-tun-id-grouping; } case arp-sha-case-value { uses ofj-nxm-nx-match-arp-sha-grouping; } case arp-tha-case-value { uses ofj-nxm-nx-match-arp-tha-grouping; } case arp-op-case-value { uses ofj-nxm-of-match-arp-op-grouping; } case arp-spa-case-value { uses ofj-nxm-of-match-arp-spa-grouping; } case arp-tpa-case-value { uses ofj-nxm-of-match-arp-tpa-grouping; } case tun-ipv4-dst-case-value { uses ofj-nxm-nx-match-tun-ipv4-dst-grouping; } case tun-ipv4-src-case-value { uses ofj-nxm-nx-match-tun-ipv4-src-grouping; } case eth-src-case-value { uses ofj-nxm-of-match-eth-src-grouping; } case eth-dst-case-value { uses ofj-nxm-of-match-eth-dst-grouping; } case eth-type-case-value { uses ofj-nxm-of-match-eth-type-grouping; } case nsp-case-value { uses ofj-nxm-nx-match-nsp-grouping; } case nsi-case-value { uses ofj-nxm-nx-match-nsi-grouping; } case nshc-1-case-value { uses ofj-nxm-nx-match-nshc-1-grouping; } case nshc-2-case-value { uses ofj-nxm-nx-match-nshc-2-grouping; } case nshc-3-case-value { uses ofj-nxm-nx-match-nshc-3-grouping; } case nshc-4-case-value { uses ofj-nxm-nx-match-nshc-4-grouping; } case tcp-src-case-value { uses ofj-nxm-of-match-tcp-src-grouping; } case tcp-dst-case-value { uses ofj-nxm-of-match-tcp-dst-grouping; } case udp-src-case-value { uses ofj-nxm-of-match-udp-src-grouping; } case udp-dst-case-value { uses ofj-nxm-of-match-udp-dst-grouping; } } }