-
Bug
-
Resolution: Done
-
Medium
-
None
-
None
-
None
When I configure VxLAN for an interface in the same way as I did, I get validation error.
Server Error : The server encountered an unexpected condition which prevented it from fulfilling the request. - : Failed to validate DataTreeModification
see log for more info.
I tried to set src IP to 10.0.10.1
which fits the specified regex:
(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.)
([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p
{N}\p
{L}]+)?
defined in ietf-inet-types.yang
Tests steps:
1. login to Honeycomb as admin
2. go to ietf-interfaces --> config --> interfaces
3. GET the current status
4. add VxLAN src address 10.0.10.1
5. PUT the configuration
Result:
The error is received, see above.
The request is generated by HC, I just fill the fields. The request shown by HC is as follows, the changed part is red:
http://10.0.0.5:8181/restconf/config/ietf-interfaces:interfaces
{
"interfaces": {
"interface": [
{
"name": "GigabitEthernet0/9/0",
"type": "iana-if-type:ethernetCsmacd",
"enabled": "false",
"ietf-ip:ipv6": {
"enabled": "true",
"forwarding": "true",
"mtu": "9000",
"neighbor": [
],
"dup-addr-detect-transmits": "5"
},
"v3po:ethernet":
,
"v3po:routing":
,
* "v3po:vxlan": {
"src": "10.0.10.1"*
},
"v3po:l2":
},
{
"name": "GigabitEthernet0/8/0",
"type": "iana-if-type:ethernetCsmacd",
"v3po:l2":
,
"enabled": false
},
,
,
,
,
{
"name": "pg/stream-1",
"type": "iana-if-type:ethernetCsmacd",
"enabled": "true",
"ietf-ip:ipv4": {
"address": [
]
},
"v3po:vxlan":
}
]
}
}