RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
Table of Contents |
---|
This page presents an brief overview about webPA 2.0 (xmidt) components required for a reference webPA standalone server & establish an end-to-end connection with CPE devices.
...
draw.io Diagram | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...
"certificateFile", : Enable this section and update with server certificate files, if there are multiple certs can be combined as crt bundles https://github.com/xmidt-org/talaria/blob/main/talaria.yaml#L60
Reference https://github.com/rdkcentral/rdk-cloud-container-config/blob/main/talaria/talaria.yaml
Sample scyatle configuration : https://github.com/xmidt-org/scytale/blob/main/scytale.yaml
...
"fqdn" : Fully qualified domain name of the server
"server" : Listening IP address (using "localhost" will allow connections only from the current machine.)
"endpointscertificateFile" : Enable this section and update with server certificate files, if there are multiple certs can be combined as crt bundles https://github.com/xmidt-org/scytale/blob/main/scytale.yaml#L52
"endpoints" : Under "fanout" section, change : Under "fanout" section, change the IP / Port value to match to the one where Talaria service is listening.
...
"file" : Under "log" section, change the value from "stdout" to a file name if we need to redirect debug messages to a separate log file.Add the "aws" section with following values for suppressing few error messages Anchorfake-awsfake-aws
...
Reference https://github.com/rdkcentral/rdk-cloud-container-config/blob/main/scytale/scytale.yaml
Sample tr1d1um configuration: https://github.com/xmidt-org/tr1d1um/blob/main/tr1d1um.yaml
Edit the configuration file from /etc/tr1d1um to set following parameters
"fqdn"
...
: Fully qualified domain name of server
"server"
...
: IP Address/DNS to which the service has to listen
"version" : Current version of the service
"region" : Region of deployment
"flavor"
...
: Development, Production etc.
"address" :
...
Under "
...
primary" section, change the value to point to the port where tr1d1um service will listen for incoming requests.
"targetURL" : Change to IP-Address:Port value where SCYTALE service is running.
"authHeader" : Auth token Use the auth token which was generated in previous section.
This will set AWS & SNS parameters with fake ones since we don't use actual keys and SNS (amazon simple notification service) in the current setup.
...
For https add this section after this
https://github.com/xmidt-org/tr1d1um/blob/main/tr1d1um.
...
Edit the configuration file from /etc/tr1d1um to set following parameters
"fqdn" : Fully qualified domain name of server
"server" : IP Address to which the service has to listen
"version" : Current version of the service
"region" : Region of deployment
"flavor" : Development, Production etc.
"address" : Under "primary" section, change the value to point to the port where tr1d1um service will listen for incoming requests.
"targetURL" : Change to IP-Address:Port value where SCYTALE service is running.
...
tls:
certificates:
- certificateFile: "/etc/cl-certs/primary-public.pem" keyFile:
"/etc/cl-certs/primary-private.pem"
minVersion: 771 # 0x0303, the TLS 1.2 version uint16
Reference for yaml file https://github.com/rdkcentral/rdk-cloud-container-config/blob/main/tr1d1um/tr1d1um.yaml
...
Panel |
---|
Device.DeviceInfo.Manufacturer Device.DeviceInfo.ManufacturerOUI Device.DeviceInfo.ModelName Device.DeviceInfo.SerialNumber Device.DeviceInfo.HardwareVersion Device.DeviceInfo.SoftwareVersion Device.DeviceInfo.UpTime Device.DeviceInfo.ProcessorNumberOfEntries Device.DeviceInfo.MemoryStatus.Total Device.DeviceInfo.MemoryStatus.Free Device.DeviceInfo.ProcessStatus.CPUUsage Device.DeviceInfo.ProcessStatus.ProcessNumberOfEntries |
For bringing up the webpa module as a container refer this page Webpa containerization