1 module openstack-compute {
4 import nfv-infrastructure { prefix nfvi; }
5 import complex-types { prefix ct; }
7 identity nova { base nvfi:compute; }
9 feature availability-zone {
10 description "Specifies whether availability zone functionality is available.";
12 feature extended-status {
13 description "Specifies whether extended status functionality is available.";
15 feature security-groups {
16 description "Specifies whether security groups functionality is available.";
19 ct:complex-type ServerInstance {
20 ct:extends nfvi:ServerInstance;
23 if-feature availability-zone;
28 type instance-identifier { ct:instance-type nfvi:ResourceProject; }
32 container extended-status {
33 if-feature extended-status;
40 leaf-list security-groups {
41 if-feature security-groups;
42 type instance-identifier { ct:instance-type SecurityGroup; }
49 ct:instance-list servers { ct:instance-type ServerInstance; }
53 // OpenStack Nova specific RPC calls
56 leaf server { type instance-type { ct:instance-type ServerInstance; } }
57 // other params for resize