f5-appsvcs-extension icon indicating copy to clipboard operation
f5-appsvcs-extension copied to clipboard

As3 depends-on property issue

Open noracb opened this issue 3 years ago • 0 comments

Environment Application Services Version: 3.38.0 BIG-IP Version: 15.1.5

Summary Trying to create a dependency on a virtual server following the documentation https://clouddocs.f5.com/products/extensions/f5-appsvcs-extension/latest/declarations/gslb.html#using-the-depends-on-property-in-gslb-pools the dependency was created but it appeared in the pool member page.

I would like it to be created in the virtual server page (see screenshots) but it doesn't appear to be supported, as there is no depends-on property for the GSLB_Server object.

I would also like to know what is the difference between having the dependency in the member page instead of the virtual server one.

In the first screenshot, the dependency can be seen selecting the members page, while I would like to see in the Virtual server page, like shown in the second screenshot.

1

2

Steps To Reproduce Steps to reproduce the behavior:

Submit the following declaration using PATCH method to AS3:

`[ { "op": "add", "path": "/Common/Shared/TestDependency", "value": { "class": "GSLB_Server", "dataCenter": { "use": "testDataCenter" }, "devices": [ { "address": "1.2.3.7" } ], "virtualServers": [ { "address": "1.2.3.8", "port": 5050 }, { "address": "1.2.3.9", "port": 5050

                }
            ]
        }},
{
    "op": "add",
    "path": "/Automation/Shared/TestDependency_Domain",
    "value": {
            "class": "GSLB_Domain",
            "domainName": "dependency.it",
            "resourceRecordType": "A",
            "poolLbMode": "ratio",
            "pools": [
                {
                    "use": "TestDependency_Pool"
                }
            ]
        }},
{
    "op": "add",
    "path": "/Automation/Shared/TestDependency_Pool",
    "value": {
            "class": "GSLB_Pool",
            "resourceRecordType": "A",
            "members": [
                {
                    "server": {
                        "use": "/Common/Shared/TestDependency"
                    },
                    "virtualServer": "0",
                    "dependsOn": "none"
                },
                {
                    "server": {
                        "use": "/Common/Shared/TestDependency"
                    },
                    "virtualServer": "1",
                    "dependsOn": [
                        "/Common/Shared/TestDependency:0"
                    ]
                }
            ]
        }}

]`

Expected behavior Dependency in the virtual server page.

Actual Behavior Dependency in the pool member page.

noracb avatar Sep 13 '22 13:09 noracb