WIFI-906: Add new Hotspot, IdProvider, Operator, and Venue profiles to static opensync gateway

This commit is contained in:
Mike Hansen
2020-10-06 17:51:56 -04:00
parent f40c30340e
commit d34f4934bd
16 changed files with 164 additions and 100 deletions

View File

@@ -1,5 +1,5 @@
[ [
{ {
"model_type": "Profile", "model_type": "Profile",
"id": 8, "id": 8,
"customerId": 2, "customerId": 2,
@@ -63,8 +63,8 @@
"profileType": "hotspot_2pt0", "profileType": "hotspot_2pt0",
"mccMncList": "302,720" "mccMncList": "302,720"
}, },
"createdTimestamp": 1601961452370, "createdTimestamp": 1602015574677,
"lastModifiedTimestamp": 1601961452370, "lastModifiedTimestamp": 1602015574677,
"childProfileIds": [ "childProfileIds": [
5, 5,
6, 6,

View File

@@ -1,5 +1,5 @@
[ [
{ {
"model_type": "Profile", "model_type": "Profile",
"id": 7, "id": 7,
"customerId": 2, "customerId": 2,
@@ -29,12 +29,19 @@
], ],
"encoding": 0, "encoding": 0,
"eapMethods": [ "eapMethods": [
"EAP-MSCHAP-V2 with username/password",
"EAP-TTLS with username/password",
"EAP-TLS with certificate" "EAP-TLS with certificate"
], ],
"eapMap": { "eapMap": {
"EAP-MSCHAP-V2 with username/password": [
"Non-EAP Inner Authentication Type:MSCHAPV2"
],
"EAP-TTLS with username/password": [
"Credential Type:username/password"
],
"EAP-TLS with certificate": [ "EAP-TLS with certificate": [
"Softoken", "Credential Type:username/password"
"Certificate"
] ]
} }
} }
@@ -48,6 +55,7 @@
"iconLocale": "en_CA", "iconLocale": "en_CA",
"iconName": "icon32.png", "iconName": "icon32.png",
"filePath": "/tmp/icon32.png", "filePath": "/tmp/icon32.png",
"imageUrl": "https://localhost:9096",
"hs20IconString": "32:32:eng:image/png:icon32.png:/tmp/icon32.png" "hs20IconString": "32:32:eng:image/png:icon32.png:/tmp/icon32.png"
} }
], ],
@@ -55,14 +63,24 @@
"radiusProfileAccounting": "Radius-Profile", "radiusProfileAccounting": "Radius-Profile",
"osuSsid": "TipWlan-cloud-3-radios", "osuSsid": "TipWlan-cloud-3-radios",
"osuServerUri": "https://example.com/osu/", "osuServerUri": "https://example.com/osu/",
"osuFriendlyName": { "osuFriendlyName": [
"model_type": "Hotspot20Duple", {
"locale": "en_CA", "model_type": "Hotspot20Duple",
"dupleIso3Language": "eng", "locale": "en_CA",
"dupleName": "Example provider", "dupleIso3Language": "eng",
"defaultDupleSeparator": ":", "dupleName": "Example provider",
"asDuple": "eng:Example provider" "defaultDupleSeparator": ":",
}, "asDuple": "eng:Example provider"
},
{
"model_type": "Hotspot20Duple",
"locale": "fr_CA",
"dupleIso3Language": "fra",
"dupleName": "Exemple de fournisseur",
"defaultDupleSeparator": ":",
"asDuple": "fra:Exemple de fournisseur"
}
],
"osuNaiStandalone": "anonymous@example.com", "osuNaiStandalone": "anonymous@example.com",
"osuNaiShared": "anonymous@example.com", "osuNaiShared": "anonymous@example.com",
"osuMethodList": [ "osuMethodList": [
@@ -89,10 +107,8 @@
], ],
"profileType": "id_provider" "profileType": "id_provider"
}, },
"createdTimestamp": 1601961451981, "createdTimestamp": 1602015574295,
"lastModifiedTimestamp": 1601961451981, "lastModifiedTimestamp": 1602015574295,
"childProfileIds": [ "childProfileIds": []
1
]
} }
] ]

View File

@@ -1,5 +1,5 @@
[ [
{ {
"model_type": "Profile", "model_type": "Profile",
"id": 5, "id": 5,
"customerId": 2, "customerId": 2,
@@ -30,8 +30,8 @@
], ],
"profileType": "operator" "profileType": "operator"
}, },
"createdTimestamp": 1601961451776, "createdTimestamp": 1602015573969,
"lastModifiedTimestamp": 1601961451776, "lastModifiedTimestamp": 1602015573969,
"childProfileIds": [] "childProfileIds": []
} }
] ]

View File

@@ -1,5 +1,5 @@
[ [
{ {
"model_type": "Profile", "model_type": "Profile",
"id": 6, "id": 6,
"customerId": 2, "customerId": 2,
@@ -35,8 +35,8 @@
}, },
"profileType": "venue" "profileType": "venue"
}, },
"createdTimestamp": 1601961451781, "createdTimestamp": 1602015573975,
"lastModifiedTimestamp": 1601961451781, "lastModifiedTimestamp": 1602015573975,
"childProfileIds": [] "childProfileIds": []
} }
] ]

View File

@@ -1,5 +1,5 @@
[ [
{ {
"model_type": "Profile", "model_type": "Profile",
"id": 8, "id": 8,
"customerId": 2, "customerId": 2,
@@ -63,8 +63,8 @@
"profileType": "hotspot_2pt0", "profileType": "hotspot_2pt0",
"mccMncList": "302,720" "mccMncList": "302,720"
}, },
"createdTimestamp": 1601961452370, "createdTimestamp": 1602015574677,
"lastModifiedTimestamp": 1601961452370, "lastModifiedTimestamp": 1602015574677,
"childProfileIds": [ "childProfileIds": [
5, 5,
6, 6,

View File

@@ -1,5 +1,5 @@
[ [
{ {
"model_type": "Profile", "model_type": "Profile",
"id": 7, "id": 7,
"customerId": 2, "customerId": 2,
@@ -29,12 +29,19 @@
], ],
"encoding": 0, "encoding": 0,
"eapMethods": [ "eapMethods": [
"EAP-MSCHAP-V2 with username/password",
"EAP-TTLS with username/password",
"EAP-TLS with certificate" "EAP-TLS with certificate"
], ],
"eapMap": { "eapMap": {
"EAP-MSCHAP-V2 with username/password": [
"Non-EAP Inner Authentication Type:MSCHAPV2"
],
"EAP-TTLS with username/password": [
"Credential Type:username/password"
],
"EAP-TLS with certificate": [ "EAP-TLS with certificate": [
"Softoken", "Credential Type:username/password"
"Certificate"
] ]
} }
} }
@@ -48,6 +55,7 @@
"iconLocale": "en_CA", "iconLocale": "en_CA",
"iconName": "icon32.png", "iconName": "icon32.png",
"filePath": "/tmp/icon32.png", "filePath": "/tmp/icon32.png",
"imageUrl": "https://localhost:9096",
"hs20IconString": "32:32:eng:image/png:icon32.png:/tmp/icon32.png" "hs20IconString": "32:32:eng:image/png:icon32.png:/tmp/icon32.png"
} }
], ],
@@ -55,14 +63,24 @@
"radiusProfileAccounting": "Radius-Profile", "radiusProfileAccounting": "Radius-Profile",
"osuSsid": "TipWlan-cloud-3-radios", "osuSsid": "TipWlan-cloud-3-radios",
"osuServerUri": "https://example.com/osu/", "osuServerUri": "https://example.com/osu/",
"osuFriendlyName": { "osuFriendlyName": [
"model_type": "Hotspot20Duple", {
"locale": "en_CA", "model_type": "Hotspot20Duple",
"dupleIso3Language": "eng", "locale": "en_CA",
"dupleName": "Example provider", "dupleIso3Language": "eng",
"defaultDupleSeparator": ":", "dupleName": "Example provider",
"asDuple": "eng:Example provider" "defaultDupleSeparator": ":",
}, "asDuple": "eng:Example provider"
},
{
"model_type": "Hotspot20Duple",
"locale": "fr_CA",
"dupleIso3Language": "fra",
"dupleName": "Exemple de fournisseur",
"defaultDupleSeparator": ":",
"asDuple": "fra:Exemple de fournisseur"
}
],
"osuNaiStandalone": "anonymous@example.com", "osuNaiStandalone": "anonymous@example.com",
"osuNaiShared": "anonymous@example.com", "osuNaiShared": "anonymous@example.com",
"osuMethodList": [ "osuMethodList": [
@@ -89,10 +107,8 @@
], ],
"profileType": "id_provider" "profileType": "id_provider"
}, },
"createdTimestamp": 1601961451981, "createdTimestamp": 1602015574295,
"lastModifiedTimestamp": 1601961451981, "lastModifiedTimestamp": 1602015574295,
"childProfileIds": [ "childProfileIds": []
1
]
} }
] ]

View File

@@ -1,5 +1,5 @@
[ [
{ {
"model_type": "Profile", "model_type": "Profile",
"id": 5, "id": 5,
"customerId": 2, "customerId": 2,
@@ -30,8 +30,8 @@
], ],
"profileType": "operator" "profileType": "operator"
}, },
"createdTimestamp": 1601961451776, "createdTimestamp": 1602015573969,
"lastModifiedTimestamp": 1601961451776, "lastModifiedTimestamp": 1602015573969,
"childProfileIds": [] "childProfileIds": []
} }
] ]

View File

@@ -1,5 +1,5 @@
[ [
{ {
"model_type": "Profile", "model_type": "Profile",
"id": 6, "id": 6,
"customerId": 2, "customerId": 2,
@@ -35,8 +35,8 @@
}, },
"profileType": "venue" "profileType": "venue"
}, },
"createdTimestamp": 1601961451781, "createdTimestamp": 1602015573975,
"lastModifiedTimestamp": 1601961451781, "lastModifiedTimestamp": 1602015573975,
"childProfileIds": [] "childProfileIds": []
} }
] ]

View File

@@ -1,5 +1,5 @@
[ [
{ {
"model_type": "Profile", "model_type": "Profile",
"id": 8, "id": 8,
"customerId": 2, "customerId": 2,
@@ -63,8 +63,8 @@
"profileType": "hotspot_2pt0", "profileType": "hotspot_2pt0",
"mccMncList": "302,720" "mccMncList": "302,720"
}, },
"createdTimestamp": 1601961452370, "createdTimestamp": 1602015574677,
"lastModifiedTimestamp": 1601961452370, "lastModifiedTimestamp": 1602015574677,
"childProfileIds": [ "childProfileIds": [
5, 5,
6, 6,

View File

@@ -1,5 +1,5 @@
[ [
{ {
"model_type": "Profile", "model_type": "Profile",
"id": 7, "id": 7,
"customerId": 2, "customerId": 2,
@@ -29,12 +29,19 @@
], ],
"encoding": 0, "encoding": 0,
"eapMethods": [ "eapMethods": [
"EAP-MSCHAP-V2 with username/password",
"EAP-TTLS with username/password",
"EAP-TLS with certificate" "EAP-TLS with certificate"
], ],
"eapMap": { "eapMap": {
"EAP-MSCHAP-V2 with username/password": [
"Non-EAP Inner Authentication Type:MSCHAPV2"
],
"EAP-TTLS with username/password": [
"Credential Type:username/password"
],
"EAP-TLS with certificate": [ "EAP-TLS with certificate": [
"Softoken", "Credential Type:username/password"
"Certificate"
] ]
} }
} }
@@ -48,6 +55,7 @@
"iconLocale": "en_CA", "iconLocale": "en_CA",
"iconName": "icon32.png", "iconName": "icon32.png",
"filePath": "/tmp/icon32.png", "filePath": "/tmp/icon32.png",
"imageUrl": "https://localhost:9096",
"hs20IconString": "32:32:eng:image/png:icon32.png:/tmp/icon32.png" "hs20IconString": "32:32:eng:image/png:icon32.png:/tmp/icon32.png"
} }
], ],
@@ -55,14 +63,24 @@
"radiusProfileAccounting": "Radius-Profile", "radiusProfileAccounting": "Radius-Profile",
"osuSsid": "TipWlan-cloud-3-radios", "osuSsid": "TipWlan-cloud-3-radios",
"osuServerUri": "https://example.com/osu/", "osuServerUri": "https://example.com/osu/",
"osuFriendlyName": { "osuFriendlyName": [
"model_type": "Hotspot20Duple", {
"locale": "en_CA", "model_type": "Hotspot20Duple",
"dupleIso3Language": "eng", "locale": "en_CA",
"dupleName": "Example provider", "dupleIso3Language": "eng",
"defaultDupleSeparator": ":", "dupleName": "Example provider",
"asDuple": "eng:Example provider" "defaultDupleSeparator": ":",
}, "asDuple": "eng:Example provider"
},
{
"model_type": "Hotspot20Duple",
"locale": "fr_CA",
"dupleIso3Language": "fra",
"dupleName": "Exemple de fournisseur",
"defaultDupleSeparator": ":",
"asDuple": "fra:Exemple de fournisseur"
}
],
"osuNaiStandalone": "anonymous@example.com", "osuNaiStandalone": "anonymous@example.com",
"osuNaiShared": "anonymous@example.com", "osuNaiShared": "anonymous@example.com",
"osuMethodList": [ "osuMethodList": [
@@ -89,10 +107,8 @@
], ],
"profileType": "id_provider" "profileType": "id_provider"
}, },
"createdTimestamp": 1601961451981, "createdTimestamp": 1602015574295,
"lastModifiedTimestamp": 1601961451981, "lastModifiedTimestamp": 1602015574295,
"childProfileIds": [ "childProfileIds": []
1
]
} }
] ]

View File

@@ -1,5 +1,5 @@
[ [
{ {
"model_type": "Profile", "model_type": "Profile",
"id": 5, "id": 5,
"customerId": 2, "customerId": 2,
@@ -30,8 +30,8 @@
], ],
"profileType": "operator" "profileType": "operator"
}, },
"createdTimestamp": 1601961451776, "createdTimestamp": 1602015573969,
"lastModifiedTimestamp": 1601961451776, "lastModifiedTimestamp": 1602015573969,
"childProfileIds": [] "childProfileIds": []
} }
] ]

View File

@@ -1,5 +1,5 @@
[ [
{ {
"model_type": "Profile", "model_type": "Profile",
"id": 6, "id": 6,
"customerId": 2, "customerId": 2,
@@ -35,8 +35,8 @@
}, },
"profileType": "venue" "profileType": "venue"
}, },
"createdTimestamp": 1601961451781, "createdTimestamp": 1602015573975,
"lastModifiedTimestamp": 1601961451781, "lastModifiedTimestamp": 1602015573975,
"childProfileIds": [] "childProfileIds": []
} }
] ]

View File

@@ -1,5 +1,5 @@
[ [
{ {
"model_type": "Profile", "model_type": "Profile",
"id": 8, "id": 8,
"customerId": 2, "customerId": 2,
@@ -63,8 +63,8 @@
"profileType": "hotspot_2pt0", "profileType": "hotspot_2pt0",
"mccMncList": "302,720" "mccMncList": "302,720"
}, },
"createdTimestamp": 1601961452370, "createdTimestamp": 1602015574677,
"lastModifiedTimestamp": 1601961452370, "lastModifiedTimestamp": 1602015574677,
"childProfileIds": [ "childProfileIds": [
5, 5,
6, 6,

View File

@@ -1,5 +1,5 @@
[ [
{ {
"model_type": "Profile", "model_type": "Profile",
"id": 7, "id": 7,
"customerId": 2, "customerId": 2,
@@ -29,12 +29,19 @@
], ],
"encoding": 0, "encoding": 0,
"eapMethods": [ "eapMethods": [
"EAP-MSCHAP-V2 with username/password",
"EAP-TTLS with username/password",
"EAP-TLS with certificate" "EAP-TLS with certificate"
], ],
"eapMap": { "eapMap": {
"EAP-MSCHAP-V2 with username/password": [
"Non-EAP Inner Authentication Type:MSCHAPV2"
],
"EAP-TTLS with username/password": [
"Credential Type:username/password"
],
"EAP-TLS with certificate": [ "EAP-TLS with certificate": [
"Softoken", "Credential Type:username/password"
"Certificate"
] ]
} }
} }
@@ -48,6 +55,7 @@
"iconLocale": "en_CA", "iconLocale": "en_CA",
"iconName": "icon32.png", "iconName": "icon32.png",
"filePath": "/tmp/icon32.png", "filePath": "/tmp/icon32.png",
"imageUrl": "https://localhost:9096",
"hs20IconString": "32:32:eng:image/png:icon32.png:/tmp/icon32.png" "hs20IconString": "32:32:eng:image/png:icon32.png:/tmp/icon32.png"
} }
], ],
@@ -55,14 +63,24 @@
"radiusProfileAccounting": "Radius-Profile", "radiusProfileAccounting": "Radius-Profile",
"osuSsid": "TipWlan-cloud-3-radios", "osuSsid": "TipWlan-cloud-3-radios",
"osuServerUri": "https://example.com/osu/", "osuServerUri": "https://example.com/osu/",
"osuFriendlyName": { "osuFriendlyName": [
"model_type": "Hotspot20Duple", {
"locale": "en_CA", "model_type": "Hotspot20Duple",
"dupleIso3Language": "eng", "locale": "en_CA",
"dupleName": "Example provider", "dupleIso3Language": "eng",
"defaultDupleSeparator": ":", "dupleName": "Example provider",
"asDuple": "eng:Example provider" "defaultDupleSeparator": ":",
}, "asDuple": "eng:Example provider"
},
{
"model_type": "Hotspot20Duple",
"locale": "fr_CA",
"dupleIso3Language": "fra",
"dupleName": "Exemple de fournisseur",
"defaultDupleSeparator": ":",
"asDuple": "fra:Exemple de fournisseur"
}
],
"osuNaiStandalone": "anonymous@example.com", "osuNaiStandalone": "anonymous@example.com",
"osuNaiShared": "anonymous@example.com", "osuNaiShared": "anonymous@example.com",
"osuMethodList": [ "osuMethodList": [
@@ -89,10 +107,8 @@
], ],
"profileType": "id_provider" "profileType": "id_provider"
}, },
"createdTimestamp": 1601961451981, "createdTimestamp": 1602015574295,
"lastModifiedTimestamp": 1601961451981, "lastModifiedTimestamp": 1602015574295,
"childProfileIds": [ "childProfileIds": []
1
]
} }
] ]

View File

@@ -1,5 +1,5 @@
[ [
{ {
"model_type": "Profile", "model_type": "Profile",
"id": 5, "id": 5,
"customerId": 2, "customerId": 2,
@@ -30,8 +30,8 @@
], ],
"profileType": "operator" "profileType": "operator"
}, },
"createdTimestamp": 1601961451776, "createdTimestamp": 1602015573969,
"lastModifiedTimestamp": 1601961451776, "lastModifiedTimestamp": 1602015573969,
"childProfileIds": [] "childProfileIds": []
} }
] ]

View File

@@ -1,5 +1,5 @@
[ [
{ {
"model_type": "Profile", "model_type": "Profile",
"id": 6, "id": 6,
"customerId": 2, "customerId": 2,
@@ -35,8 +35,8 @@
}, },
"profileType": "venue" "profileType": "venue"
}, },
"createdTimestamp": 1601961451781, "createdTimestamp": 1602015573975,
"lastModifiedTimestamp": 1601961451781, "lastModifiedTimestamp": 1602015573975,
"childProfileIds": [] "childProfileIds": []
} }
] ]