mirror of
https://github.com/Telecominfraproject/wlan-testing.git
synced 2025-10-29 18:12:34 +00:00
add AP model matrix (#205)
This commit is contained in:
@@ -23,13 +23,13 @@ def main():
|
||||
if service.ServiceName != 'Helm Service V2':
|
||||
continue
|
||||
|
||||
config['controller']['url'] = f'https://sec-ucentral-{res_id.split("-")[0]}.cicd.lab.wlan.tip.build:16001'
|
||||
config['controller']['url'] = f'https://sec-{res_id.split("-")[0]}.cicd.lab.wlan.tip.build:16001'
|
||||
config['controller']['username'] = next(attr.Value for attr in service.Attributes if attr.Name == f'{service.ServiceName}.User')
|
||||
#config['controller']['password'] = next(attr.Value for attr in service.Attributes if attr.Name == f'{service.ServiceName}.Password')
|
||||
config['controller']['password'] = 'openwifi'
|
||||
|
||||
for resource in resources_in_reservation:
|
||||
if resource.ResourceModelName == 'Ap':
|
||||
if resource.ResourceModelName == 'ApV2':
|
||||
details = session.GetResourceDetails(resource.Name)
|
||||
ap_config = {}
|
||||
|
||||
|
||||
@@ -11,11 +11,11 @@ run_id = os.environ.get('GITHUB_RUN_NUMBER', 1)
|
||||
|
||||
def main():
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument('--ucentral-version', default='main')
|
||||
parser.add_argument('--ucentral-gw-version', default='master')
|
||||
parser.add_argument('--ucentral-sec-version', default='main')
|
||||
parser.add_argument('--ucentral-fms-version', default='main')
|
||||
parser.add_argument('--ucentral-ui-version', default='main')
|
||||
parser.add_argument('--openwifi-version', default='main')
|
||||
parser.add_argument('--openwifi-gw-version', default='master')
|
||||
parser.add_argument('--openwifi-sec-version', default='main')
|
||||
parser.add_argument('--openwifi-fms-version', default='main')
|
||||
parser.add_argument('--openwifi-ui-version', default='main')
|
||||
parser.add_argument('--ap-model', default='EC420')
|
||||
parser.add_argument('--wifi-type', default='Wifi5')
|
||||
args = parser.parse_args()
|
||||
@@ -28,11 +28,11 @@ def main():
|
||||
durationInMinutes=360,
|
||||
topologyFullPath='Basic Lab',
|
||||
globalInputs=[
|
||||
UpdateTopologyGlobalInputsRequest('Chart Version', args.ucentral_version),
|
||||
UpdateTopologyGlobalInputsRequest('ucentralgw Version', args.ucentral_gw_version),
|
||||
UpdateTopologyGlobalInputsRequest('ucentralsec Version', args.ucentral_sec_version),
|
||||
UpdateTopologyGlobalInputsRequest('ucentralfms Version', args.ucentral_fms_version),
|
||||
UpdateTopologyGlobalInputsRequest('ucentralgwui Version', args.ucentral_ui_version),
|
||||
UpdateTopologyGlobalInputsRequest('Chart Version', args.openwifi_version),
|
||||
UpdateTopologyGlobalInputsRequest('owgw Version', args.openwifi_gw_version),
|
||||
UpdateTopologyGlobalInputsRequest('owsec Version', args.openwifi_sec_version),
|
||||
UpdateTopologyGlobalInputsRequest('owfms Version', args.openwifi_fms_version),
|
||||
UpdateTopologyGlobalInputsRequest('owgwui Version', args.openwifi_ui_version),
|
||||
UpdateTopologyGlobalInputsRequest('AP Model', args.ap_model),
|
||||
UpdateTopologyGlobalInputsRequest('Wifi type', args.wifi_type),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user