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

GSLB depends-on attribute requires to use /Common/Shared/ objects - allow usage of objects outside /Common/Shared

Open emalzer opened this issue 8 months ago • 0 comments

Is your feature request related to a problem? Please describe.

In the documentation (https://clouddocs.f5.com/products/extensions/f5-appsvcs-extension/latest/declarations/gslb.html#using-the-depends-on-property-in-gslb-pools) the attribute depends-on requires that the referenced object has to reside in the /Common/Shared partition which requires to deploy GSLB Datacenter/Server/Virtual Servers through AS3 and does not allow anything else. If we do not deploy this kind of configuration through AS3 for whatever reason, we cannot use the depends-on attribute.

/Common/Shared/<NAME_OF_GSLB_SERVER>:<GSLB_SERVER_VIRTUAL>

Also the JSON schema enforces this behaviour:

        "dependsOn": {
          "description": "Specifies the name of the virtual server on which this pool member depends.",
          "type": [
            "string",
            "array"
          ],
          "oneOf": [
            {
              "type": "string",
              "const": "none"
            },
            {
              "type": "array",
              "items": {
                "type": "string",
                "pattern": "^/Common/Shared/.*:.*"
              }
            }
          ]
        }

Describe the solution you'd like

Allow the usage of references outside the /Common/Shared namespace.

emalzer avatar Mar 18 '25 09:03 emalzer