...
- scale up SDN-Controller/RESTconf interface (for device requests) for microserivces which are using only RESTconf (and optional websocket) interface, e.g. highstreet adapted transportPCE
- keep that service as generic as possible to avoid fixes due protocol changes
- horizontal scalability!!!
...
Uri | Description |
---|---|
^\/rests\/(data|operations)\/network-topology:network-topology\/topology=topology-netconf\/node=([a-zA-Z0-9\-_]+)[\?\/]+ | forward to odl of nodeId(match.group(2)) |
^\/restconf\/(config|operational)\/network-topology\/network-topology\/topology\/topology-netconf\/node\/([a-zA-Z0-9\-_]+) | forward to odl of nodeId(match.group(2)) |
^/odlux | handled by sdnc-web |
^/help | handled by sdnc-web |
^/yang-schema | multi request service (with caching?) |
^/controllers$ | list of controllers |
^/controllersodl/[a-zA-Z0-9\-](/.*)$ | forward to odl as match.group(1) |
^/jolokia | ??? can be handled with /odlcontrollers/... rule |
^/ready$ | multi request service for /ready |
Additional northbound interfaces
- GET /odl controllers
Code Block |
---|
[{
"id":"odl1",
"web":"http://172.18.0.3:8181",
"ws":"ws://172.18.0.3:8181/websocket",
"primary":true
},{
"id":"odl2",
"web":"http://172.18.0.5:8181",
"ws":"ws://172.18.0.5:8181/websocket",
"primary":false
}
] |
Configuration
test.config.json
...