I need to perform the following operation in a provision script:
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.2 **Delete**
InternetGatewayDevice.WANDevice.1.WANConnectionDevice **Add**
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.2 **Refresh**
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.2.WANPPPConnection **Add**
i tried:
declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.2.*",null, {path: 0} ); // delete
declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice",null, {path: 1}); //add
declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.2.*",{path: Date.now()}); //referesh
declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.2.WANPPPConnection", {path: 1}); //add
declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.2.WANPPPConnection.1.*",{path: Date.now()}); //refresh
but doesnt works, the provision go in fault state
faultCode: "9003"
faultString: Invalid arguments
setParameterValuesFault: null
what is wrong?
can someone explain me a bit of teory of how is working in background the GenieACS so i can understand hot to properly use the declare function ?? (i read the genie ACS docs, but it seems that you already know how the things is working…)