Commit Graph

322 Commits

Author SHA1 Message Date
Mike Hansen
b182a6953d Wifi-1004: Provision gre_ifname, gre_local_inet_addr, gre_remote_inet_addr, gre_remote_mac_addr on AP
Wifi-999: JUnit updates opensync-gateway and opensync-ext-cloud

Move the GreProfile attributes to the ApProfile.
2020-11-04 12:15:20 -05:00
Mike Hansen
a3159ed34e Wifi-996: Add GRE support to WifiInetConfigInfo 2020-11-03 16:57:15 -05:00
Mike Hansen
1d7f822ed4 OpensyncGateway changes to only treat clients which appear in
Wifi_Associated_Clients table as clients which can be added to the
cloud's client and client session lists. Other changes through either
stats changes or via other tables in ovsdb can only alter existing
clients and sessions. Else they are ignored.
SSIDs and InetConfig for SSIDs are not automatically deleted if an
existing configuration for this AP containing profiles for the ssids exists on the cloud.
2020-11-02 16:04:41 -05:00
Mike Hansen
6c784367ed When ap connected, check for any clients with AP's wan HWAddr and remove them, in case the AP itself has accidentally been registered as a client previously 2020-10-30 09:30:45 -04:00
Mike Hansen
15e26fd829 VLAN changes per AP request to create LAN and WAN Vlan Interfaces whenever a VLAN is provisioned 2020-10-29 17:42:12 -04:00
Mike Hansen
4df03431ed Update reported IpV4 address for wan interface based on the value in the
Wifi_Inet_Table when the table state changes. Handles situation where
the AP connects before it's services are up and the table is not
populated with the IPs of the wan/lan interfaces.

Ensure dhcp_sniff is set on all interfaces.
2020-10-29 15:01:05 -04:00
Mike Hansen
0e80415e52 WIFI-1007: AP is reported as WiFi clients 2020-10-28 15:19:29 -04:00
ralphlee3
012935818d WIFI-797 RF SourceSelection (#13)
* Implementing SourceSelection on RRM parameters, updating static json
2020-10-21 16:30:26 -04:00
Mike Hansen
a3fe53d6bd WIFI-956: WPA2-Enterprise SSID Not Broadcasting
Correct search for the RadiusProfiles OpensyncGatewayExternalCloud to be
under the equipment_ap profile, as opposed to the previous SSID Profile.
This allows creation of profiles with Radius on the AP.

** Additional correct docker image build
2020-10-14 12:29:16 -04:00
ralphlee3
6b3b835e80 WIFI-792: RF Implementation (#11)
* Removing RF parameters from ApElementConfig, refactoring to RF profile
2020-10-09 21:57:19 -04:00
Mike Hansen
76d9cf79f5 WIFI-444: APNOS : UCC Heuristics phase 2
New VideoVoice protobufs

** also fix Json file for captive portal static tests.
2020-10-09 13:34:17 -04:00
Mike Hansen
e3da2db9ab WIFI-909: Provision Hotspot20_Icon_Config in opensync database via opensync gateway, using new Hotspot/passpoint profiles
WIFI-910: Provision Hotspot20_OSU_Providers in opensync database via opensync gateway, using new Hotspot/passpoint profiles
WIFI-947: Add opensync gateway support for CEGWNewChannelRequest to change back-up channel in Wifi_RRM_Config

Updated with handling of new schema, support osu_nai2 (shared), and osu
provider name. Remove path from OSU Icons.

Add support for Wifi_RRM_Config new backup channels
2020-10-09 12:59:02 -04:00
Mike Hansen
4d624233c6 WIFI-900: add global property for toggling mutation of clientCn
-Dtip.wlan.preventClientCnAlteration=false //default, change to avoid
appending the serial number to the clientCn
2020-10-05 13:31:07 -04:00
Mike Hansen
3e2b20ddc5 WIFI-863: Add Table R/W to OvsdbDao to support Configuration and Status
WIFI-862: Opensync Gateway: Add Table Models to OvsdbDao

Update table models based on AP Schema changes.
Insert into Hotspot20_Config table based on profile. Still in progress.
2020-10-01 19:15:09 -04:00
ralphlee3
e2d2278fe0 WIFI 792 - Adding RF profile parameters to static and setups (#6)
* Adding RF profile parameters to static and setups
2020-09-30 17:32:11 -04:00
Mike Hansen
bb3a49addb Support for Metrics Profile
Added to OpensyncAPConfig
Added Profiles for Static.
Added handler in OvsdbClient to process.
Currently not applying the values, uses the defaults still, but
remaining functionality will come in subsequent updates.
2020-09-25 17:13:51 -04:00
Mike Hansen
ca023ea554 Modify ApNode stats so that radioUtilizationPerRadio is reported as an
averaged value based on the survey for that radio.
2020-09-22 19:26:58 -04:00
ralphlee
9cc3b96436 Revert "Adding RF Profile changes and updating static"
This reverts commit 71c41bb892.
2020-09-22 17:01:32 -04:00
Mike Hansen
6ea19d9cbf WIFI-425: Cloud Back End for Events phase 2
Protobuf changes re AP handling events.
2020-09-21 12:17:20 -04:00
Mike Hansen
0d72824e3f WIFI-814: OSGW add support reboot, switch, and factory reset
Adding support for Ap reboot, switch, and factory reset commands to
opensync gateway controller and ovsdb dao.
2020-09-18 17:43:00 -04:00
Mike Hansen
982d1cb2b3 Merge branch 'master' of github.com:Telecominfraproject/wlan-cloud-opensync-controller 2020-09-18 12:54:32 -04:00
Mike Hansen
ae4d2d2339 WIFI-816: OSGW add retrieval of FW_IMAGE_ACTIVE and FW_IMAGE_INACTIVE and update cloud database via Status 2020-09-18 12:45:57 -04:00
ralphlee
71c41bb892 Adding RF Profile changes and updating static 2020-09-18 11:55:36 -04:00
Mike Hansen
ce14eb359d Adding Classification type for Client based on DHCP_leased_IP
Adding translation utility to map between ovsdb and wlan cloud for firmware upgrade state and failure state (if required)
2020-09-17 17:07:47 -04:00
Mike Hansen
4cbb5e1d97 WIFI-437: CloudSDK Client DHCP attributes processing
Add ClientType from DHCP fingerprint, make use of new translation
 utility to map attributes from ovsdb to cloud.
2020-09-17 14:22:33 -04:00
Mike Hansen
93b3deec4b WIFI-780: Change Opensync Gateway to process RF survey data as percentile data
Change ChannelInfo reports to reflect Survey data showing
percentage values for samples.
ApNode report still being addressed.
2020-09-15 17:38:57 -04:00
Dmitry Toptygin
9899286bc0 in ApPerformance change cpuUtilized type to int[], in ClientMetrics change mcs and rates types to int[] - they were originally defined as byte[], but that causes them to be serialized as base64-encoded strings, which is annoying 2020-09-15 15:04:01 -04:00
Mike Hansen
2ea8f4a124 WIFI-769: Gateway Integration with AP and Cloud Backend
Publish events for VideoVoiceReport(s) received from AP.
2020-09-15 12:03:23 -04:00
Mike Hansen
b7c1741ce9 WIFI-437: CloudSDK Client DHCP attributes processing
Map enumerated types from AP.
2020-09-14 12:40:18 -04:00
Mike Hansen
410e3c5433 WIFI-437: CloudSDK Client DHCP attributes processing
Correct setting lease time in client session to reflect that AP is
already reporting the value in seconds.
2020-09-11 17:24:34 -04:00
Mike Hansen
b03f478e9b WIFI-444: APNOS : UCC Heuristics phase 2
Changes to profo definition per AP team request plus refactoring to
follow style conventions for the proto files.
2020-09-09 15:22:47 -04:00
Mike Hansen
f32a177d45 WIFI-638: Reported Noise floor looks inaccurate
Averaging of values in Channel report to align with ApNode report, based
on Survey data, and converting to percentage used, based on duration.
This may change going forward as Ap could end up sending average
based data.
2020-09-09 12:38:19 -04:00
Mike Hansen
6f99d701f3 WIFI-442: APNOS Synthetic client RADIUS probes
Support changes to the Network Probe reporting from the MQTT messages
proto files.
Add/update JUnit tests in concert with above.
2020-09-04 15:17:33 -04:00
Mike Hansen
fbc7b4b5b9 WIFI-456: Cloud SDK BackEnd : Bonjour Gateway support
Add Bonjour Profile support to OpensyncApConfig
Add static files for static and static-docker versions.

Refactor of OpensyncExternalIntegrationCloud. Separate concerns, move
MQTT message processing and stats events to new class.

JUnit tests updated based on refactor
2020-09-04 12:29:23 -04:00
Mike Hansen
956ce78bfc WIFI-691: modify OSGW to send to the AP a new set of commands for managing remote ssh agent and sessions
Handle the start and stop of the debug engine REST commands coming
via gateway controller.
Change gateway controller to use new method to handle redirector change.

NB. Ap commands being sent via the command config in OvsdbDao are not
finalized and will change.
2020-09-03 12:00:01 -04:00
Mike Hansen
cea90c48d3 WIFI-638: Reported Noise floor looks inaccurate
Should have noise floor sent as a signed value, is currently coming as an uint32
I believe the AP actually translates the signed value to that.
ON channel reports more than just the channel in use on the radio which is making a mess as well, I have added a filter on the OSGW as a workaround which will prevent OFF channel values being used during calculation of channel info for on channel reporting. This may become unnecessary when the AP fix comes in but for now might clear things up a bit. After we change to a signed value, combined with correct channel survey reporting, we should have a better value.
2020-09-02 17:19:37 -04:00
Mike Hansen
3e46874a6c RSSI value handling of uint32, to int values 2020-09-02 15:45:13 -04:00
Mike Hansen
c472380167 WIFI-442: APNOS Synthetic client RADIUS probes. opensync_stats.proto changes 2020-09-02 10:08:20 -04:00
Mike Hansen
8a8ab11a65 Change reporting interval for survey stats. Remove unwanted behaviour when apDisconnect from OpensyncExternalIntegrationCloud.java 2020-09-01 17:38:05 -04:00
Mike Hansen
f57e271706 WIFI-691: modify OSGW to send to the AP a new set of commands for managing remote ssh agent and sessions 2020-09-01 12:13:02 -04:00
Mike Hansen
bf919dc8e9 WIFI-425: Cloud Back End for Events phase 2 2020-09-01 08:33:40 -04:00
Mike Hansen
6b80731a66 ClientSession updates - metrics data, connect/disconnect 2020-08-31 15:03:26 -04:00
Mike Hansen
4b7bbaae6e WIFI-437: CloudSDK Client DHCP attributes processing. -- session updates 2020-08-28 16:12:17 -04:00
Mike Hansen
03c8c15f53 WIFI-425: Cloud Back End for Events phase 2. Robustness to handle table state vs. event sync 2020-08-28 14:28:14 -04:00
Mike Hansen
337571a880 WIFI-437: CloudSDK Client DHCP attributes processing. 2020-08-28 14:17:00 -04:00
Mike Hansen
97a755e187 WIFI-437: CloudSDK Client DHCP attributes processing. WIFI-425: Cloud Back End for Events phase 2 2020-08-28 13:36:30 -04:00
Mike Hansen
779de15f87 WIFI-425: Cloud Back End for Events phase 2 2020-08-27 17:42:24 -04:00
Mike Hansen
894d462d49 VLAN on SSID 2020-08-26 17:49:45 -04:00
Rahul Sharma
01b5d7dd5e WIFI-540: Added more robust exception handling to prevent crashing registration thread during
cleaning up of stale records.
Also removed the base dependencies from opensync-process that are coming from opensync-ext-cloud.
2020-08-26 10:36:44 -04:00
Rahul Sharma
5867584afb WIFI-540: Introduce methods to cleanup stale GW and Routing record entries when we bounce the GW pod and it gets a new IP Address 2020-08-25 19:18:35 -04:00