Issue Adding or Deleting Objects

Devin Overington Devin.Overington at gtelcorp.com
Thu Oct 4 08:53:05 EDT 2018


>> Can you please post your provision scripts (removing anything sensitive of course)?

Sure, below is the one I have been working with. I have other aspects of the modem to modify (such as the SSID and password) that work fine so I’m not worried about those that are contained in a different provision script. In this script, I am trying to make sure the modem has 8 total WANConnectionDevice(s) on the ADSL WANDevice.1. The first WANConnectionDevice is supposed to be the Internet service with a PPPOE login and the remaining 7 are supposed to be bridged interfaces for IPTV service ranging from virtual circuit 36-42.

declare ("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.*.WANPPPConnection", null, {path: 1});
declare ("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.*.WANIPConnection", null, {path: 7});
declare ("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.*.WANDSLLinkConfig", null, {path: 7});
declare ("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.*.WANPPPConnection.1.[ConnectionType:IP_Routed,Name:Internet,Username:pppoeuser,Password:pppoepass]", {path: 1}, {path: 1});
declare ("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.*.WANIPConnection.1.[ConnectionType:IP_Bridged,Name:Video_36,Enable:true]", {path: 1}, {path: 1});
declare ("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.*.WANDSLLinkConfig.[DestinationAddress:PVC: 0/36,Enable:true]", {path: 1}, {path: 1});
declare ("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.*.WANIPConnection.1.[ConnectionType:IP_Bridged,Name:Video_37,Enable:true]", {path: 1}, {path: 1});
declare ("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.*.WANDSLLinkConfig.[DestinationAddress:PVC: 0/37,Enable:true]", {path: 1}, {path: 1});
declare ("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.*.WANIPConnection.1.[ConnectionType:IP_Bridged,Name:Video_38,Enable:true]", {path: 1}, {path: 1});
declare ("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.*.WANDSLLinkConfig.[DestinationAddress:PVC: 0/38,Enable:true]", {path: 1}, {path: 1});
declare ("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.*.WANIPConnection.1.[ConnectionType:IP_Bridged,Name:Video_39,Enable:true]", {path: 1}, {path: 1});
declare ("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.*.WANDSLLinkConfig.[DestinationAddress:PVC: 0/39,Enable:true]", {path: 1}, {path: 1});
declare ("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.*.WANIPConnection.1.[ConnectionType:IP_Bridged,Name:Video_40,Enable:true]", {path: 1}, {path: 1});
declare ("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.*.WANDSLLinkConfig.[DestinationAddress:PVC: 0/40,Enable:true]", {path: 1}, {path: 1});
declare ("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.*.WANIPConnection.1.[ConnectionType:IP_Bridged,Name:Video_41,Enable:true]", {path: 1}, {path: 1});
declare ("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.*.WANDSLLinkConfig.[DestinationAddress:PVC: 0/41,Enable:true]", {path: 1}, {path: 1});
declare ("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.*.WANIPConnection.1.[ConnectionType:IP_Bridged,Name:Video_42,Enable:true]", {path: 1}, {path: 1});
declare ("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.*.WANDSLLinkConfig.[DestinationAddress:PVC: 0/42,Enable:true]", {path: 1}, {path: 1});


Thanks,
Devin


More information about the Users mailing list