Hello,
I am newbie to GenieACS community.
I added IMSI, IMEI filtering and both working fine. But PCI, MAC address filtering not working.
How can I get work it?
Editing filters
- label: “‘Serial number’”
parameter: DeviceID.SerialNumber
type: “‘string’” - label: “‘Product class’”
parameter: DeviceID.ProductClass
type: “‘string’” - label: “‘IMSI’”
parameter: InternetGatewayDevice.DeviceInfo.IMSI
type: “‘string’” - label: “‘IMEI’”
parameter: InternetGatewayDevice.DeviceInfo.IMEI
type: “‘string’” - label: “‘PCI’”
parameter: InternetGatewayDevice.WANDevice..WANConnectionDevice..WANIPConnection.*.PCI
type: “‘string’” - label: “‘MAC’”
parameter: InternetGatewayDevice.WANDevice..WANConnectionDevice..WANIPConnection.*.MACAddress
type: “‘string’” - label: “‘Tag’”
type: “‘tag’”
==========
Editing device page:
- type: “‘tags’”
- type: “‘ping’”
- type: “‘parameter-list’”
parameters:- element: “‘span.inform’”
label: “‘Last inform’”
parameter: DATE_STRING(Events.Inform)
type: “‘container’”
components:- type: “‘parameter’”
- chart: “‘online’”
type: “‘overview-dot’” - type: “‘summon-button’”
parameters:- InternetGatewayDevice.DeviceInfo.HardwareVersion
- InternetGatewayDevice.DeviceInfo.SoftwareVersion
- InternetGatewayDevice.DeviceInfo.IMEI
- InternetGatewayDevice.DeviceInfo.IMSI
- InternetGatewayDevice.WANDevice..WANConnectionDevice..WANIPConnection.*.MACAddress
- InternetGatewayDevice.WANDevice..WANConnectionDevice..WANIPConnection.*.ExternalIPAddress
- InternetGatewayDevice.LANDevice..WLANConfiguration..SSID
- InternetGatewayDevice.LANDevice..WLANConfiguration..KeyPassphrase
- InternetGatewayDevice.LANDevice..Hosts.Host..HostName
- InternetGatewayDevice.LANDevice..Hosts.Host..IPAddress
- InternetGatewayDevice.LANDevice..Hosts.Host..MACAddress
- InternetGatewayDevice.WANDevice..WANConnectionDevice..WANIPConnection.*.RSRP
- InternetGatewayDevice.WANDevice..WANConnectionDevice..WANIPConnection.*.PCI
- label: “‘Serial number’”
parameter: DeviceID.SerialNumber - label: “‘Product class’”
parameter: DeviceID.ProductClass - label: “‘OUI’”
parameter: DeviceID.OUI - label: “‘Manufacturer’”
parameter: DeviceID.Manufacturer - label: “‘Hardware version’”
parameter: InternetGatewayDevice.DeviceInfo.HardwareVersion - label: “‘Software version’”
parameter: InternetGatewayDevice.DeviceInfo.SoftwareVersion - label: “‘---------------’”
type: “‘separator’” - label: “‘IMEI’”
parameter: InternetGatewayDevice.DeviceInfo.IMEI - label: “‘IMSI’”
parameter: InternetGatewayDevice.DeviceInfo.IMSI - label: “‘PCI’”
parameter: InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.PCI - label: “‘---------------’”
type: “‘separator’” - label: “‘MAC’”
parameter: InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.MACAddress - label: ‘“WAN1”’
parameter: InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.ExternalIPAddress - label: “‘---------------’”
type: “‘separator’” - label: “‘MAC’”
parameter: InternetGatewayDevice.WANDevice.2.WANConnectionDevice.1.WANIPConnection.1.MACAddress - label: ‘“WAN2”’
parameter: InternetGatewayDevice.WANDevice.2.WANConnectionDevice.1.WANIPConnection.1.ExternalIPAddress - label: “‘---------------’”
type: “‘separator’” - label: “‘WLAN SSID’”
parameter: InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.SSID - label: ‘“WLAN SSID2”’
parameter: InternetGatewayDevice.LANDevice.1.WLANConfiguration.2.SSID - label: “‘WLAN passphrase’”
parameter: InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.KeyPassphrase
- element: “‘span.inform’”
- label: “‘LAN hosts’”
parameter: InternetGatewayDevice.LANDevice.1.Hosts.Host
type: “‘parameter-table’”
childParameters:- label: “‘Host name’”
parameter: HostName - label: “‘IP address’”
parameter: IPAddress - label: “‘MAC address’”
parameter: MACAddress
- label: “‘Host name’”
- element: “‘div’”
type: “‘container’”
components:- element: “‘h3’”
type: “‘container’”
components:- “‘Faults’”
- type: “‘device-faults’”
- element: “‘h3’”
- element: “‘div.container-full-width’”
type: “‘container’”
components:- element: “‘h3’”
type: “‘container’”
components:- “‘All parameters’”
- limit: 500
type: “‘all-parameters’”
- element: “‘h3’”
- type: “‘device-actions’”
==========
Editing index page:
- type: “‘tags’”
- type: “‘ping’”
- type: “‘parameter-list’”
parameters:- element: “‘span.inform’”
label: “‘Last inform’”
parameter: DATE_STRING(Events.Inform)
type: “‘container’”
components:- type: “‘parameter’”
- chart: “‘online’”
type: “‘overview-dot’” - type: “‘summon-button’”
parameters:- InternetGatewayDevice.DeviceInfo.HardwareVersion
- InternetGatewayDevice.DeviceInfo.SoftwareVersion
- InternetGatewayDevice.DeviceInfo.IMEI
- InternetGatewayDevice.DeviceInfo.IMSI
- InternetGatewayDevice.WANDevice..WANConnectionDevice..WANIPConnection.*.MACAddress
- InternetGatewayDevice.WANDevice..WANConnectionDevice..WANIPConnection.*.ExternalIPAddress
- InternetGatewayDevice.LANDevice..WLANConfiguration..SSID
- InternetGatewayDevice.LANDevice..WLANConfiguration..KeyPassphrase
- InternetGatewayDevice.LANDevice..Hosts.Host..HostName
- InternetGatewayDevice.LANDevice..Hosts.Host..IPAddress
- InternetGatewayDevice.LANDevice..Hosts.Host..MACAddress
- InternetGatewayDevice.WANDevice..WANConnectionDevice..WANIPConnection.*.RSRP
- InternetGatewayDevice.WANDevice..WANConnectionDevice..WANIPConnection.*.PCI
- label: “‘Serial number’”
parameter: DeviceID.SerialNumber - label: “‘Product class’”
parameter: DeviceID.ProductClass - label: “‘OUI’”
parameter: DeviceID.OUI - label: “‘Manufacturer’”
parameter: DeviceID.Manufacturer - label: “‘Hardware version’”
parameter: InternetGatewayDevice.DeviceInfo.HardwareVersion - label: “‘Software version’”
parameter: InternetGatewayDevice.DeviceInfo.SoftwareVersion - label: “‘---------------’”
type: “‘separator’” - label: “‘IMEI’”
parameter: InternetGatewayDevice.DeviceInfo.IMEI - label: “‘IMSI’”
parameter: InternetGatewayDevice.DeviceInfo.IMSI - label: “‘PCI’”
parameter: InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.PCI - label: “‘---------------’”
type: “‘separator’” - label: “‘MAC’”
parameter: InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.MACAddress - label: ‘“WAN1”’
parameter: InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.ExternalIPAddress - label: “‘---------------’”
type: “‘separator’” - label: “‘MAC’”
parameter: InternetGatewayDevice.WANDevice.2.WANConnectionDevice.1.WANIPConnection.1.MACAddress - label: ‘“WAN2”’
parameter: InternetGatewayDevice.WANDevice.2.WANConnectionDevice.1.WANIPConnection.1.ExternalIPAddress - label: “‘---------------’”
type: “‘separator’” - label: “‘WLAN SSID’”
parameter: InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.SSID - label: ‘“WLAN SSID2”’
parameter: InternetGatewayDevice.LANDevice.1.WLANConfiguration.2.SSID - label: “‘WLAN passphrase’”
parameter: InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.KeyPassphrase
- element: “‘span.inform’”
- label: “‘LAN hosts’”
parameter: InternetGatewayDevice.LANDevice.1.Hosts.Host
type: “‘parameter-table’”
childParameters:- label: “‘Host name’”
parameter: HostName - label: “‘IP address’”
parameter: IPAddress - label: “‘MAC address’”
parameter: MACAddress
- label: “‘Host name’”
- element: “‘div’”
type: “‘container’”
components:- element: “‘h3’”
type: “‘container’”
components:- “‘Faults’”
- type: “‘device-faults’”
- element: “‘h3’”
- element: “‘div.container-full-width’”
type: “‘container’”
components:- element: “‘h3’”
type: “‘container’”
components:- “‘All parameters’”
- limit: 500
type: “‘all-parameters’”
- element: “‘h3’”
- type: “‘device-actions’”
============
Index page, Device page both displayed correctly PCI, MAC address.
I tried Virtual parameter configuration, still can’t get work:
let pciValue = “”;
console.log("FILTER: ");
let d = declare(“InternetGatewayDevice.WANDevice..WANConnectionDevice..WANIPConnection.*.PCI”, {value: Date.now()});
console.log("Declared value: ", d);
if (d && d._value) {
pciValue = d._value;
console.log('VIRT VALUE: ', pciValue);
}
return {writable: false, value: [pciValue, “xsd:string”]};
How can I get run GenieACS in development mode?
Thanks,