New L3 Interface For Switch Stack -- Error got multiple values for argument 'subnet'

Heef
Conversationalist

New L3 Interface For Switch Stack -- Error got multiple values for argument 'subnet'

I'm trying to create a new L3 interface on a switch stack using the API here:

 

https://developer.cisco.com/meraki/api-latest/#!create-network-switch-stack-routing-interface

 

When I place the call, I receive: 

 

TypeError: createNetworkSwitchStackRoutingInterface() got multiple values for argument 'subnet'

 

I've tried rearranging the arguments but no luck.  This is what my call looks like:

 

 

 

response = dashboard.switch.createNetworkSwitchStackRoutingInterface(
    network_id, switch_stack_id, name, vlan_id,
    subnet='192.168.1.0/24',
    interfaceIp='192.168.1.2',
    multicastRouting='disabled',
    defaultGateway='192.168.1.1',
    ospfSettings={'area': '0', 'cost': 1, 'isPassiveEnabled': True}
)

 

 
Has anyone else run into this issue?
0 REPLIES 0
Get notified when there are additional replies to this discussion.
Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.