Redefine the resourcepool to provide context
[alto.git] / alto-core / standard-service-models / model-endpointcost / api / src / main / yang / alto-model-endpointcost-rfc7285.yang
index 12e4e19f10655037820c3857e6065e2d1b4fe3dc..641e780904b9049c4836e2a87aa99c3d1a349e8e 100644 (file)
@@ -42,7 +42,9 @@ module alto-model-endpointcost-rfc7285 {
         }
     }
 
-    augment "/alto-ecs:query/alto-ecs:input/alto-ecs:request/alto-ecs:endpointcost-request/alto-ecs:endpointcost-params/alto-ecs:filter" {
+    augment "/alto-ecs:query/alto-ecs:input/alto-ecs:request"
+            + "/alto-ecs:endpointcost-request"
+            + "/alto-ecs:endpointcost-params/alto-ecs:filter" {
         ext:augment-identifier "rfc7285-endpoint-filter";
 
         case "endpoint-filter-data" {
@@ -71,7 +73,9 @@ module alto-model-endpointcost-rfc7285 {
         }
     }
 
-    augment "/alto-ecs:query/alto-ecs:output/alto-ecs:response/alto-ecs:endpointcost-response/alto-ecs:endpointcost-data" {
+    augment "/alto-ecs:query/alto-ecs:output/alto-ecs:response"
+            + "/alto-ecs:endpointcost-response"
+            + "/alto-ecs:endpointcost-data" {
         ext:augment-identifier "rfc7285-endpoint-cost-map";
 
         case "endpoint-costmap-data" {
@@ -91,7 +95,11 @@ module alto-model-endpointcost-rfc7285 {
         }
     }
 
-    augment "/alto-ecs:query/alto-ecs:input/alto-ecs:request/alto-ecs:endpointcost-request/alto-ecs:endpointcost-params/alto-ecs:filter/endpoint-filter-data/endpoint-filter/source/address" {
+    augment "/alto-ecs:query/alto-ecs:input/alto-ecs:request"
+            + "/alto-ecs:endpointcost-request"
+            + "/alto-ecs:endpointcost-params"
+            + "/alto-ecs:filter/endpoint-filter-data"
+            + "/endpoint-filter/source/address" {
         ext:augment-identifier "rfc7285-endpoint-filter-source";
 
         case ipv4 {
@@ -103,7 +111,11 @@ module alto-model-endpointcost-rfc7285 {
         }
     }
 
-    augment "/alto-ecs:query/alto-ecs:input/alto-ecs:request/alto-ecs:endpointcost-request/alto-ecs:endpointcost-params/alto-ecs:filter/endpoint-filter-data/endpoint-filter/destination/address" {
+    augment "/alto-ecs:query/alto-ecs:input/alto-ecs:request"
+            + "/alto-ecs:endpointcost-request"
+            + "/alto-ecs:endpointcost-params"
+            + "/alto-ecs:filter/endpoint-filter-data"
+            + "/endpoint-filter/destination/address" {
         ext:augment-identifier "rfc7285-endpoint-filter-destination";
         case ipv4 {
             uses "ipv4-address-data";
@@ -114,7 +126,10 @@ module alto-model-endpointcost-rfc7285 {
         }
     }
 
-    augment "/alto-ecs:query/alto-ecs:output/alto-ecs:response/alto-ecs:endpointcost-response/alto-ecs:endpointcost-data/endpoint-costmap-data/endpoint-cost-map/endpoint-cost/source/address" {
+    augment "/alto-ecs:query/alto-ecs:output/alto-ecs:response"
+            + "/alto-ecs:endpointcost-response"
+            + "/alto-ecs:endpointcost-data"
+            + "/endpoint-costmap-data/endpoint-cost-map/endpoint-cost/source/address" {
         ext:augment-identifier "rfc7285-endpoint-costmap-source";
 
         case ipv4 {
@@ -127,7 +142,10 @@ module alto-model-endpointcost-rfc7285 {
     }
 
 
-    augment "/alto-ecs:query/alto-ecs:output/alto-ecs:response/alto-ecs:endpointcost-response/alto-ecs:endpointcost-data/endpoint-costmap-data/endpoint-cost-map/endpoint-cost/destination/address" {
+    augment "/alto-ecs:query/alto-ecs:output/alto-ecs:response"
+            + "/alto-ecs:endpointcost-response"
+            + "/alto-ecs:endpointcost-data"
+            + "/endpoint-costmap-data/endpoint-cost-map/endpoint-cost/destination/address" {
         ext:augment-identifier "rfc7285-endpoint-costmap-destination";
 
         case ipv4 {
@@ -139,7 +157,10 @@ module alto-model-endpointcost-rfc7285 {
         }
     }
 
-    augment "/alto-ecs:query/alto-ecs:output/alto-ecs:response/alto-ecs:endpointcost-response/alto-ecs:endpointcost-data/endpoint-costmap-data/endpoint-cost-map/endpoint-cost/cost" {
+    augment "/alto-ecs:query/alto-ecs:output/alto-ecs:response"
+            + "/alto-ecs:endpointcost-response"
+            + "/alto-ecs:endpointcost-data"
+            + "/endpoint-costmap-data/endpoint-cost-map/endpoint-cost/cost" {
         ext:augment-identifier "rfc7825-endpoint-costmap-cost";
 
         case numerical {