mirror of
https://github.com/Telecominfraproject/wlan-cloud-opensync-controller.git
synced 2025-11-01 11:07:49 +00:00
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
This commit is contained in:
@@ -835,7 +835,7 @@ public class OpensyncExternalIntegrationCloud implements OpensyncExternalIntegra
|
||||
.addAll(profileContainer.getChildrenOfType(ssidProfile.getId(), ProfileType.hotspot_2pt0));
|
||||
|
||||
|
||||
radiusSet.addAll(profileContainer.getChildrenOfType(ssidProfile.getId(), ProfileType.radius));
|
||||
radiusSet.addAll(profileContainer.getChildrenOfType(ret.getApProfile().getId(), ProfileType.radius));
|
||||
if (ssidProfile.getDetails() != null) {
|
||||
Long captivePortId = ((SsidConfiguration) ssidProfile.getDetails()).getCaptivePortalId();
|
||||
if (captivePortId != null) {
|
||||
|
||||
@@ -32,6 +32,7 @@ COPY app/opensync/ProfileHotspot20.json /app/opensync/ProfileHotspot20.json
|
||||
COPY app/opensync/ProfileOperator.json /app/opensync/ProfileOperator.json
|
||||
COPY app/opensync/ProfileVenue.json /app/opensync/ProfileVenue.json
|
||||
COPY app/opensync/ProfileIdProvider.json /app/opensync/ProfileIdProvider.json
|
||||
COPY app/opensync/ProfileBonjour.json /app/opensync/ProfileBonjour.json
|
||||
COPY app/commit.properties /app
|
||||
|
||||
VOLUME ["/app/logs", "/app/config"]
|
||||
|
||||
@@ -36,6 +36,7 @@ OVSDB_APPROFILE_CONFIG_FILE="${OVSDB_AP_PROFILE_CONFIG_FILE:=/app/opensync/Profi
|
||||
OVSDB_METRICSPROFILE_CONFIG_FILE="${OVSDB_METRICSPROFILE_CONFIG_FILE:=/app/opensync/ProfileMetrics.json}"
|
||||
OVSDB_HOTSPOT20SPROFILE_CONFIG_FILE="${OVSDB_HOTSPOT20PROFILE_CONFIG_FILE:=/app/opensync/ProfileHotspot20.json}"
|
||||
OVSDB_OPERATORPROFILE_CONFIG_FILE="${OVSDB_OPERATORPROFILE_CONFIG_FILE:=/app/opensync/ProfileOperator.json}"
|
||||
OVSDB_BONJOURPROFILE_CONFIG_FILE="${OVSDB_BONJOURPROFILE_CONFIG_FILE:=/app/opensync/ProfileBonjour.json}"
|
||||
OVSDB_VENUEPROFILE_CONFIG_FILE="${OVSDB_VENUEPROFILE_CONFIG_FILE:=/app/opensync/ProfileVenue.json}"
|
||||
OVSDB_IDPROVIDERPROFILE_CONFIG_FILE="${OVSDB_IDPROVIDERPROFILE_CONFIG_FILE:=/app/opensync/ProfileIdProvider.json}"
|
||||
OVSDB_RFPROFILE_CONFIG_FILE="${OVSDB_RF_PROFILE_CONFIG_FILE:=/app/opensync/ProfileRf.json}"
|
||||
|
||||
@@ -19,6 +19,8 @@ COPY app/opensync/ProfileHotspot20.json /app/opensync/ProfileHotspot20.json
|
||||
COPY app/opensync/ProfileOperator.json /app/opensync/ProfileOperator.json
|
||||
COPY app/opensync/ProfileVenue.json /app/opensync/ProfileVenue.json
|
||||
COPY app/opensync/ProfileIdProvider.json /app/opensync/ProfileIdProvider.json
|
||||
COPY app/opensync/ProfileBonjour.json /app/opensync/ProfileBonjour.json
|
||||
|
||||
COPY app/commit.properties /app
|
||||
RUN chmod +x /app/run.sh
|
||||
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
[
|
||||
{
|
||||
"model_type": "Profile",
|
||||
"id": 100,
|
||||
"customerId": 2,
|
||||
"profileType": "bonjour",
|
||||
"name": "Bonjour-gateway",
|
||||
"details": {
|
||||
"model_type": "BonjourGatewayProfile",
|
||||
"profileDescription": "Bonjour Gateway Configuration for Design Testing",
|
||||
"profileType": "bonjour",
|
||||
"bonjourServices": [
|
||||
{
|
||||
"model_type": "BonjourServiceSet",
|
||||
"vlanId": 1,
|
||||
"supportAllServices": false,
|
||||
"serviceNames": [
|
||||
"AirPort",
|
||||
"SFTP",
|
||||
"SSH"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"createdTimestamp": 1599234550774,
|
||||
"lastModifiedTimestamp": 1599234550774,
|
||||
"childProfileIds": []
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user