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

switchport fails when using 100Megabit (auto) option. #235

Closed
jeffkala opened this issue May 18, 2021 · 1 comment · Fixed by #236
Closed

switchport fails when using 100Megabit (auto) option. #235

jeffkala opened this issue May 18, 2021 · 1 comment · Fixed by #236
Assignees

Comments

@jeffkala
Copy link
Contributor

{
"msg": "HTTP error 400 - https://api.meraki.com/api/v1/devices/Q2CX-RJWZ-XCAX/switch/ports/7 - linkNegotiation must be in one of three formats... full negotiation: "Auto negotiate", duplex negotiation only: "100 Megabit (auto)", no negotiation: "100 Megabit full duplex (forced)"",
"changed": false,
"response": "OK (unknown bytes)",
"status": 400,
"invocation": {
"module_args": {
"auth_key": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
"state": "present",
"serial": "Q2CX-RJWZ-XCAX",
"number": "7",
"name": "Test AWX Voice VLAN Profile",
"enabled": true,
"type": "access",
"access_policy_type": "Open",
"vlan": 10,
"voice_vlan": 100,
"link_negotiation": "100Megabit (auto)",
"stp_guard": "bpdu guard",
"isolation_enabled": false,
"rstp_enabled": true,
"poe_enabled": true,
"host": "api.meraki.com",
"use_proxy": false,
"use_https": true,
"validate_certs": true,
"output_format": "snakecase",
"output_level": "normal",
"timeout": 30,
"rate_limit_retry_time": 165,
"internal_error_retry_time": 60,
"allowed_vlans": [
"all"
],
"org_name": null,
"org_id": null,
"tags": null,
"access_policy_number": null,
"mac_allow_list": null,
"sticky_mac_allow_list": null,
"sticky_mac_allow_list_limit": null,
"follow_redirects": "all",
"protocol": "https"
}
},
"_ansible_no_log": false,
"_ansible_delegated_vars": {}
}

Looks like the choices in the module allow for 100Megabit (auto), however the logic is requiring it to be 100 Megabit (auto).

@jeffkala
Copy link
Contributor Author

@kbreit feel free to assign this one to me. Hoping to look at it deeper this week.

jeffkala added a commit to jeffkala/ansible-meraki that referenced this issue May 18, 2021
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

Successfully merging a pull request may close this issue.

1 participant