IOS-XR L2VPN activators code refactored
[unimgr.git] / README.md
1 unimgr
2 ------
3
4
5 #### Create FcRoute
6 ```
7 POST :host/restconf/config/CoreModel-CoreNetworkModule-ObjectClasses:FcRouteList
8 Authorization: :basic-auth
9 Content-Type: application/json
10 {
11    "FcRoute": {
12        "id" : "new-route",
13        "ForwardingConstruct": [
14        {
15           "uuid": "an-original-name",
16           "FcPort": [ {
17                      "id": "a-end",
18                      "_ltpRefList": [ "host-a:a-end-ltp" ]
19                      }, {
20                      "id": "z-end",
21                      "_ltpRefList": [ "host-z:z-end-ltp" ]
22                      } ],
23           "forwardingDirection": "BIDIRECTIONAL",
24           "layerProtocolName": "funky-layer-protocol",
25           "_fcSpecRef": "nonexistent-fcspec"
26        }
27    ] }
28 }
29 ```
30
31 #### Delete FcRoute
32 ```
33 DELETE :host/restconf/config/CoreModel-CoreNetworkModule-ObjectClasses:FcRouteList/FcRoute/new-route
34 Authentication: :basic-auth
35 ```
36
37 #### List FcRoute
38 ```
39 GET :host/restconf/config/CoreModel-CoreNetworkModule-ObjectClasses:FcRouteList
40 Authorization: :basic-auth
41 ```