summaryrefslogtreecommitdiffstats
path: root/deprecated/source/schema/openstack-compute.yang
diff options
context:
space:
mode:
authorBertrand Souville <souville@docomolab-euro.com>2018-01-22 12:36:09 +0100
committerBertrand Souville <souville@docomolab-euro.com>2018-01-22 12:36:09 +0100
commit335b8446a9cb142b82a6b5cd1c2231d8185416c9 (patch)
tree494022dfcb462363f52dab6be9b5ee4000615c33 /deprecated/source/schema/openstack-compute.yang
parentc23e1136d5e036476a7720ce841d73c19bcc99d7 (diff)
Proposal to remove deprecated shim-layer implementation
Change-Id: I8ef21e0c349c0b3b62f3598bab4d90edfa801e7b Signed-off-by: Bertrand Souville <souville@docomolab-euro.com>
Diffstat (limited to 'deprecated/source/schema/openstack-compute.yang')
-rw-r--r--deprecated/source/schema/openstack-compute.yang72
1 files changed, 0 insertions, 72 deletions
diff --git a/deprecated/source/schema/openstack-compute.yang b/deprecated/source/schema/openstack-compute.yang
deleted file mode 100644
index c3e790c..0000000
--- a/deprecated/source/schema/openstack-compute.yang
+++ /dev/null
@@ -1,72 +0,0 @@
-module openstack-compute {
- prefix os-com;
-
- import nfv-infrastructure { prefix nfvi; }
- import complex-types { prefix ct; }
-
- identity nova { base nvfi:compute; }
-
- feature availability-zone {
- description "Specifies whether availability zone functionality is available.";
- }
- feature extended-status {
- description "Specifies whether extended status functionality is available.";
- }
- feature security-groups {
- description "Specifies whether security groups functionality is available.";
- }
-
- ct:complex-type ServerInstance {
- ct:extends nfvi:ServerInstance;
-
- leaf zone {
- if-feature availability-zone;
- type string;
- }
-
- leaf project {
- type instance-identifier { ct:instance-type nfvi:ResourceProject; }
- mandatory true;
- }
-
- container extended-status {
- if-feature extended-status;
- leaf locked-by;
- leaf power;
- leaf task;
- leaf vm;
- }
-
- leaf-list security-groups {
- if-feature security-groups;
- type instance-identifier { ct:instance-type SecurityGroup; }
- }
-
- }
-
- choice version {
- case v2.1 {
- ct:instance-list servers { ct:instance-type ServerInstance; }
- }
- }
-
- // OpenStack Nova specific RPC calls
- rpc resize {
- input {
- leaf server { type instance-type { ct:instance-type ServerInstance; } }
- // other params for resize
- }
- }
- rpc backup;
- rpc migrate;
- rpc restore;
- rpc evacuate;
- rpc lock;
- rpc unlock;
- rpc suspend;
- rpc resume;
- rpc pause;
- rpc unpause;
- rpc inject-network;
- rpc reset-network;
-}