The sections below give details about the configuration settings for the components that can be configured.
Note
For more information about BIER terminology, see YANG Data Model for BIER Protocol.
REST API : POST /restconf/operations/bier-topology-api:configure-domain
Sample JSON Data
{
"input": {
"topo-id": " flow:1" ,
"domain ":[
{
"domain-id": " 1",
},
{
"domain-id": " 2",
}
]
}
}
REST API : POST /restconf/operations/bier-topology-api:configure-subdomain
Sample JSON Data
{
"input": {
"topo-id": " flow:1" ,
"domain-id":" 1",
"sub-domain":[
{
"sub-domain-id":" 0",
},
{
"sub-domain-id":"1",
}
]
}
}
REST API : POST /restconf/operations/bier-topology-api:configure-node
Sample JSON Data
{
"input": {
"topology-id": "flow:1",
"node-id": "openflow:3",
"domain": [
{
"domain-id": "2",
"bier-global": {
"sub-domain": [
{
"sub-domain-id": "0",
"igp-type": "ISIS",
"mt-id": "1",
"bfr-id": "3",
"bitstringlength": "64-bit",
"af": {
"ipv4": [
{
"bitstringlength": "64",
"bier-mpls-label-base": "56",
"bier-mpls-label-range-size": "100"
}
]
}
}
],
"encapsulation-type": "bier-encapsulation-mpls",
"bitstringlength": "64-bit",
"bfr-id": "33",
"ipv4-bfr-prefix": "192.168.1.1/24",
"ipv6-bfr-prefix": "1030:0:0:0:C9B4:FF12:48AA:1A2B/60"
}
}
]
}
}
REST API : POST /restconf/operations/bier-topology-api:load-topology
no request body.
REST API : POST /restconf/operations/bier-topology-api:query-topology
Sample JSON Data
{
"input": {
"topo-id": " flow:1"
}
}
REST API : POST /restconf/operations/bier-topology-api:query-node
Sample JSON Data
{
"input": {
"topo-id": " flow:1",
"node-id": "openflow:3"
}
}
REST API : POST /restconf/operations/bier-topology-api:query-link
Sample JSON Data
{
"input": {
"topo-id": " flow:1",
"node-id": "openflow:3"
}
}
REST API : POST /restconf/operations/bier-topology-api:query-domain
Sample JSON Data
{
"input": {
"topo-id": " flow:1"
}
}
REST API : POST /restconf/operations/bier-topology-api:query-subdomain
Sample JSON Data
{
"input": {
"topo-id": " flow:1",
"domain-id": "1"
}
}
REST API : POST /restconf/operations/bier-topology-api:query-subdomain-node
Sample JSON Data
{
"input": {
"topology-id": "flow:1",
"domain-id": "1",
"sub-domain-id": "0"
}
}
REST API : POST /restconf/operations/bier-topology-api:query-subdomain-link
Sample JSON Data
{
"input": {
"topology-id": "flow:1",
"domain-id": "1",
"sub-domain-id": "0"
}
}
REST API : POST /restconf/operations/bier-channel-api:add-channel
Sample JSON Data
{
"input": {
"topology-id": "flow:1",
"name": "channel-1",
"src-ip": "1.1.1.1",
"dst-group": "224.1.1.1",
"domain-id": "1",
"sub-domain-id": "11",
"source-wildcard": "24",
"group-wildcard": "30"
}
}
REST API : POST /restconf/operations/bier-channel-api:modify-channel
Sample JSON Data
{
"input": {
"topology-id": "flow:1",
"name": "channel-1",
"src-ip": "2.2.2.2",
"dst-group": "225.1.1.1",
"domain-id": "1",
"sub-domain-id": "11",
"source-wildcard": "24",
"group-wildcard": "30"
}
}
REST API : POST /restconf/operations/bier-channel-api:deploy-channel
Sample JSON Data
{
"input": {
"topology-id": "flow:1",
"channel-name": "channel-1",
"ingress-node": "node1",
"egress-node": [
{
"node-id": "node2"
},
{
"node-id": "node3"
}
]
}
}
REST API : POST /restconf/operations/bier-channel-api:get-channel
Sample JSON Data
{
"input": {
"topology-id": "flow:1"
}
}
REST API : POST /restconf/operations/bier-channel-api:query-channel
Sample JSON Data
{
"input": {
"topology-id": "flow:1",
"channel-name": [
"channel-1",
"channel-2"
]
}
}
REST API : POST /restconf/operations/bier-channel-api:remove-channel
Sample JSON Data
{
"input": {
"topology-id": "flow:1",
"channel-name": "channel-1"
}
}
REST API : POST /restconf/operations/bier-topology-api:delete-node
Sample JSON Data
{
"input": {
"topo-id": "flow:1",
"node-id": " openflow:3",
"domain-id": "1",
"subdomain-id": "0"
}
}
REST API : POST /restconf/operations/bier-topology-api:delete-subdomian
Sample JSON Data
{
"input": {
"topo-id": "flow:1",
"domain-id": "1",
"subdomain-id": "0"
}
}
REST API : POST /restconf/operations/bier-topology-api:delete-domian
Sample JSON Data
{
"input": {
"topo-id": "flow:1",
"domain-id": "1"
}
}