aboutsummaryrefslogtreecommitdiffstats
path: root/vnfmgr_sim/sample_config
diff options
context:
space:
mode:
authorBrady Johnson <brady.allen.johnson@ericsson.com>2015-09-15 16:36:36 +0200
committerBrady Johnson <brady.allen.johnson@ericsson.com>2015-09-17 09:52:28 +0200
commitf23271a3d6f0ad734984382afbad7e1ec47ba2bc (patch)
treee2a15048dc17867dea6f22b83f069eed5fbc0a64 /vnfmgr_sim/sample_config
parente8c34d7014395471076d7f4884a87e229f6aa4e1 (diff)
First version of Vnf Mgr simulator
- Still doesnt communicate with OpenStack to create VMs - Includes a simple NSH sample configuration - Patch set 2: Fixed minor error in SFC sample conf file - Patch set 3: addressed code review comments Change-Id: I71b74f31afdd66a622c80a77d49055cd3dcacda4 Signed-off-by: Brady Johnson <brady.allen.johnson@ericsson.com>
Diffstat (limited to 'vnfmgr_sim/sample_config')
-rwxr-xr-xvnfmgr_sim/sample_config/RestConf-RSP-HttpPost.json7
-rwxr-xr-xvnfmgr_sim/sample_config/RestConf-SFCs-HttpPut.json22
-rwxr-xr-xvnfmgr_sim/sample_config/RestConf-SFFs-HttpPut.json75
-rwxr-xr-xvnfmgr_sim/sample_config/RestConf-SFPs-HttpPut.json12
-rwxr-xr-xvnfmgr_sim/sample_config/RestConf-SFs-HttpPut.json38
5 files changed, 154 insertions, 0 deletions
diff --git a/vnfmgr_sim/sample_config/RestConf-RSP-HttpPost.json b/vnfmgr_sim/sample_config/RestConf-RSP-HttpPost.json
new file mode 100755
index 00000000..998d1e07
--- /dev/null
+++ b/vnfmgr_sim/sample_config/RestConf-RSP-HttpPost.json
@@ -0,0 +1,7 @@
+{
+ "input": {
+ "name": "sfc-path-1",
+ "parent-service-function-path": "sfc-path-1",
+ "symmetric": true
+ }
+}
diff --git a/vnfmgr_sim/sample_config/RestConf-SFCs-HttpPut.json b/vnfmgr_sim/sample_config/RestConf-SFCs-HttpPut.json
new file mode 100755
index 00000000..34449647
--- /dev/null
+++ b/vnfmgr_sim/sample_config/RestConf-SFCs-HttpPut.json
@@ -0,0 +1,22 @@
+{
+ "service-function-chains": {
+ "service-function-chain": [
+ {
+ "name": "sfc-chain-1",
+ "symmetric": true,
+ "sfc-service-function": [
+ {
+ "name": "firewall-abstract1",
+ "type": "service-function-type:firewall"
+ },
+ {
+ "name": "firewall-abstract2",
+ "type": "service-function-type:firewall"
+ }
+ ]
+ }
+
+ ]
+ }
+}
+
diff --git a/vnfmgr_sim/sample_config/RestConf-SFFs-HttpPut.json b/vnfmgr_sim/sample_config/RestConf-SFFs-HttpPut.json
new file mode 100755
index 00000000..191fd540
--- /dev/null
+++ b/vnfmgr_sim/sample_config/RestConf-SFFs-HttpPut.json
@@ -0,0 +1,75 @@
+{
+ "service-function-forwarders": {
+ "service-function-forwarder": [
+ {
+ "name": "SFF2",
+ "sff-data-plane-locator": [
+ {
+ "name": "sff2-dp1",
+ "service-function-forwarder-ovs:ovs-bridge": {},
+ "data-plane-locator": {
+ "transport": "service-locator:vxlan-gpe",
+ "port": 6633,
+ "ip": "192.168.1.100"
+ },
+ "service-function-forwarder-ovs:ovs-options": {
+ "nshc1": "flow",
+ "nsp": "flow",
+ "key": "flow",
+ "remote-ip": "flow",
+ "nsi": "flow",
+ "nshc2": "flow",
+ "nshc3": "flow",
+ "dst-port": "6633",
+ "nshc4": "flow"
+ }
+ }
+ ],
+ "service-function-forwarder-ovs:ovs-bridge": {
+ "bridge-name": "ovs-br2"
+ },
+ "service-function-dictionary": [
+ {
+ "name": "firewall-2",
+ "type": "service-function-type:firewall",
+ "sff-sf-data-plane-locator": {
+ "service-function-forwarder-ovs:ovs-bridge": {},
+ "transport": "service-locator:vxlan-gpe",
+ "port": 6633,
+ "ip": "192.168.1.11"
+ }
+ },
+ {
+ "name": "firewall-3",
+ "type": "service-function-type:firewall",
+ "sff-sf-data-plane-locator": {
+ "service-function-forwarder-ovs:ovs-bridge": {},
+ "transport": "service-locator:vxlan-gpe",
+ "port": 6633,
+ "ip": "192.168.1.12"
+ }
+ }
+ ],
+ "ip-mgmt-address": "192.168.1.100",
+ "service-node": ""
+ },
+ {
+ "name": "SFF-CL",
+ "sff-data-plane-locator": [
+ {
+ "name": "ovs-br1",
+ "service-function-forwarder-ovs:ovs-bridge": {},
+ "data-plane-locator": {
+ "transport": "service-locator:vxlan-gpe",
+ "port": 30001,
+ "ip": "192.168.1.50"
+ }
+ }
+ ],
+ "rest-uri": "http://192.168.1.50:5000",
+ "ip-mgmt-address": "192.168.1.50",
+ "service-node": ""
+ }
+ ]
+ }
+}
diff --git a/vnfmgr_sim/sample_config/RestConf-SFPs-HttpPut.json b/vnfmgr_sim/sample_config/RestConf-SFPs-HttpPut.json
new file mode 100755
index 00000000..da1f2c45
--- /dev/null
+++ b/vnfmgr_sim/sample_config/RestConf-SFPs-HttpPut.json
@@ -0,0 +1,12 @@
+{
+ "service-function-paths": {
+ "service-function-path": [
+ {
+ "name": "sfc-path-1",
+ "service-chain-name": "sfc-chain-1",
+ "transport-type": "service-locator:vxlan-gpe",
+ "symmetric": true
+ }
+ ]
+ }
+}
diff --git a/vnfmgr_sim/sample_config/RestConf-SFs-HttpPut.json b/vnfmgr_sim/sample_config/RestConf-SFs-HttpPut.json
new file mode 100755
index 00000000..1ea27e79
--- /dev/null
+++ b/vnfmgr_sim/sample_config/RestConf-SFs-HttpPut.json
@@ -0,0 +1,38 @@
+{
+ "service-functions": {
+ "service-function": [
+ {
+ "name": "firewall-2",
+ "sf-data-plane-locator": [
+ {
+ "name": "firewall-2-dp1",
+ "ip": "192.168.1.11",
+ "port": 6633,
+ "transport": "service-locator:vxlan-gpe",
+ "service-function-forwarder": "SFF2"
+ }
+ ],
+ "rest-uri": "http://192.168.1.11:5000",
+ "nsh-aware": true,
+ "ip-mgmt-address": "192.168.1.11",
+ "type": "service-function-type:firewall"
+ },
+ {
+ "name": "firewall-3",
+ "sf-data-plane-locator": [
+ {
+ "name": "firewall-3-dp1",
+ "ip": "192.168.1.12",
+ "port": 6633,
+ "transport": "service-locator:vxlan-gpe",
+ "service-function-forwarder": "SFF2"
+ }
+ ],
+ "rest-uri": "http://192.168.1.12:5000",
+ "nsh-aware": true,
+ "ip-mgmt-address": "192.168.1.12",
+ "type": "service-function-type:firewall"
+ }
+ ]
+ }
+}