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

Add support to get the Profile ID of Network Port Profile #53

Open
patsch9 opened this issue Mar 15, 2024 · 0 comments
Open

Add support to get the Profile ID of Network Port Profile #53

patsch9 opened this issue Mar 15, 2024 · 0 comments

Comments

@patsch9
Copy link

patsch9 commented Mar 15, 2024

Please add support to get the ID of a network port profile by api. The ID is needed the set the profile of a switch port by api.

It would be nice if you can search the id by name.

https://developer.cisco.com/meraki/api/update-device-switch-port/

{
    "name": "My switch port",
    "tags": [ "tag1", "tag2" ],
    "enabled": true,
    "poeEnabled": true,
    "type": "access",
    "vlan": 10,
    "voiceVlan": 20,
    "allowedVlans": "1,3,5-10",
    "isolationEnabled": false,
    "rstpEnabled": true,
    "stpGuard": "disabled",
    "linkNegotiation": "Auto negotiate",
    "portScheduleId": "1234",
    "udld": "Alert only",
    "accessPolicyType": "Sticky MAC allow list",
    "accessPolicyNumber": 2,
    "macAllowList": [
        "34:56:fe:ce:8e:b0",
        "34:56:fe:ce:8e:b1"
    ],
    "stickyMacAllowList": [
        "34:56:fe:ce:8e:b0",
        "34:56:fe:ce:8e:b1"
    ],
    "stickyMacAllowListLimit": 5,
    "stormControlEnabled": true,
    "adaptivePolicyGroupId": "123",
    "peerSgtCapable": false,
    "flexibleStackingEnabled": true,
    "daiTrusted": false,
    "profile": {
        "enabled": false,
        "id": "1284392014819",
        "iname": "iname"
    }
}

Thank you

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

No branches or pull requests

1 participant