diff options
author | jose.lausuch <jose.lausuch@ericsson.com> | 2016-12-13 12:31:39 +0100 |
---|---|---|
committer | jose.lausuch <jose.lausuch@ericsson.com> | 2016-12-15 12:37:52 +0100 |
commit | acf339f2840d0fe7a46187a0597704cf5b486214 (patch) | |
tree | de114d6482bcd7cfd9d057f756d8b6f8864911cb /sfc/tests/functest/vnfd-templates | |
parent | 1350624dbcf49c27ae0333719c2d7dda86ca7b0e (diff) |
Make SFC installable as a python module
New directory structure:
<root>/sfc
<root>/sfc/lib/
<root>/sfc/tests
<root>/sfc/tests/functest
JIRA: SFC-60
After installing sfc, the imports would be:
import sfc.tests.functest.x
import sfc.lib.x
Change-Id: Ib15172239aefdef65056d6598210a1b28a4b2eff
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'sfc/tests/functest/vnfd-templates')
-rw-r--r-- | sfc/tests/functest/vnfd-templates/test-vnfd1.yaml | 31 | ||||
-rw-r--r-- | sfc/tests/functest/vnfd-templates/test-vnfd2.yaml | 31 | ||||
-rw-r--r-- | sfc/tests/functest/vnfd-templates/test2-vnfd1.yaml | 31 | ||||
-rw-r--r-- | sfc/tests/functest/vnfd-templates/test2-vnfd2.yaml | 31 |
4 files changed, 124 insertions, 0 deletions
diff --git a/sfc/tests/functest/vnfd-templates/test-vnfd1.yaml b/sfc/tests/functest/vnfd-templates/test-vnfd1.yaml new file mode 100644 index 00000000..5c672e38 --- /dev/null +++ b/sfc/tests/functest/vnfd-templates/test-vnfd1.yaml @@ -0,0 +1,31 @@ +template_name: test-vnfd1 +description: firewall1-example + +service_properties: + Id: firewall1-vnfd + vendor: tacker + version: 1 + type: + - firewall1 +vdus: + vdu1: + id: vdu1 + vm_image: sf_nsh_colorado + instance_type: custom + service_type: firewall1 + + network_interfaces: + management: + network: example-net + management: true + + placement_policy: + availability_zone: nova + + auto-scaling: noop + monitoring_policy: noop + failure_policy: respawn + + config: + param0: key0 + param1: key1 diff --git a/sfc/tests/functest/vnfd-templates/test-vnfd2.yaml b/sfc/tests/functest/vnfd-templates/test-vnfd2.yaml new file mode 100644 index 00000000..8a570ab9 --- /dev/null +++ b/sfc/tests/functest/vnfd-templates/test-vnfd2.yaml @@ -0,0 +1,31 @@ +template_name: test-vnfd2 +description: firewall2-example + +service_properties: + Id: firewall2-vnfd + vendor: tacker + version: 1 + type: + - firewall2 +vdus: + vdu1: + id: vdu1 + vm_image: sf_nsh_colorado + instance_type: custom + service_type: firewall2 + + network_interfaces: + management: + network: example-net + management: true + + placement_policy: + availability_zone: nova + + auto-scaling: noop + monitoring_policy: noop + failure_policy: respawn + + config: + param0: key0 + param1: key1 diff --git a/sfc/tests/functest/vnfd-templates/test2-vnfd1.yaml b/sfc/tests/functest/vnfd-templates/test2-vnfd1.yaml new file mode 100644 index 00000000..5c672e38 --- /dev/null +++ b/sfc/tests/functest/vnfd-templates/test2-vnfd1.yaml @@ -0,0 +1,31 @@ +template_name: test-vnfd1 +description: firewall1-example + +service_properties: + Id: firewall1-vnfd + vendor: tacker + version: 1 + type: + - firewall1 +vdus: + vdu1: + id: vdu1 + vm_image: sf_nsh_colorado + instance_type: custom + service_type: firewall1 + + network_interfaces: + management: + network: example-net + management: true + + placement_policy: + availability_zone: nova + + auto-scaling: noop + monitoring_policy: noop + failure_policy: respawn + + config: + param0: key0 + param1: key1 diff --git a/sfc/tests/functest/vnfd-templates/test2-vnfd2.yaml b/sfc/tests/functest/vnfd-templates/test2-vnfd2.yaml new file mode 100644 index 00000000..8a570ab9 --- /dev/null +++ b/sfc/tests/functest/vnfd-templates/test2-vnfd2.yaml @@ -0,0 +1,31 @@ +template_name: test-vnfd2 +description: firewall2-example + +service_properties: + Id: firewall2-vnfd + vendor: tacker + version: 1 + type: + - firewall2 +vdus: + vdu1: + id: vdu1 + vm_image: sf_nsh_colorado + instance_type: custom + service_type: firewall2 + + network_interfaces: + management: + network: example-net + management: true + + placement_policy: + availability_zone: nova + + auto-scaling: noop + monitoring_policy: noop + failure_policy: respawn + + config: + param0: key0 + param1: key1 |