Fixed NAT in OFOverlay based on EIG
[groupbasedpolicy.git] / renderers / ofoverlay / src / main / yang / ofoverlay.yang
index 6edfca3327c12a424640ec42cc4d9deaa52a834e..5315e94938f160472d029215d1a95c998d92540e 100644 (file)
@@ -59,25 +59,24 @@ module ofoverlay {
                 }
             }
         }
+
+        uses initial-values;
+    }
+
+    grouping initial-values {
+        description
+            "Initial value of table offset is set in config subsystem";
+        leaf gbp-ofoverlay-table-offset {
+            description
+                "Used to offset pipeline to start at offset+1. Table0 is required.
+                This is to allow the enduser to configure where the GBP pipeline starts.";
+            type uint8;
+        }
     }
 
     grouping endpoint-location {
         description
             "The location for this endpoint in the overlay network";
-        leaf location-type {
-            default internal;
-            type enumeration {
-                enum internal {
-                    description
-                    "The endpoint is located on a port that is part of
-                     the overlay network.  You must include the node
-                     ID and port number for this endpoint.";
-                }
-                enum external {
-                    description "This endpoint is not inside the overlay.";
-                }
-            }
-        }
         leaf node-id {
             description
                 "The OpenFlow switch for the endpoint. Must be included