Hi,
i need to add a vlan interface to a simple cluster (ClusterXL). I am using the REST API Interface of the Management server. The task is created successfully (HTTP 200 with task-id in return). However the task fails with the following message: "line 536:21, no viable alternative at input ':'"
I am using R80.40 (API version 1.6.1). For the API calls I am using ansible or postman.
Any idea how to troubleshoot this?
Here is the json from the api call:
{
"name": "zzz",
"interfaces": {
"add": {
"name": "bond3.3000",
"comments": "iDMZ-ADC-WEB-Prod",
"ipv4-address": "zzz",
"ipv4-mask-length": "24",
"ipv6-address": "zzz",
"ipv6-mask-length": "64",
"interface-type": "cluster",
"topology": "internal",
"topology-settings": {
"interface-leads-to-dmz": "true",
"ip-address-behind-this-interface": "network defined by the interface ip and net mask"
},
"anti-spoofing": "true",
"security-zone": "true",
"security-zone-settings": {
"auto-calculated": "true"
}
}
},
"members": {
"update": [
{
"name": "zzz",
"interfaces": {
"name": "bond3.3000",
"ipv4-address": "zzz",
"ipv4-mask-length": "24",
"ipv6-address": "zzz",
"ipv6-mask-length": "64"
}
},
{
"name": "zzz",
"interfaces": {
"name": "bond3.3000",
"ipv4-address": "zzz",
"ipv4-mask-length": "24",
"ipv6-address": "zzz",
"ipv6-mask-length": "64"
}
}
]
}
}