Adding Nicira actions and match for NSH Index and path fields.
[openflowplugin.git] / extension / openflowjava-extension-nicira / src / main / yang / nicira-match.yang
index 05814d2cc0ac9a63c3cc385849702e13aae3f2b1..d4233f807934509e5e021f4cb0357d1785e044c3 100644 (file)
@@ -77,6 +77,12 @@ module nicira-match {
     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;
+    }
 
     grouping ofj-nxm-nx-match-reg-grouping {
         container reg-values {
@@ -163,6 +169,22 @@ module nicira-match {
         }
     }
 
+    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;
+            }
+        }
+    }
+
     augment "/ofoxm:oxm-container/ofoxm:match-entries" {
         ext:augment-identifier "ofj-aug_nx_match";
         uses ofj-nxm-nx-match-reg-grouping;
@@ -177,6 +199,8 @@ module nicira-match {
         uses ofj-nxm-of-match-eth-src-grouping;
         uses ofj-nxm-of-match-eth-dst-grouping;
         uses ofj-nxm-of-match-eth-type-grouping;
+        uses ofj-nxm-nx-match-nsp-grouping;
+        uses ofj-nxm-nx-match-nsi-grouping;
     }
 
-}
\ No newline at end of file
+}