- reduced testcase execution time

- refactored configuration

Signed-off-by: Sushant Bawiskar <sushant.bawiskar@candelatech.com>
This commit is contained in:
sushant
2021-10-26 16:24:10 +05:30
committed by Sushant Bawiskar
parent a573489949
commit 909c4c73d8
5 changed files with 28 additions and 19 deletions

View File

@@ -13,7 +13,7 @@ import allure
import requests
from operator import itemgetter
from pathlib import Path
from configuration import EXPRESS_WIFI
from configuration import open_flow
from requests.adapters import HTTPAdapter
import logging
@@ -392,9 +392,9 @@ class UProfileUtility:
self.base_profile_config["interfaces"][1]["services"] = ["ssh", "lldp", "open-flow"]
self.base_profile_config["interfaces"][1]["ipv4"]["subnet"] = "192.168.97.1/24"
self.base_profile_config["interfaces"][1]["ipv4"]["dhcp"]["lease-count"] = 100
self.base_profile_config['services'] = EXPRESS_WIFI["services"]
self.base_profile_config['metrics']['wifi-frames'] = EXPRESS_WIFI["wifi_frames"]
self.base_profile_config['metrics']['dhcp-snooping'] = EXPRESS_WIFI["dhcp_snooping"]
self.base_profile_config['services']["open-flow"] = open_flow
self.base_profile_config['services']['lldp']['describe'] = "OpenWiFi - expressWiFi"
self.base_profile_config['services']['lldp']['location'] = "Hotspot"