X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=openflow-protocol-api%2Fsrc%2Fmain%2Fyang%2Fopenflow-types.yang;h=2c8e8ae6b7d5a1ef64a8f0f1fbf635320e696cfb;hb=537927d0952c74dd362ede53fbbed7db8d53fc7b;hp=3d09eaa1ab074d5ebe0d5d2242d2a2fd4fe20c62;hpb=608331f22077157e3d006e336313ed6323a91e56;p=openflowjava.git diff --git a/openflow-protocol-api/src/main/yang/openflow-types.yang b/openflow-protocol-api/src/main/yang/openflow-types.yang index 3d09eaa1..2c8e8ae6 100644 --- a/openflow-protocol-api/src/main/yang/openflow-types.yang +++ b/openflow-protocol-api/src/main/yang/openflow-types.yang @@ -1791,4 +1791,54 @@ module openflow-types { } } + typedef flow-wildcards-v10 { + /* ofp_flow_wildcards */ + type bits { + bit IN_PORT { + position 0; + /* Switch input port. */ + } + bit DL_VLAN { + position 1; + /* Switch input port. */ + } + bit DL_SRC { + position 2; + /* Switch input port. */ + } + bit DL_DST { + position 3; + /* Switch input port. */ + } + bit DL_TYPE { + position 4; + /* Switch input port. */ + } + bit NW_PROTO { + position 5; + /* Switch input port. */ + } + bit TP_SRC { + position 6; + /* Switch input port. */ + } + bit TP_DST { + position 7; + /* Switch input port. */ + } + bit DL_VLAN_PCP { + position 20; + /* Switch input port. */ + } + bit NW_TOS { + position 21; + /* Switch input port. */ + } + bit ALL { + position 22; + /* Switch input port. */ + } + } + } + }