09-15-2019 06:03 AM
Hi, guys
I prove the NSO API RESTCONF and I have a problem,
I tried to modify my router using PUT method and received this error:
This is my url:
and this is the pyload
{
"ciscosb-ipgroup:ip-groups": {
"ip-group": [
{
"name": "R_Users",
"ips": [
{
"seq": 0,
"ipv4": {
"subnet": {
"ip": "172.17.1.0",
"prefix-length": 30
}
}
},
{
"seq": 1,
"ipv4": {
"range": {
"start": "192.168.100.1",
"end": "192.168.100.10"
}
}
},
{
"seq": 2,
"ipv4": {
"single": "1.1.1.1"
}
}
]
},
{
"name": "Testeando",
"ips": [
{
"seq": 0,
"ipv4": {
"subnet": {
"ip": "192.168.60.0",
"prefix-length": 24
}
}
},
{
"seq": 1,
"ipv4": {
"subnet": {
"ip": "192.168.70.0",
"prefix-length": 24
}
}
}
]
},
{
"name": "Users",
"ips": [
{
"seq": 0,
"ipv4": {
"subnet": {
"ip": "192.168.10.0",
"prefix-length": 24
}
}
},
{
"seq": 1,
"ipv4": {
"subnet": {
"ip": "192.168.2.0",
"prefix-length": 24
}
}
},
{
"seq": 2,
"ipv4": {
"subnet": {
"ip": "192.168.20.0",
"prefix-length": 24
}
}
}
]
}
]
}
}
Thanks for your help
09-15-2019 04:08 PM
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the NSO Developer community: