Virtual parameters
Zaid Abdulla
zaid at genieacs.com
Sat Mar 4 06:40:47 EST 2017
On Wed, 2017-03-01 at 06:56 -0900, Dan Morphis wrote:
> Can you post your script and some screenshots?
Here's a sample script:
declare("InternetGatewayDevice.ManagementServer.PeriodicInformInter
val", null, {value: 300});
declare("InternetGatewayDevice.ManagementServer.PeriodicInformEnabl
e", null, {value: true});
declare("InternetGatewayDevice.ManagementServer.ConnectionRequestUs
ername", null, {value: "genieacs"});
declare("InternetGatewayDevice.ManagementServer.ConnectionRequestPa
ssword", null, {value: "genieacs"});
declare("InternetGatewayDevice.DeviceInfo.SerialNumber", {value:
1});
declare("InternetGatewayDevice.DeviceInfo.ProductClass", {value:
1});
declare("InternetGatewayDevice.DeviceInfo.ManufacturerOUI", {value:
1});
declare("InternetGatewayDevice.DeviceInfo.Manufacturer", {value:
1});
declare("InternetGatewayDevice.WANDevice.*.WANConnectionDevice.1.WA
NPPConnection.*.MACAddress", {value: 1});
declare("InternetGatewayDevice.WANDevice.*.WANConnectionDevice.1.WA
NPPConnection.*.ExternalIPAddress", {value: Date.now()});
declare("InternetGatewayDevice.LANDevice.*.WLANConfiguration.*.SSID
", {value: Date.now()});
declare("InternetGatewayDevice.LANDevice.*.Hosts.Host.*.HostName",
{value: 1});
declare("InternetGatewayDevice.LANDevice.*.Hosts.Host.*.IPAddress",
{value: 1});
declare("InternetGatewayDevice.LANDevice.*.Hosts.Host.*.MACAddress"
, {value: 1});
> Heres what I have, and I'm getting an error: Channel has faulted;
> channel="default" retries=0 faultCode="script.ReferenceError"
> faultMessage="maxRevision is not defined"
That's a bug that was recently fixed. Pull the latest changes.
--
Zaid Abdulla <zaid at genieacs.com>
More information about the Users
mailing list