From f23271a3d6f0ad734984382afbad7e1ec47ba2bc Mon Sep 17 00:00:00 2001 From: Brady Johnson Date: Tue, 15 Sep 2015 16:36:36 +0200 Subject: 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 --- .../sample_config/RestConf-SFFs-HttpPut.json | 75 ++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100755 vnfmgr_sim/sample_config/RestConf-SFFs-HttpPut.json (limited to 'vnfmgr_sim/sample_config/RestConf-SFFs-HttpPut.json') 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": "" + } + ] + } +} -- cgit 1.2.3-korg