RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
Preferred Network Interface(PNI) is a feature introduced in RDK to avoid the confusion related to network connectivity and switch seamlessly between different interfaces. currently it is meant for wifi and ethernet interfaces.
For RDK client profiles, the network connectivity options are usually two, ethernet and WiFi.Ethernet connectivity is preferred to WiFi, but the option to choose interface is exposed to user. PNI logic is encoded in /lib/rdk/pni_controller.sh
This service is managed by systemd.This is mostly used to load the persisted data from previous runs.
This services is controlled by netsrvmgr service. This is invoked every time a network interface status is changed. Possible scernarios include, but not limited to
Three variables are defined for PNI. These variables are defined in pni_controller.service
Device.DeviceInfo.X_RDKCENTRAL-COM_RFC.Feature.PreferredNetworkInterface
- Use this RFC to set WiFi as default interface. By default Ethernet is the default interface.
Device.DeviceInfo.X_RDKCENTRAL-COM_RFC.Feature.Network.AllowDisableDefaultNetwork
- Use this to disable interface irrespective of whether the interface is the active interface or not.
If this RFC is not enabled, you can only disable passive interfaces.
RDK-14208 (1.0)
RDK-29489 (2.0)