diff options
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" + } + ] + } +} |