Versions Compared

Key

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

...

Test EM on Raspbian OS

...

Platform agnostic c++ coding

State machine

GoLang support for EM CLI

BPI-R4 build instruction 

...

Sample cli response given below:
Image RemovedImage RemovedImage RemovedImage AddedImage AddedImage Added
Change colocatedAgentID mac addr to interface which needs to be treated as AL MAC
Image RemovedImage RemovedImage AddedImage Added

  1. Once AL MAC is set check the ctrl prompt whether database reset happened

    Observe outputs deleting all datamodels and database insert to verify successful reset
    Sample response in ctrl: 
    Image RemovedImage Added
    Response in database: Respective rows will be updated in db
    Image RemovedImage Added

  Run local Agent with below cmd, (this step is not mandatory)

...

Code Block
languagebash
titlenvram
collapsetrue
cat EasymeshCfg.json 
{
	"AL_MAC_ADDR":	"00:0c:43:26:60:2a",
	"Colocated_mode":	0,
	"Backhaul_SSID":	"mesh_backhaul",
	"Backhaul_KeyPassphrase":	"test-backhaul",
    "sta_4addr_mode_enabled": true 
}
cat InterfaceMap.json
{
    "PhyList": [
        {
            "Index": 0,
            "RadioList": [
                 {
                    "Index": 2,
                    "RadioName": "wifi2",
                    "InterfaceList": [
                        {
                            "InterfaceName": "wifi2",
                            "Bridge": "brlan0",
                            "vlanId": 0,
                            "vapIndex": 3,
                            "vapName": "private_ssid_6g"
                        }
                    ]
                },
                {
                    "Index": 1,
                    "RadioName": "wifi1",
                    "InterfaceList": [
                        {
                            "InterfaceName": "wifi1.1",
                            "Bridge": "brlan0",
                            "vlanId": 0,
                            "vapIndex": 2,
                            "vapName": "mesh_sta_5g"
                        },
                        {
                            "InterfaceName": "wifi1",
                            "Bridge": "brlan0",
                            "vlanId": 0,
                            "vapIndex": 1,
                            "vapName": "private_ssid_5g"
                        }
                        
                    ]
                },
                {
                    "Index": 0,
                    "RadioName": "wifi0",
                    "InterfaceList": [
                        {
                            "InterfaceName": "wifi0",
                            "Bridge": "brlan0",
                            "vlanId": 0,
                            "vapIndex": 0,
                            "vapName": "private_ssid_2g"
                        }
                    ]
                }
            ]
        }
    ]
}

 

...