{
"input": {
"id": {{eline_id}},
"name": {{eline_name}},
"user-label": {{user_label}},
"admin-status": "admin-up",
"operate-status": "operate-up",
"parent-ncd-id": "parent-ncd-id",
"snc-type": "simple",
"ingress-end-points": [{
"id": {{ingress_id}},
"ne-id": "openflow:3",
"ltp-id": 3,
"role": "master",
"access-action": "Keep",
"access-type": "Dot1Q",
"dot1q-vlan-bitmap": {{vlan_id}},
"qos": {
"qos-a2z-cir": "2000",
"qos-a2z-cbs": "250",
"qos-a2z-pir": "3000",
"qos-a2z-pbs": "375",
"qos-z2a-cir": "2000",
"qos-z2a-cbs": "250",
"qos-z2a-pir": "3000",
"qos-z2a-pbs": "375",
"qos-belonged-id": {{ingress_qos_id}}
}
}],
"egress-end-points": [{
"id": {{egress_id}},
"ne-id": "openflow:1",
"ltp-id": 3,
"role": "master",
"access-action": "Keep",
"access-type": "Dot1Q",
"dot1q-vlan-bitmap": {{vlan_id}},
"qos": {
"qos-a2z-cir": "2000",
"qos-a2z-cbs": "250",
"qos-a2z-pir": "3000",
"qos-a2z-pbs": "375",
"qos-z2a-cir": "2000",
"qos-z2a-cbs": "250",
"qos-z2a-pir": "3000",
"qos-z2a-pbs": "375",
"qos-belonged-id": {{egress_qos_id}}
}
}],
"calculate-constraint": {
"work-calculate-constraint": {
"explicit-include-ne": {
"explicit-include-ne-list": [{
"ne-id": "openflow:220249841762774"
}]
},
"explicit-include-link": {
"explicit-include-link-list": [{
"link-id": 149
}]
}
}
},
"pw": [{
"encaplate-type": "cep-mpls",
"ctrl-word-support": "nonsupport",
"sn-support": "nonsupport",
"vccv-type": "nonsupport",
"conn-ack-type": "none",
"admin-status": "admin-up",
"operate-status": "operate-up",
"id": {{pw_id}},
"name": {{pw_name}},
"index": {{index_id}},
"ingress-ne-id": "openflow:3",
"source-ip": "10.0.51.149",
"egress-ne-id": "openflow:1",
"destination-ip": "10.0.51.146",
"role": "master",
"route": [{
"id": {{pw_id}},
"name": {{route_name}},
"snc-id": {{pw_id}},
"layer-rate": "pw",
"xc": [{
"ne-id": "openflow:3",
"ingress-ltp-id": 3,
"egress-ltp-id": 3
}, {
"ne-id": "openflow:1",
"ingress-ltp-id": 3,
"egress-ltp-id": 3
}]
}]
}]
}
}
postman批量下发业务
猜你喜欢
转载自blog.csdn.net/ming1093/article/details/84889879
今日推荐
周排行