Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to define device name for GSLB_Server object #855

Open
mkyrc opened this issue Jul 17, 2024 · 0 comments
Open

Unable to define device name for GSLB_Server object #855

mkyrc opened this issue Jul 17, 2024 · 0 comments
Labels
enhancement New feature or request untriaged Issue needs to be reviewed for validity

Comments

@mkyrc
Copy link

mkyrc commented Jul 17, 2024

Is your feature request related to a problem?

By using AS3 is not possible to define device name within GSLB Server configuration. After AS3 deployment is the device name created as sequence nr (0, 1, 2, etc) and in the GUI it is not so clear what's the device.

AS3 definition example:

{
    "$schema": "https://raw.githubusercontent.com/F5Networks/f5-appsvcs-extension/v3.46.0/schema/3.46.0/as3-schema.json",
    "class": "AS3",
    "action": "deploy",
    "persist": true,
    "declaration": {
        "class": "ADC",
        "schemaVersion": "3.46.0",
        "id": "test-gslb-server",
        "updateMode": "selective",
        "Common": {
            "class": "Tenant",
            "Shared": {
                "class": "Application",
                "template": "shared",
                "dc1": {
                    "class": "GSLB_Data_Center"
                },
                "test_bigip_server": {
                    "class": "GSLB_Server",
                    "dataCenter": {
                        "use": "dc1"
                    },
                    "exposeRouteDomainsEnabled": false,
                    "enabled": true,
                    "devices": [
                        {
                            "address": "10.20.30.41"                         
                        },
                        {
                            "address": "10.20.30.42"
                        }
                    ],
                    "virtualServerDiscoveryMode": "enabled"
                }
            }
        }
    }
}

By using GUI is possible define it with device name, not only IP address:
image

Describe the solution you'd like

It will be nice to have possibility to define device name, not only IP address with AS3.

AS3 example (only part of GSLB_Server definition) whre the change is required:

"test_bigip_server": {
                    "class": "GSLB_Server",
                    "dataCenter": {
                        "use": "dc1"
                    },
                    "exposeRouteDomainsEnabled": false,
                    "enabled": true,
                    "devices": [
                        {
                            "name": "bigip-device-01", <<< here
                            "address": "10.20.30.41"                         
                        },
                        {
                            "name": "bigip-device-02", <<< here
                            "address": "10.20.30.42"
                        }
                    ],
                    "virtualServerDiscoveryMode": "enabled"
                }
@mkyrc mkyrc added enhancement New feature or request untriaged Issue needs to be reviewed for validity labels Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request untriaged Issue needs to be reviewed for validity
Projects
None yet
Development

No branches or pull requests

1 participant