Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- log("Set_Config_Mode");
- const now = Date.now();
- let serialNumber = declare("DeviceID.SerialNumber", {value: 1});
- let productClass = declare("DeviceID.ProductClass", {value: 1});
- let oui = declare("DeviceID.OUI", {value: 1});
- let args = {serial: serialNumber.value[0], productClass: productClass.value[0], oui: oui.value[0]};
- /******* I'm not sure if the calling of the external script is necessary to repro the defect *******/
- //let cpeConfig = ext('cpe-config', 'getConfig', JSON.stringify(args));
- let cpeConfig = {config: "Managed"};
- log('Config? ' + cpeConfig.config);
- declare("Tags." + cpeConfig.config, null, {value: true});
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement