I tried to use different function from that class to update mgmt interface, but It doesn't work for me. What am I doing wrong? How can I update interface WAN2?
below is just a portion of code.
data = {'wan1': {'wanEnabled': 'not configured', 'usingStaticIp': False, 'vlan': None}, 'wan2': {'wanEnabled': 'not configured','usingStaticIp': True,'staticIp': '1.1.1.1','staticSubnetMask': '255.255.255.252','staticGatewayIp': '1.1.1.2.','staticDns': [ '8.8.8.8', '8.8.8.8.']} 'vlan': None}}
settings = m.management_interface_settings.getNetworkDeviceManagementInterfaceSettings(networkID,mx_serial_number, data)