Hi all, just trying to configure a new instance in a single line, and I can’t figure out how to concatenate multiple options for one param:
Here is an example:
declare(“InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.[X_HW_SERVICELIST:VOICE_INTERNET,Username:hernan,Password:domus2024,X_HW_VLAN:300,X_HW_LanInterface:InternetGatewayDevice.LANDevice.1.LANEthernetInterfaceConfig.1,InternetGatewayDevice.LANDevice.1.LANEthernetInterfaceConfig.2,InternetGatewayDevice.LANDevice.1.LANEthernetInterfaceConfig.3,InternetGatewayDevice.LANDevice.1.LANEthernetInterfaceConfig.4,InternetGatewayDevice.LANDevice.1.WLANConfiguration.1,InternetGatewayDevice.LANDevice.1.WLANConfiguration.6,InternetGatewayDevice.LANDevice.1.WLANConfiguration.10]”, {path: 1}, {path: 1});
The param shows every interface separate by commas, when inside the declare function, I’ve tried enclosing them with ’ or ` or ´ or " and nothing seems to work…Tried using _ because it worked with X_HW_SERVICELIST param options, but for H_XW_LanInterface it does not work.
Some “quoting” options are accepted but will fail when running the script (Invalid parameter path ) and using " will not allow me to save with Syntax error message.
Any idea?
Thanks !