Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Children Display

Table of Contents

...

stylenone

Introduction

Integration of Mesh-agent component in Turris Omnia Gateway for Sync between RDKB WEBUI and Plume NOC. Mesh-agent notifies the Plume NOC , when there is a change of SSID in RDKB WebUI and vice versa. 

...

          Opensync has to be manually triggered , and respective certificate has to be copied into the image


         Execute the below script , for linking the back-haul interfaces

...

Code Block
themeRDark
titleOpen Sync Manager Script
collapsetrue
root@TurrisOmnia-GW:/# sh start_plume.sh
#temporary fix
iptables -P INPUT ACCEPT

brctl addbr br-home

#ln -s /nvram/dnsmasq.leases /tmp/dnsmasq.leases

if [ ! -f /usr/plume/etc/certs/ca.pem ];
then
cp /nvram/certs/c* /usr/plume/etc/certs/
fi

killall meshAgent
cd /usr/ccsp/mesh
meshAgent &
cd /usr/plume/etc/
/usr/plume/scripts/managers.init stop
/usr/plume/scripts/managers.init start



       Copy the Certificates in /usr/plume/etc/certs/*

       NoteNote: Cert files are provided by Opensync for Licencees 


      Opensync  Opensync mangers and NOC status can verified by querying OVSDB table

              1)       root@TurrisOmnia-GW:# /usr/plume/tools/ovsh  s  Manager

 --------------------------------------------------------------------------
_uuid | cdff~a085 |
_version | b6e7~58ac |
connection_mode | ["set",[]] |
external_ids | ["map",[]] |
inactivity_probe | 30000 |
is_connected | true |
max_backoff | ["set",[]] |
other_config | ["map",[]] |
status | ["map",[["sec_since_connect","31"],["state","ACTIVE"]]] |
target | ssl:54.200.0.59:443 |
----------------------------------------------------------------------------

...

                    UserName and Password are given by provided for Opensync Licencees

2)  Access RDKB-WebUI , in the browser <erouter0-ip>:8080

...

Changing the SSID in Plume NOC



           Click on EDIT button and change the SSID

...


        CR component name is: eRT.com.cisco.spvtg.ccsp.CR
        subsystem_prefix eRT.
        getv from/to component(eRT.com.cisco.spvtg.ccsp.wifi): Device.WiFi.SSID.1.SSID
        Execution succeed.
        Parameter 1 name: Device.WiFi.SSID.1.SSID
        type: string, value: Test-turris


Use Case 2:

Change Changing the SSID in WebUI or via dmcli

...

Log on to plume NOC and verify the Changed SSID is updated from dmcli


Limitations

  • RDKB WebUI  is not coming up, with recent changes in gateway image.
  •  ccspwifiagent is not coming up during  bootup ( systemctl restart ccspwifiagent )

Troubleshooting

  • Error Messages

...