Skip to content

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

Description

@patsch9

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions