Support cost map in simple-ird
[alto.git] / alto-core / standard-service-models / model-costmap / api / src / main / yang / alto-model-costmap.yang
index 096dcb97f241d9cee95d7f31217a3c7d6f5fdd65..33d110a198c2db2b1c9a668a7e64c956e4afbbb5 100644 (file)
@@ -41,6 +41,12 @@ module alto-model-costmap {
             "The resource type for cost map";
     }
 
+    identity "resource-type-filtered-costmap"{
+        base "alto-resourcepool:resource-type";
+        description
+            "The resource type for filtered cost map";
+    }
+
     grouping "cost-type-data" {
         container "cost-type" {
             leaf "cost-metric" {
@@ -121,24 +127,4 @@ module alto-model-costmap {
             uses "alto-response-costmap";
         }
     }
-
-    augment "/alto-resourcepool:context"
-            + "/alto-resourcepool:resource"
-            + "/alto-resourcepool:capabilities" {
-
-
-        yang-ext:augment-identifier "capabilities-cost-type";
-
-        list "cost-type" {
-            uses "alto-types:cost-type-data";
-
-            leaf "description" {
-                type string;
-            }
-        }
-
-        leaf "constraint-support" {
-            type boolean;
-        }
-    }
 }