summaryrefslogtreecommitdiffstats
path: root/source/config
diff options
context:
space:
mode:
authorBertrand Souville <souville@docomolab-euro.com>2017-11-27 17:15:54 +0100
committerBertrand Souville <souville@docomolab-euro.com>2017-11-27 17:15:54 +0100
commit3ce698ee20cca69104874d42e64300abe641a27c (patch)
treea5f1e419cdb65b0b1edb4bb06cf9480ada670cab /source/config
parent48c252069be02fe2019633827c8a22cdcd201170 (diff)
Proposal to move Promise shim-layer code to a new deprecated folder
Promise test cases have been disabled in Functest Promise shim-layer has been marked as DEPRECATED in Euphrates Change-Id: I98ecd9ae2b25c102f478fc3869f23e6c70d32d8d Signed-off-by: Bertrand Souville <souville@docomolab-euro.com>
Diffstat (limited to 'source/config')
-rw-r--r--source/config/custom-environment-variables.yaml25
-rw-r--r--source/config/default.yaml11
-rw-r--r--source/config/demo.json118
-rw-r--r--source/config/functest.yaml9
-rw-r--r--source/config/test-intercloud.yaml21
5 files changed, 0 insertions, 184 deletions
diff --git a/source/config/custom-environment-variables.yaml b/source/config/custom-environment-variables.yaml
deleted file mode 100644
index 001e799..0000000
--- a/source/config/custom-environment-variables.yaml
+++ /dev/null
@@ -1,25 +0,0 @@
-# OPNFV FuncTest config (refer to schema/opnfv-functest.yang)
-opnfv-functest:
- environment:
- installer:
- type: INSTALLER_TYPE
- address: INSTALLER_IP
- lab: NODE_NAME
-
-# OpenStack config (native)
-openstack:
- auth:
- endpoint: OS_AUTH_URL
- strategy: OS_AUTH_STRATEGY
- project:
- id: OS_PROJECT_ID
- name: OS_PROJECT_NAME
- domain-name: OS_PROJECT_DOMAIN_NAME
- username: OS_USERNAME
- password: OS_PASSWORD
- user-domain-name: OS_USER_DOMAIN_NAME
- test:
- image: OS_TEST_IMAGE
- flavor: OS_TEST_FLAVOR
- network: OS_TEST_NETWORK
-
diff --git a/source/config/default.yaml b/source/config/default.yaml
deleted file mode 100644
index 52bb61a..0000000
--- a/source/config/default.yaml
+++ /dev/null
@@ -1,11 +0,0 @@
-# default configuration for 'npm test'
-
-opnfv-promise:
- promise:
- policy:
- reservation:
- max-future-start-range:
- max-future-end-range:
- max-duration:
- expiry: 600
-
diff --git a/source/config/demo.json b/source/config/demo.json
deleted file mode 100644
index dffb3af..0000000
--- a/source/config/demo.json
+++ /dev/null
@@ -1,118 +0,0 @@
-{
- "opnfv-promise": {
- "promise": {
- "providers": [
- {
- "name": "example-demo-provider",
- "token": "dummy-token"
- }
- ],
- "pools": [
- {
- "ResourcePool": {
- "id": "4085f0da-8030-4252-a0ff-c6f93870eb5f",
- "name": "OPNFV OpenStack - West",
- "source": "example-demo-provider",
- "capacity": {
- "cores": 100,
- "ram": 262144,
- "instances": 500,
- "networks": 100,
- "ports": 100,
- "routers": 30,
- "subnets": 1000,
- "addresses": 500,
- "gigabytes": 10000,
- "snapshots": 100,
- "volumes": 100
- }
- }
- }
- ],
- "reservations": [
- {
- "capacity": {
- "cores": 10,
- "ram": 4096,
- "instances": 10,
- "networks": 4,
- "ports": 10,
- "routers": 1,
- "subnets": 1,
- "addresses": 10,
- "gigabytes": 0,
- "snapshots": 0,
- "volumes": 0
- },
- "start": "2015-11-07T10:17:12.747Z",
- "end": "2016-02-13T10:17:18.226Z",
- "pools": [
- "4085f0da-8030-4252-a0ff-c6f93870eb5f"
- ]
- },
- {
- "capacity": {
- "cores": 20,
- "ram": 10000,
- "instances": 5,
- "networks": 2,
- "ports": 10,
- "routers": 1,
- "subnets": 1,
- "addresses": 5,
- "gigabytes": 0,
- "snapshots": 0,
- "volumes": 0
- },
- "start": "2015-11-09T10:17:12.747Z",
- "end": "2016-02-11T10:17:18.226Z",
- "pools": [
- "4085f0da-8030-4252-a0ff-c6f93870eb5f"
- ]
- },
- {
- "id": "c7287f30-2c65-4a88-a047-48724b8ff747",
- "capacity": {
- "cores": 10,
- "ram": 4096,
- "instances": 10,
- "networks": 5,
- "ports": 10,
- "routers": 1,
- "subnets": 5,
- "addresses": 20,
- "gigabytes": 0,
- "snapshots": 0,
- "volumes": 0
- },
- "start": "2015-11-10T10:17:12.747Z",
- "end": "2015-12-13T10:17:18.226Z",
- "pools": [
- "4085f0da-8030-4252-a0ff-c6f93870eb5f"
- ]
- },
- {
- "id": "0f2e31f7-9760-416d-8d53-1ee68aa4b11f",
- "capacity": {
- "cores": 10,
- "ram": 4096,
- "instances": 5,
- "networks": 2,
- "ports": 10,
- "routers": 1,
- "subnets": 1,
- "addresses": 5,
- "gigabytes": 0,
- "snapshots": 0,
- "volumes": 0
- },
- "start": "2015-11-09T10:17:12.747Z",
- "end": "2015-12-03T10:17:18.226Z",
- "pools": [
- "4085f0da-8030-4252-a0ff-c6f93870eb5f"
- ]
- }
- ]
- }
- }
-}
diff --git a/source/config/functest.yaml b/source/config/functest.yaml
deleted file mode 100644
index 6655fc4..0000000
--- a/source/config/functest.yaml
+++ /dev/null
@@ -1,9 +0,0 @@
-# NODE_ENV=functest
-
-opnfv-functest:
- environment:
- images:
- -
- name: cirros
- path: /home/opnfv/functest/images/cirros-0.3.5-x86_64-disk.img
-
diff --git a/source/config/test-intercloud.yaml b/source/config/test-intercloud.yaml
deleted file mode 100644
index f5e04ed..0000000
--- a/source/config/test-intercloud.yaml
+++ /dev/null
@@ -1,21 +0,0 @@
-# the following config is used when ENV is as follows:
-# NODE_ENV=test
-# NODE_APP_INSTANCE=intercloud
-openstack:
- auth:
- strategy: keystone
- endpoint: http://vhub4.intercloud.net:5000/v2.0
- tenant:
- id: 62a2d90992114994977fd6707bac5758
- username: peter
- password: # set OS_PASSWORD=xxxx environmental variable
- test:
- image: ee0fb445-0fc2-4fda-a2dc-175bf3cc3cb1
- flavor: 2312fd98-369e-4361-b967-606373891c11
-
-opnfv-promise:
- promise:
- policy:
- reservation:
- max-future-start-range: 7
- max-duration: 24