forked from APS-Networks/APS-One-touch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconstants.py
50 lines (48 loc) · 1.54 KB
/
constants.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#Switch Types
bf2556x_1t= 'BF2556X_1T'
bf6064x_t='BF6064X_T'
#APS profile names
sal_hw_profile_name = 'sal_hw_profile'
sal_sim_profile_name = 'sal_sim_profile'
sde_hw_profile_name = 'sde_hw_profile'
sde_sim_profile_name = 'sde_sim_profile'
stratum_hw_profile_name = 'stratum_hw_profile'
stratum_sim_profile_name = 'stratum_sim_profile'
stratum_hw_profile = 'stratum_hw'
stratum_sim_profile = 'stratum_sim'
#Env var names
sal_home_env_var_name = 'SAL_HOME'
sal_install_env_var_name = 'SAL_INSTALL'
tp_install_env_var_name = 'TP_INSTALL'
pythonpath_env_var_name = 'PYTHONPATH'
gb_src_home_env_var_name = 'GB_SRC_HOME'
gb_lib_home_env_var_name = 'GB_LIB_HOME'
sde_env_var_name = 'SDE'
sde_install_env_var_name = 'SDE_INSTALL'
sde_include_env_var_name = 'SDE_INCLUDE'
ld_lib_path_env_var_name = 'LD_LIBRARY_PATH'
pi_install_env_var_name = 'PI_INSTALL'
bf_sde_install_env_var_name = 'BF_SDE_INSTALL'
stratum_home_env_var_name = 'STRATUM_HOME'
stratum_config_env_var_name = 'STRATUM_CONFIG'
path_env_var_name='PATH'
##Yaml settings nodes
switch_model_node='SWITCH Model'
build_profiles_node='BUILD_PROFILES'
sal_home_node='sal_home'
sal_sw_attr_node= 'SAL'
name_node='name'
selected_node='selected'
path_prefix_node='PATH_PREFIX'
#SAL related nodes
sal_sim_profile_node= 'sal_sim'
sal_hw_profile_node='sal_hw'
details_node='details'
enable_grpc_node='enable_grpc'
enable_tofino_node='enable_tofino'
build_third_party_node='build_third_party'
#SDE related nodes
sde_sim_profile_node='sde_sim'
sde_hw_profile_node='sde_hw'
sde_build_flags_node='build_flags'
sde_version_node='sde_version'