diff options
author | Manuel Buil Mur <manuel.buil@ericsson.com> | 2015-10-09 16:48:36 +0200 |
---|---|---|
committer | mbuil <manuel.buil@ericsson.com> | 2015-10-23 11:27:18 +0200 |
commit | 9c15bd683ccd0bf11d79ee0934a4cc3f78be521f (patch) | |
tree | b0183e0e4fa543523b358315f4b6503e903fa7b8 /vnfmgr/vnfmgr_odl/sample_config | |
parent | 40513772b3fa20c33f44fd36a8969f0763d1f9cd (diff) |
First version of VNF manager simulator
This simulator contacts Openstack to create the SF VMs and then contacts ODL to create the SFC.
It is not intended to be a replacement of other VNF Managers such as Tacker or OpenMANO, just a
simple simulation for testing and development purposes.
Change-Id: Iaf691035d1b8435f5fccf559aebf6f3ed1afd066
Signed-off-by: mbuil <manuel.buil@ericsson.com>
Diffstat (limited to 'vnfmgr/vnfmgr_odl/sample_config')
5 files changed, 154 insertions, 0 deletions
diff --git a/vnfmgr/vnfmgr_odl/sample_config/RestConf-RSP-HttpPost.json b/vnfmgr/vnfmgr_odl/sample_config/RestConf-RSP-HttpPost.json new file mode 100755 index 00000000..998d1e07 --- /dev/null +++ b/vnfmgr/vnfmgr_odl/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/vnfmgr_odl/sample_config/RestConf-SFCs-HttpPut.json b/vnfmgr/vnfmgr_odl/sample_config/RestConf-SFCs-HttpPut.json new file mode 100755 index 00000000..34449647 --- /dev/null +++ b/vnfmgr/vnfmgr_odl/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/vnfmgr_odl/sample_config/RestConf-SFFs-HttpPut.json b/vnfmgr/vnfmgr_odl/sample_config/RestConf-SFFs-HttpPut.json new file mode 100755 index 00000000..191fd540 --- /dev/null +++ b/vnfmgr/vnfmgr_odl/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/vnfmgr_odl/sample_config/RestConf-SFPs-HttpPut.json b/vnfmgr/vnfmgr_odl/sample_config/RestConf-SFPs-HttpPut.json new file mode 100755 index 00000000..da1f2c45 --- /dev/null +++ b/vnfmgr/vnfmgr_odl/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/vnfmgr_odl/sample_config/RestConf-SFs-HttpPut.json b/vnfmgr/vnfmgr_odl/sample_config/RestConf-SFs-HttpPut.json new file mode 100755 index 00000000..1ea27e79 --- /dev/null +++ b/vnfmgr/vnfmgr_odl/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" + } + ] + } +} |