aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/onap-1.1/features/so/src
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-10-04 18:26:10 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-11-20 12:24:16 +0530
commit325ea8e8f7bc4df7b07fd107cc9b3bd315d8e7f1 (patch)
tree70d829802692d52f2bd8aa8f9091e00e313893c4 /plugins/onap-1.1/features/so/src
parent864eafac295bb9cc4c0b4315aa7c262eb214ccc6 (diff)
Migrate plugins to use info section
Issue-Id: CLI-66 Change-Id: I06a2b76ac426bfcfe3b5fcf5e3b828d18c0e9a68 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'plugins/onap-1.1/features/so/src')
-rw-r--r--plugins/onap-1.1/features/so/src/main/resources/open-cli-schema/services/service-create-schema-1.1.yaml11
-rw-r--r--plugins/onap-1.1/features/so/src/main/resources/open-cli-schema/services/service-delete-schema-1.1.yaml16
-rw-r--r--plugins/onap-1.1/features/so/src/main/resources/open-cli-schema/services/vf-module-create-schema-1.1.yaml14
-rw-r--r--plugins/onap-1.1/features/so/src/main/resources/open-cli-schema/services/vf-module-delete-schema-1.1.yaml15
-rw-r--r--plugins/onap-1.1/features/so/src/main/resources/open-cli-schema/services/vnf-create-schema-1.1.yaml14
-rw-r--r--plugins/onap-1.1/features/so/src/main/resources/open-cli-schema/services/vnf-delete-schema-1.1.yaml14
6 files changed, 66 insertions, 18 deletions
diff --git a/plugins/onap-1.1/features/so/src/main/resources/open-cli-schema/services/service-create-schema-1.1.yaml b/plugins/onap-1.1/features/so/src/main/resources/open-cli-schema/services/service-create-schema-1.1.yaml
index 96b7e036..94f2e4a4 100644
--- a/plugins/onap-1.1/features/so/src/main/resources/open-cli-schema/services/service-create-schema-1.1.yaml
+++ b/plugins/onap-1.1/features/so/src/main/resources/open-cli-schema/services/service-create-schema-1.1.yaml
@@ -1,12 +1,20 @@
open_cli_schema_version: 1.0
name: service-create
description: Create a service instance using MSO
+<<<<<<< cf220435576757be81a477d68413c0dabc592478
version: onap-1.1
service:
name: so
version: v3
auth: basic
mode: direct
+=======
+
+info:
+ product: onap-1.1
+ service: so
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+>>>>>>> Migrate plugins to use info section
parameters:
- name: cloud-region
@@ -80,6 +88,9 @@ results:
http:
+ service:
+ auth: none
+ mode: direct
request:
uri: /ecomp/mso/infra/serviceInstances/v3
method: POST
diff --git a/plugins/onap-1.1/features/so/src/main/resources/open-cli-schema/services/service-delete-schema-1.1.yaml b/plugins/onap-1.1/features/so/src/main/resources/open-cli-schema/services/service-delete-schema-1.1.yaml
index 7ae110ed..93f2a1ed 100644
--- a/plugins/onap-1.1/features/so/src/main/resources/open-cli-schema/services/service-delete-schema-1.1.yaml
+++ b/plugins/onap-1.1/features/so/src/main/resources/open-cli-schema/services/service-delete-schema-1.1.yaml
@@ -1,12 +1,25 @@
open_cli_schema_version: 1.0
name: service-delete
+<<<<<<< a936ccab2b00d462f0b1f3e8318004f0414f07ef
description: Delete service instance (experimental)
+=======
+<<<<<<< cf220435576757be81a477d68413c0dabc592478
+description: Delete service instance
+>>>>>>> Migrate plugins to use info section
version: onap-1.1
service:
name: so
version: v3
auth: basic
mode: direct
+=======
+description: Delete a service instance
+
+info:
+ product: onap-1.1
+ service: so
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+>>>>>>> Migrate plugins to use info section
parameters:
- name: service-id
@@ -59,6 +72,9 @@ parameters:
is_optional: false
http:
+ service:
+ auth: none
+ mode: direct
request:
uri: /ecomp/mso/infra/serviceInstances/v3/${service-id}
method: DELETE
diff --git a/plugins/onap-1.1/features/so/src/main/resources/open-cli-schema/services/vf-module-create-schema-1.1.yaml b/plugins/onap-1.1/features/so/src/main/resources/open-cli-schema/services/vf-module-create-schema-1.1.yaml
index 170ba845..43e68059 100644
--- a/plugins/onap-1.1/features/so/src/main/resources/open-cli-schema/services/vf-module-create-schema-1.1.yaml
+++ b/plugins/onap-1.1/features/so/src/main/resources/open-cli-schema/services/vf-module-create-schema-1.1.yaml
@@ -1,12 +1,11 @@
open_cli_schema_version: 1.0
name: vf-module-create
description: Create a VF Module
-version: onap-1.1
-service:
- name: mso
- version: v2
- auth: basic
- mode: direct
+
+info:
+ product: onap-1.1
+ service: so
+ author: ONAP CLI Team onap-discuss@lists.onap.org
parameters:
- name: lcp-cloudregion-id
@@ -61,6 +60,9 @@ results:
scope: short
http:
+ service:
+ auth: none
+ mode: direct
request:
uri: ecomp/mso/infra/serviceInstances/v2/${service-instance-id}/vnfs/${vnf-instance-id}/vfModules
method: PUT
diff --git a/plugins/onap-1.1/features/so/src/main/resources/open-cli-schema/services/vf-module-delete-schema-1.1.yaml b/plugins/onap-1.1/features/so/src/main/resources/open-cli-schema/services/vf-module-delete-schema-1.1.yaml
index 37754087..7c910539 100644
--- a/plugins/onap-1.1/features/so/src/main/resources/open-cli-schema/services/vf-module-delete-schema-1.1.yaml
+++ b/plugins/onap-1.1/features/so/src/main/resources/open-cli-schema/services/vf-module-delete-schema-1.1.yaml
@@ -1,12 +1,24 @@
open_cli_schema_version: 1.0
name: vfmodule-delete
+<<<<<<< a936ccab2b00d462f0b1f3e8318004f0414f07ef
description: delete a VF module (experimental)
+=======
+description: delete a VF module
+<<<<<<< e22e4b6be3fe804a926136cf9ffd03341920ff50
+>>>>>>> Migrate plugins to use info section
version: onap-1.1
service:
name: so
version: v3
auth: basic
mode: direct
+=======
+
+info:
+ product: onap-1.1
+ service: so
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+>>>>>>> Migrate plugins to use info section
parameters:
- name: vfmodule-id
@@ -59,6 +71,9 @@ parameters:
is_optional: false
http:
+ service:
+ auth: none
+ mode: direct
request:
uri: /ecomp/mso/infra/serviceInstances/v3/${service-id}/vnfs/${vf-id}/vfModules/${vfmodule-id}
method: DELETE
diff --git a/plugins/onap-1.1/features/so/src/main/resources/open-cli-schema/services/vnf-create-schema-1.1.yaml b/plugins/onap-1.1/features/so/src/main/resources/open-cli-schema/services/vnf-create-schema-1.1.yaml
index 899be1bb..18df0c95 100644
--- a/plugins/onap-1.1/features/so/src/main/resources/open-cli-schema/services/vnf-create-schema-1.1.yaml
+++ b/plugins/onap-1.1/features/so/src/main/resources/open-cli-schema/services/vnf-create-schema-1.1.yaml
@@ -1,12 +1,11 @@
open_cli_schema_version: 1.0
name: vnf-create
description: Create a VNF
-version: onap-1.1
-service:
- name: mso
- version: v2
- auth: basic
- mode: direct
+
+info:
+ product: onap-1.1
+ service: so
+ author: ONAP CLI Team onap-discuss@lists.onap.org
parameters:
- name: lcp-cloudregion-id
@@ -61,6 +60,9 @@ results:
scope: short
http:
+ service:
+ auth: none
+ mode: direct
request:
uri: ecomp/mso/infra/serviceInstances/v2/${service-instance-id}/vnfs
method: PUT
diff --git a/plugins/onap-1.1/features/so/src/main/resources/open-cli-schema/services/vnf-delete-schema-1.1.yaml b/plugins/onap-1.1/features/so/src/main/resources/open-cli-schema/services/vnf-delete-schema-1.1.yaml
index 08134f88..0c07ccbd 100644
--- a/plugins/onap-1.1/features/so/src/main/resources/open-cli-schema/services/vnf-delete-schema-1.1.yaml
+++ b/plugins/onap-1.1/features/so/src/main/resources/open-cli-schema/services/vnf-delete-schema-1.1.yaml
@@ -1,12 +1,11 @@
open_cli_schema_version: 1.0
name: vnf-delete
description: delete a VNF
-version: onap-1.1
-service:
- name: mso
- version: v2
- auth: basic
- mode: direct
+
+info:
+ product: onap-1.1
+ service: so
+ author: ONAP CLI Team onap-discuss@lists.onap.org
parameters:
- name: vnf-instance-id
@@ -35,6 +34,9 @@ parameters:
is_optional: false
http:
+ service:
+ auth: none
+ mode: direct
request:
uri: ecomp/mso/infra/serviceInstances/v2/${service-instance-id}/vnfs
method: DELETE