JoshBarrow
Jul 09, 2021Cirrus
AS3 Declaration
Morning Guys,
I'm having a little issue. I POST an AS3 declaration and it deploys it to the F5 just fine.
The problem comes in when I try to create another Virtual Server the same way with a different name/different IP and what not, it will overwrite the previous. Anyone know how to solve this?
{
"class": "AS3",
"action": "deploy",
"persist": false,
"declaration": {
"class": "ADC",
"label": "josh_80_test3",
"schemaVersion": "3.0.0",
"app_admins": {
"class": "Tenant",
"A2": {
"class": "Application",
"joshtest_80_test3": {
"label": "josh_80_test3",
"class": "Service_HTTP",
"virtualAddresses": [
"192.168.1.10"
],
"pool": "josh_test_pool3"
},
"josh_test_pool3": {
"class": "Pool",
"monitors": [
"http"
],
"members": [
{
"servicePort": 89,
"serverAddresses": [
"192.0.1.12",
"192.0.1.13"
]
}
]
}
}
}
}
}
{
"class": "AS3",
"action": "deploy",
"persist": false,
"declaration": {
"class": "ADC",
"label": "josh_80_test2",
"schemaVersion": "3.0.0",
"app_admins": {
"class": "Tenant",
"A2": {
"class": "Application",
"joshtest_80_test2": {
"label": "josh_80_test2",
"class": "Service_HTTP",
"virtualAddresses": [
"10.0.1.13"
],
"pool": "josh_test_pool2"
},
"josh_test_pool2": {
"class": "Pool",
"monitors": [
"http"
],
"members": [
{
"servicePort": 90,
"serverAddresses": [
"192.0.1.12",
"192.0.1.13"
]
}
]
}
}
}
}
}