1 module alto-model-base {
4 namespace "urn:opendaylight:alto:service:model";
6 prefix "alto-model-base";
8 import "alto-basic-types" {
12 import "alto-resourcepool" {
13 prefix "alto-resourcepool";
20 organization "Yale University";
22 contact "alto-dev@lists.opendaylight.org";
25 revision "2015-10-21" {
26 description "Initial revision of ALTO base service model";
29 grouping "alto-request-base" {
30 leaf "service-reference" {
31 yang-ext:context-reference "alto-resourcepool:service-context";
33 type "instance-identifier";
38 base "alto-resourcepool:resource-type";
46 grouping "alto-response-base" {
49 base "alto-resourcepool:resource-type";
57 identity "resource-type-error" {
58 base "alto-resourcepool:resource-type";
60 "The identity for ALTO error";
63 grouping "alto-response-error" {
64 uses "alto-response-base" {
66 case "error-response" {
81 uses "alto-request-base";
85 uses "alto-response-error";