4 import nfv-infrastructure { prefix nfvi; }
5 import access-control-models { prefix acm; }
6 import ietf-yang-types { prefix yang; }
7 import ietf-inet-types { prefix inet; }
8 import complex-types { prefix ct; }
11 "OpenStack controller module";
14 description "Basic coverage of limited intents needed for Promise";
17 identity openstack { base nfvi:manager; }
18 identity release { base openstack; }
19 identity distro { base openstack; }
21 feature os-system-admin {
22 description "OpenStack system administration capability";
25 grouping os-credentials {
26 uses acm:access-credentials {
31 default "http://localhost:5000/v2.0";
35 leaf id { type string; }
36 leaf name { type string; }
40 // OpenStack infrastructure platform (PLACEHOLDER)
42 uses nfvi:resource-stack;
44 leaf release { type identityref { base release; } }
45 leaf distro { type identityref { base distro; } }
47 //ct:instance-list services { ct:instance-type OpenStackService; }
48 //ct:instance-list endpoints { ct:instance-type ServiceEndpoint; }
51 // OpenStack system administrator configuration tree
53 if-feature os-system-admin;
56 leaf token { type yang:uuid; }
61 if-feature os-system-admin;
66 leaf token { type yang:uuid; }
71 if-feature os-system-admin;