Introduced renderer yang API
[groupbasedpolicy.git] / groupbasedpolicy / src / main / yang / model / endpoint-location-provider.yang
index 0eeacff2f2a83e34aa1f4ac600e433b0b5bd99a3..9e1f19b39a825aa0c2fd5f883093934995aeb7b2 100644 (file)
@@ -6,11 +6,11 @@
  * and is available at http://www.eclipse.org/legal/epl-v10.html\r
  */\r
 \r
-module endpoint-locations {\r
+module endpoint-location-provider {\r
     yang-version 1;\r
 \r
-    namespace "urn:opendaylight:groupbasedpolicy:endpoint:location";\r
-    prefix "endpoints-location";\r
+    namespace "urn:opendaylight:groupbasedpolicy:endpoint_location_provider";\r
+    prefix "ep-loc-provider";\r
 \r
     import base-endpoint { prefix base-endpoint; revision-date 2016-04-27; }\r
     import forwarding { prefix forwarding; revision-date 2016-04-27; }\r
@@ -27,18 +27,18 @@ module endpoint-locations {
         type string;\r
     }\r
 \r
-    container endpoint-locations {\r
+    container location-providers {\r
         list location-provider {\r
             key "provider";\r
             leaf provider {\r
                 type provider-name;\r
             }\r
-            list endpoint-location {\r
+            list provider-address-endpoint-location {\r
                 key "context-type context-id address-type address";\r
-                uses base-endpoint:endpoint-key;\r
+                uses base-endpoint:address-endpoint-key;\r
                 uses base-endpoint:has-location;\r
             }\r
-            list containment-endpoint-location {\r
+            list provider-containment-endpoint-location {\r
                 key "context-type context-id";\r
                 uses forwarding:context-key;\r
                 uses base-endpoint:has-location;\r