diff options
author | Mehreen Kaleem <mehreen.kaleem@us.fujitsu.com> | 2020-04-27 06:11:03 +0000 |
---|---|---|
committer | Mehreen Kaleem <mehreen.kaleem@us.fujitsu.com> | 2020-04-27 08:51:12 +0000 |
commit | 4408ab05ba1ee07b70d717b7183d76bd718653e5 (patch) | |
tree | de48eddaf697b1e9be5bad989d9c72ba4819b498 /msasimulator/README.md | |
parent | e3a5e83ea1385a3fdf56173027ba37ca6d17887f (diff) |
Added the base version of the controllers used
for the MDONS use case version(1.0.0SNAPSHOT)
with test cases.
Issue-ID: INT-1532
Change-Id: Ic51448e52722a5edef1ac07a978bb3fdaac07a5d
Signed-off-by: Mehreen Kaleem <mehreen.kaleem@us.fujitsu.com>
Diffstat (limited to 'msasimulator/README.md')
-rw-r--r-- | msasimulator/README.md | 98 |
1 files changed, 98 insertions, 0 deletions
diff --git a/msasimulator/README.md b/msasimulator/README.md new file mode 100644 index 0000000..dd5b3aa --- /dev/null +++ b/msasimulator/README.md @@ -0,0 +1,98 @@ +##MSA Controller Simulator Project. + +The simulator is a simple spring boot application which acts as the MSA controller for the MDONS use case + +##The API'S are as follows: + +1.Create Service : /cxf/openroadm/openroadm-services/create +2.Delete Service : /cxf/openroadm/openroadm-services/delete +3.Get Topology : /cxf/openroadm/v2/networks/otn-topology + +## +Sample create request: + +{ + "common-id":"123456", + "connection-type":"service", + "service-name":"svc-Customer1-orange-001_MDONS_OTN_MSA", + "sdnc-request-header":{ + "request-id":"fd532fb8-fb9a-477b-b0a9-f8f33ba79f23", + "rpc-action":"service-create", + "notification-url":"http://167.254.204.118:8090/receiver/services", + "request-system-id":"SDN-MLC" + }, + "service-a-end":{ + "service-rate":10, + "service-format":"Ethernet", + "clli":"OWB-AEND", + "node-id":"OWBSPDRNE15", + "optic-type":"gray", + "ethernet-encoding":"10GBASE-R", + "mapping-mode":"GFP-F", + "tx-direction":{ + "port":{ + "port-device-name":"router-1", + "port-name":"R1" + } + }, + "rx-direction":{ + "port":{ + "port-device-name":"router-1", + "port-name":"R1" + } + } + }, + "service-z-end":{ + "service-rate":10, + "service-format":"Ethernet", + "node-id":"OWBSPDRNE16", + "clli":"OWB-ZEND", + "optic-type":"gray", + "ethernet-encoding":"10GBASE-R", + "mapping-mode":"GFP-F", + "tx-direction":{ + "port":{ + "port-device-name":"router-2", + "port-name":"R2" + } + }, + "rx-direction":{ + "port":{ + "port-device-name":"router-2", + "port-name":"R2" + } + } + }, + "service-layer":"otn" +} + +##Sample delete request + + +{ + "sdnc-request-header":{ + "request-id":"fd532fb8-fb9a-477b-b0a9-f8f33ba79f23", + "rpc-action":"service-create", + "notification-url":"http://167.254.204.118:8090/receiver/services", + "request-system-id":"SDN-MLC" + }, + "service-delete-req-info":{ + "tail-retention": "no", + "service-name": "no" + } +} + +##To bring up locally along with the other instances go to the main directory dc-simluator +Execute docker-compose up + + +##To compile and build +mvn clean install + + +##To build docker image +mvn package -P docker + + + + |