icwmp issues
https://dev.iopsys.eu/bbf/icwmp/-/issues
2024-03-15T11:33:55Z
https://dev.iopsys.eu/bbf/icwmp/-/issues/7
Not fetching the default device values through ACS (Getting hardcoded values)
2024-03-15T11:33:55Z
Sourav Das
Not fetching the default device values through ACS (Getting hardcoded values)
Hi All,
Device: Netgear R6220 - mediatek RAMIPS MT7621
Openwrt: OpenWrt 23.05.2, r23630-842932a63d
Build icwmp standalone with feeds/iopsys <devel> and Feed/broadcom <devel> (As some package of Feed/iopsys is depends on this)
----...
Hi All,
Device: Netgear R6220 - mediatek RAMIPS MT7621
Openwrt: OpenWrt 23.05.2, r23630-842932a63d
Build icwmp standalone with feeds/iopsys <devel> and Feed/broadcom <devel> (As some package of Feed/iopsys is depends on this)
---------------------
We have set up genieACS 1.2.9 and we can able to connect the CPE with geneiACS by taking help from : #5
We have set the manufacturer, manufacturer_oui, product_class, serial_number, software_version, model_name manually in `/etc/config/cwmp.
But we want this values should get populated with the datamodel initialization (We don't require values from hardcoded config file)
our config file is below:
<details>
<summary> /etc/config/cwmp </summary>
```bash
config acs 'acs'
option url 'http://192.168.1.202:7547'
option passwd 'admin'
option periodic_inform_enable 'true'
option periodic_inform_interval '1800'
option periodic_inform_time '2023-11-14T12:46:32Z'
option dhcp_discovery 'disable'
option ssl_capath '/etc/ssl/certs'
option compression 'Disabled'
option retry_min_wait_interval '5'
option retry_interval_multiplier '2000'
option skip_dhcp_boot_options '0'
option ipv6_enable '0'
option ip_version '4'
option userid 'admin'
config cpe 'cpe'
option enable '1'
option default_wan_interface 'wan'
option default_lan_interface 'lan'
option log_to_console 'disable'
option log_to_file 'disable'
option log_severity 'ERROR'
option log_file_name '/var/log/icwmpd.log'
option log_max_size '102400'
option passwd 'admin'
option port '7547'
option amd_version '5'
option instance_mode 'InstanceNumber'
option session_timeout '300'
option notification '1'
option exec_download '0'
option periodic_notify_enable '1'
option periodic_notify_interval '10'
option incoming_rule 'Port_Only'
option active_notif_throttle '0'
option disable_gatewayinfo '0'
option datamodel 'tr181'
option fw_upgrade_keep_settings '1'
option userid 'admin'
option manufacturer 'ABC'
option manufacturer_oui 'XXX'
option product_class 'TEST_CLASS'
option serial_number '1234567890'
option software_version 'X.Y.Z'
option model_name 'MODELXXX'
option description 'This is a test device'
config lwn 'lwn'
option enable '0'
option port '0'
has context menu
```
</details>
<details>
<summary>icwmpd -c get Device. </summary>
```bash
Device.InterfaceStackNumberOfEntries => 11
Device.RootDataModelVersion => 2.17
Device.DeviceInfo.DeviceCategory =>
Device.DeviceInfo.Manufacturer => ABC
Device.DeviceInfo.ManufacturerOUI => XXX
Device.DeviceInfo.ModelName => MODELXXX
Device.DeviceInfo.Description => This is a test device
Device.DeviceInfo.ProductClass => TEST_CLASS
Device.DeviceInfo.SerialNumber => 1234567890
Device.DeviceInfo.HardwareVersion =>
Device.DeviceInfo.SoftwareVersion => X.Y.Z
Device.DeviceInfo.ActiveFirmwareImage =>
Device.DeviceInfo.BootFirmwareImage =>
Device.DeviceInfo.AdditionalHardwareVersion =>
Device.DeviceInfo.AdditionalSoftwareVersion =>
Device.DeviceInfo.ProvisioningCode =>
Device.DeviceInfo.UpTime => 6097
Device.DeviceInfo.FirstUseDate => 0001-01-01T00:00:00Z
Device.DeviceInfo.ProcessorNumberOfEntries => 2
Device.DeviceInfo.VendorLogFileNumberOfEntries => 1
Device.DeviceInfo.VendorConfigFileNumberOfEntries => 16
Device.DeviceInfo.SupportedDataModelNumberOfEntries => 4
Device.DeviceInfo.FirmwareImageNumberOfEntries => 0
Device.DeviceInfo.ModelNumber =>
Device.DeviceInfo.X_IOPSYS_EU_BaseMACAddress =>
Device.DeviceInfo.VendorConfigFile.1.Alias => cpe-1
Device.DeviceInfo.VendorConfigFile.1.Name => bbfdm
Device.DeviceInfo.VendorConfigFile.1.Version =>
Device.DeviceInfo.VendorConfigFile.1.Date => 2023-11-14T13:38:11Z
Device.DeviceInfo.VendorConfigFile.1.Description =>
```
</details>
Please assist into this, Your input will be very helpful for us.