1 module alto-resourcepool {
4 namespace "urn:opendaylight:alto:core:resourcepool";
6 prefix "alto-resourcepool";
8 import "alto-basic-types" {
16 import "ietf-inet-types" {
20 organization "Yale University";
22 contact "alto-dev@lists.opendaylight.org";
24 revision "2015-09-21" {
25 description "Initial revision of alto resourcepool";
28 identity "service-context" {
30 "The context identifier for a certain ALTO service";
33 identity "resource-type" {
35 "The basic type identity for ALTO resourcepool";
38 identity "capability-category" {
40 "The basic identity for capability categories";
43 grouping "capability-spec" {
46 base "capability-category";
54 grouping "resource-desc" {
56 type alto-types:resource-id;
75 uses "capability-spec";
80 type alto-types:resource-id;
85 grouping "resource-service" {
86 leaf "service-instance" {
87 type instance-identifier;
91 container "resource-pool" {
97 yang-ext:context-instance "service-context";
101 uses "resource-service";
115 uses "resource-desc";
117 uses "resource-service";
121 rpc "remove-resource" {
124 type alto-types:resource-id;
129 rpc "update-resource" {
131 uses "resource-desc";
133 uses "resource-service";
137 rpc "verify-resource" {
139 uses "resource-desc";
141 uses "resource-service";