summaryrefslogtreecommitdiffstats
path: root/plugins/sdc/src/test/resources/onap-cli-sample/license-models
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-10-30 14:07:59 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-10-30 14:07:59 +0530
commitc40999cd797e8aaa2a08b86bf951507cebe0f0ae (patch)
tree4e6c9ede9c2809ae8b89250080901157282a73bc /plugins/sdc/src/test/resources/onap-cli-sample/license-models
parentbb854b4b1ee71c9a3bbe20a587e3031c31a44730 (diff)
Add vlm-create command for 1.1 with samples
CLI-57 Change-Id: I5a4475890db5b81fb15a32977f1ff1659c22a062 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'plugins/sdc/src/test/resources/onap-cli-sample/license-models')
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/license-models/license-entitlement-pool-create-schema.yaml15
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/license-models/license-entitlement-pool-show-schema.yaml16
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/license-models/license-group-create-schema.yaml15
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/license-models/license-group-show-schema.yaml15
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/license-models/license-key-group-create-schema-1.1.yaml15
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/license-models/license-model-create-schema-1.1.yaml15
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/license-models/license-model-create-schema.yaml15
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/license-models/license-model-show-schema-1.1.yaml37
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/license-models/license-model-show-schema.yaml15
9 files changed, 0 insertions, 158 deletions
diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/license-models/license-entitlement-pool-create-schema.yaml b/plugins/sdc/src/test/resources/onap-cli-sample/license-models/license-entitlement-pool-create-schema.yaml
deleted file mode 100644
index 2b1d78d9..00000000
--- a/plugins/sdc/src/test/resources/onap-cli-sample/license-models/license-entitlement-pool-create-schema.yaml
+++ /dev/null
@@ -1,15 +0,0 @@
-onap_cli_sample_version: 1.0
-
-name: ep-create
-version: onap-1.0
-samples:
- sample1:
- name: create license entitlement Pool
- input: --threshold-value 99 --license-model-id 4904E77EC4EF4CB18083E8ED7D283585 --ep-name demo121 --ep-description demo --threshold-unit Absolute --entitlement-metric CPU --operational-scope Availability_Zone --aggregation-function Peak --reference-number 12345 -u cs0008 -p demo123456! -m http://192.168.17.126:8080
- moco: license-entitlement-pool-create-schema-moco.json
- output: |
- +----------+----------------------------------+
- |property |value |
- +----------+----------------------------------+
- |ID |2366699475c943bdb283fc0b9106579c |
- +----------+----------------------------------+
diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/license-models/license-entitlement-pool-show-schema.yaml b/plugins/sdc/src/test/resources/onap-cli-sample/license-models/license-entitlement-pool-show-schema.yaml
deleted file mode 100644
index 244c1d66..00000000
--- a/plugins/sdc/src/test/resources/onap-cli-sample/license-models/license-entitlement-pool-show-schema.yaml
+++ /dev/null
@@ -1,16 +0,0 @@
-onap_cli_sample_version: 1.0
-
-name: ep-show
-version: onap-1.0
-samples:
- sample1:
- name: Get specific license key group
- input: -u cs0008 -p demo123456! -m http://192.168.17.126:8080 --license-model-id 4904E77EC4EF4CB18083E8ED7D283585 --pool-id E19CDA7DA8A9462FB1A33166C28B11D2
- moco: license-entitlement-pool-show-schema-moco.json
- output: |
- +----------+----------------------------------+--------------+
- |name |ID |description |
- +----------+----------------------------------+--------------+
- |demo121 |E19CDA7DA8A9462FB1A33166C28B11D2 |demo |
- +----------+----------------------------------+--------------+
-
diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/license-models/license-group-create-schema.yaml b/plugins/sdc/src/test/resources/onap-cli-sample/license-models/license-group-create-schema.yaml
deleted file mode 100644
index 21ab46d2..00000000
--- a/plugins/sdc/src/test/resources/onap-cli-sample/license-models/license-group-create-schema.yaml
+++ /dev/null
@@ -1,15 +0,0 @@
-onap_cli_sample_version: 1.0
-
-name: license-key-group-create
-version: onap-1.0
-samples:
- sample1:
- name: create license key group
- input: --license-model-id 2366699475c943bdb283fc0b9106579c -x htipl-key-grp -y Universal -z test --operational-scope Tenant -u cs0008 -p demo123456! -m http://192.168.17.126:8080
- moco: license-group-create-moco.json
- output: |
- +----------+----------------------------------+
- |property |value |
- +----------+----------------------------------+
- |ID |81997d7d4795485daea7418fae26c5d0 |
- +----------+----------------------------------+
diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/license-models/license-group-show-schema.yaml b/plugins/sdc/src/test/resources/onap-cli-sample/license-models/license-group-show-schema.yaml
deleted file mode 100644
index b927cd97..00000000
--- a/plugins/sdc/src/test/resources/onap-cli-sample/license-models/license-group-show-schema.yaml
+++ /dev/null
@@ -1,15 +0,0 @@
-onap_cli_sample_version: 1.0
-
-name: license-group-show
-version: onap-1.0
-samples:
- sample1:
- name: Get specific license key group
- input: -u cs0008 -p demo123456! -m http://192.168.17.126:8080 -x 4904E77EC4EF4CB18083E8ED7D283585 -y 3F57DDC6AF55420680D499CDAC047253
- moco: license-key-group-show-schema-moco.json
- output: |
- +----------------+----------------------------------+--------------+
- |name |ID |description |
- +----------------+----------------------------------+--------------+
- |demo-key-group |3F57DDC6AF55420680D499CDAC047253 | |
- +----------------+----------------------------------+--------------+
diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/license-models/license-key-group-create-schema-1.1.yaml b/plugins/sdc/src/test/resources/onap-cli-sample/license-models/license-key-group-create-schema-1.1.yaml
deleted file mode 100644
index ff4b37bd..00000000
--- a/plugins/sdc/src/test/resources/onap-cli-sample/license-models/license-key-group-create-schema-1.1.yaml
+++ /dev/null
@@ -1,15 +0,0 @@
-onap_cli_sample_version: 1.0
-
-name: license-key-group-create
-version: onap-1.1
-samples:
- sample1:
- name: create license key group
- input: --license-model-id 2366699475c943bdb283fc0b9106579c -x htipl-key-grp -y Universal -z test --operational-scope Tenant -u cs0008 -p demo123456! -m http://192.168.17.126:8080
- moco: license-key-group-create-1.1-moco.json
- output: |
- +----------+----------------------------------+
- |property |value |
- +----------+----------------------------------+
- |ID |81997d7d4795485daea7418fae26c5d0 |
- +----------+----------------------------------+ \ No newline at end of file
diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/license-models/license-model-create-schema-1.1.yaml b/plugins/sdc/src/test/resources/onap-cli-sample/license-models/license-model-create-schema-1.1.yaml
deleted file mode 100644
index b00686a9..00000000
--- a/plugins/sdc/src/test/resources/onap-cli-sample/license-models/license-model-create-schema-1.1.yaml
+++ /dev/null
@@ -1,15 +0,0 @@
-onap_cli_sample_version: 1.0
-
-name: license-model-create
-version: onap-1.1
-samples:
- sample1:
- name: create license model
- input: -x htipl -y "sample model" -u cs0008 -p demo123456! -m http://192.168.17.126:8080
- moco: license-model-create-schema-1.1-moco.json
- output: |
- +----------+----------------------------------+
- |property |value |
- +----------+----------------------------------+
- |ID |2366699475c943bdb283fc0b9106579c |
- +----------+----------------------------------+ \ No newline at end of file
diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/license-models/license-model-create-schema.yaml b/plugins/sdc/src/test/resources/onap-cli-sample/license-models/license-model-create-schema.yaml
deleted file mode 100644
index 10fc0510..00000000
--- a/plugins/sdc/src/test/resources/onap-cli-sample/license-models/license-model-create-schema.yaml
+++ /dev/null
@@ -1,15 +0,0 @@
-onap_cli_sample_version: 1.0
-
-name: license-model-create
-version: onap-1.0
-samples:
- sample1:
- name: create license model
- input: -x htipl -y "sample model" -u cs0008 -p demo123456! -m http://192.168.17.126:8080
- moco: license-model-create-schema-moco.json
- output: |
- +----------+----------------------------------+
- |property |value |
- +----------+----------------------------------+
- |ID |2366699475c943bdb283fc0b9106579c |
- +----------+----------------------------------+
diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/license-models/license-model-show-schema-1.1.yaml b/plugins/sdc/src/test/resources/onap-cli-sample/license-models/license-model-show-schema-1.1.yaml
deleted file mode 100644
index 9bba4d61..00000000
--- a/plugins/sdc/src/test/resources/onap-cli-sample/license-models/license-model-show-schema-1.1.yaml
+++ /dev/null
@@ -1,37 +0,0 @@
-onap_cli_sample_version: 1.0
-
-name: license-model-show
-version: onap-1.1
-samples:
- sample1:
- name: list license models
- input: -u cs0008 -p demo123456! -m http://192.168.17.126:8080 --long
- moco: license-model-show-schema-1.1-moco.json
- output: |
- +----------------------------------+--------------------------+----------+--------+--------------------------+
- |id |vendor-name |icon-ref |status |description |
- +----------------------------------+--------------------------+----------+--------+--------------------------+
- |214fa77b19bb4253a35df7882562f2d0 |856acdac-40ef-4482-9981 |icon |Final |vendor license model |
- +----------------------------------+--------------------------+----------+--------+--------------------------+
- |4c292ccadd65463eb13eee6599454a1d |e719888c-0239-4dca-be7d |icon |Final |vendor license model |
- +----------------------------------+--------------------------+----------+--------+--------------------------+
- |29d0695d8aec4ee583123fe0d1851b4f |ee7ab025-6c58-433d-bd0d |icon |Final |vendor license model |
- +----------------------------------+--------------------------+----------+--------+--------------------------+
- |2744ca76b4ac4888b620c05ae91556f6 |ciLicense21435036 |icon |Final |new vendor license model |
- +----------------------------------+--------------------------+----------+--------+--------------------------+
- |030a59bde96f430b95465b007a9b3cdd |ciLicensefe30858a |icon |Final |new vendor license model |
- +----------------------------------+--------------------------+----------+--------+--------------------------+
- |950e25392f754522be7c3eb3de12bcf9 |ciLicense751898ab |icon |Final |new vendor license model |
- +----------------------------------+--------------------------+----------+--------+--------------------------+
- |8e8175bfff7849479f0073d198c63f53 |ciLicense28ebe623 |icon |Final |new vendor license model |
- +----------------------------------+--------------------------+----------+--------+--------------------------+
- |e05042b6f04d4b7a9ec75cf96bc6e470 |ciLicense90306c63 |icon |Final |new vendor license model |
- +----------------------------------+--------------------------+----------+--------+--------------------------+
- |39ea2c9a76f24e5fb8c384028cbd8f15 |ciLicenseed4a6e3f |icon |Final |new vendor license model |
- +----------------------------------+--------------------------+----------+--------+--------------------------+
- |a0edbf2e71734b1985cd92dcc77c1b4d |ciLicenseb0467328 |icon |Final |new vendor license model |
- +----------------------------------+--------------------------+----------+--------+--------------------------+
- |55f9d6352935440ea9c75aebe2cca80d |ciLicensef4044f13 |icon |Final |new vendor license model |
- +----------------------------------+--------------------------+----------+--------+--------------------------+
- |182c1888c32e427698c621b9fb0987a5 |ciLicensec8ab4c16 |icon |Final |new vendor license model |
- +----------------------------------+--------------------------+----------+--------+--------------------------+ \ No newline at end of file
diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/license-models/license-model-show-schema.yaml b/plugins/sdc/src/test/resources/onap-cli-sample/license-models/license-model-show-schema.yaml
deleted file mode 100644
index 18e4c297..00000000
--- a/plugins/sdc/src/test/resources/onap-cli-sample/license-models/license-model-show-schema.yaml
+++ /dev/null
@@ -1,15 +0,0 @@
-onap_cli_sample_version: 1.0
-
-name: license-model-show
-version: onap-1.0
-samples:
- sample1:
- name: Get specific license model
- input: -u cs0008 -p demo123456! -m http://192.168.17.126:8080 -x 4904E77EC4EF4CB18083E8ED7D283585
- moco: license-model-show-schema-moco.json
- output: |
- +----------+----------------------------------+----------------------+--------+
- |name |ID |description |status |
- +----------+----------------------------------+----------------------+--------+
- |5aa8a88c |4904E77EC4EF4CB18083E8ED7D283585 |vendor license model |Locked |
- +----------+----------------------------------+----------------------+--------+