You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 18 Next »

The initial purpose of the USP Controller is to allow USP agent validation and can be expanded to further use cases as required

USP Agent Configuration 

Supported MTPs: 

  • STOMP: Full Support

Using the OB-USP-AGENT which has been ported to RDK the agent can be configured using the following sample:

Note: Change any references of 84C8B1 to the OUI, and any references of 42010A8A0FF0 to the SerialNumber of the device

Device.LocalAgent.MTP.1.STOMP.Destination "/exchange/usp-agents/oui-84C8B1-42010A8A0FF0"

Device.LocalAgent.Controller.1.EndpointID "oui:84C8B1:0000"
Device.STOMP.Connection.1.Host "52.39.213.228"
Device.STOMP.Connection.1.Username "stomp"
Device.STOMP.Connection.1.Password "stomp"
Device.STOMP.Connection.1.Enable "true"
Device.STOMP.Connection.1.X_ARRIS-COM_EnableEncryption "false"
Device.LocalAgent.MTP.1.Alias "cpe-1"
Device.LocalAgent.MTP.1.Enable "true"
Device.LocalAgent.MTP.1.Protocol "STOMP"
Device.LocalAgent.MTP.1.STOMP.Reference "Device.STOMP.Connection.1"
Device.LocalAgent.Controller.1.Alias "cpe-1"
Device.LocalAgent.Controller.1.Enable "true"
Device.LocalAgent.Controller.1.AssignedRole "Device.LocalAgent.ControllerTrust.Role.1"
Device.LocalAgent.Controller.1.PeriodicNotifInterval "300"
Device.LocalAgent.Controller.1.PeriodicNotifTime "0001-01-01T00:00:00Z"
Device.LocalAgent.Controller.1.USPNotifRetryMinimumWaitInterval "5"
Device.LocalAgent.Controller.1.USPNotifRetryIntervalMultiplier "2000"
Device.LocalAgent.Controller.1.ControllerCode ""
Device.LocalAgent.Controller.1.MTP.1.Alias "cpe-1"
Device.LocalAgent.Controller.1.MTP.1.Enable "true"
Device.LocalAgent.Controller.1.MTP.1.Protocol "STOMP"
Device.LocalAgent.Controller.1.MTP.1.STOMP.Reference "Device.STOMP.Connection.1"
Device.LocalAgent.Controller.1.MTP.1.STOMP.Destination "/queue/controllerlistener"

Device.LocalAgent.Subscription.1.Alias "cpe-1"
Device.LocalAgent.Subscription.1.Recipient "Device.LocalAgent.Controller.1"
Device.LocalAgent.Subscription.1.ID "default-boot-event-ACS"
Device.LocalAgent.Subscription.1.CreationDate "1970-01-01T00:00:00Z"
Device.LocalAgent.Subscription.1.NotifType "Event"
Device.LocalAgent.Subscription.1.ReferenceList "Device.Boot!"
Device.LocalAgent.Subscription.1.Persistent "true"
Device.LocalAgent.Subscription.1.TimeToLive "0"
Device.LocalAgent.Subscription.1.NotifRetry "false"
Device.LocalAgent.Subscription.1.NotifExpiration "0"
Device.LocalAgent.Subscription.1.Enable "true"

# The following parameters must not be set for the RDK port of OBUSPA
# because OUI and SerialNumber are obtained from the existing data model provider component
# They may be required when testing OBUSPA without any RDK extensions
#Device.DeviceInfo.SerialNumber "42010A8A0FF0"
#Device.DeviceInfo.ManufacturerOUI "84C8B1"


The above can be saved to a text file and run as follows:

# /usr/bin/UspPa -p -v 4 -r usp_factory_reset.conf

To build into an image, modify meta-rdk-broadband/recipes-rdkb/usp-pa/usp-pa/conf/usp_factory_reset.conf

USP Agent Onboarding

  • After configuring the UspPa agent and connecting to the USP controller in the GUI the new device should appear under Devices with a status of synchronized
  • A Device Model needs to be created. Double click on your device and in the main dashboard under Device Model click on Generate
  • Once the Device Model is created you can test setting a parameter e.g. We can review the current Device.WiFi.SSID.1.SSID set on the device:
# /usr/bin/UspPa -c get "Device.WiFi.SSID.1.SSID"
Device.WiFi.SSID.1.SSID => RDK
  • To change this in the GUI under Devices → double click on your device then select Manage Object Structure and Parameters
  • Search for your parameter(s) to change e.g. Device.WiFi.SSID.1.SSIDs then select Provision then select Set Value to the new setting e.g. Demo then Confirm then Save then OK
  • Check the device and it should be updated
# /usr/bin/UspPa -c get "Device.WiFi.SSID.1.SSID"
Device.WiFi.SSID.1.SSID => Demo

Contact

If there are any questions about the environment please contact Hau Hsiao - hau.hsiao@incognito.com




  • No labels