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

meraki_mx_vlan - add groupPolicyId #419

Open
DerrickTJ opened this issue Jan 13, 2023 · 1 comment
Open

meraki_mx_vlan - add groupPolicyId #419

DerrickTJ opened this issue Jan 13, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@DerrickTJ
Copy link

Would like to have the ability to apply groupPolicyId to the VLAN as it is part of the API.

The easy path is to just ask for the groupPolicyId and be done with it. The extra mile would be to allow for the group policy name instead, and do the look up against {{baseUrl}}/networks/{{networkID}}/groupPolicies for the groupPolicyId

groupPolicyId is an optional field. Not required.

Example VLAN with a groupPolicyId applied

    {
        "id": 4,
        "networkId": "L_#####",
        "name": "PublicWifi",
        "applianceIp": "192.168.#.#",
        "subnet": "192.168.#.0/23",
        "groupPolicyId": "100",
        "fixedIpAssignments": {},
        "reservedIpRanges": [],
        "dnsNameservers": "opendns",
        "dhcpHandling": "Run a DHCP server",
        "dhcpLeaseTime": "1 hour",
        "dhcpBootOptionsEnabled": false,
        "dhcpOptions": [],
        "interfaceId": "###",
        "mandatoryDhcp": {
            "enabled": false
        }
@kbreit kbreit self-assigned this Jan 18, 2023
@kbreit kbreit added the enhancement New feature or request label Jan 18, 2023
@kbreit
Copy link
Collaborator

kbreit commented Jan 18, 2023

I can work on this and shouldn't be too bad to accept both ID and name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants