From e555ea9dcf64be857da30a89d26965236106c6a9 Mon Sep 17 00:00:00 2001 From: madhanmellanox <62459540+madhanmellanox@users.noreply.github.com> Date: Wed, 3 Mar 2021 11:27:24 -0800 Subject: [PATCH] [SKU creator] fix wrong speed in case breakout of 2x50 (#1380) **- What I did** I fixed the port split feature of SKU creator tool. **- How I did it** When trying to use port split feature of SKU creator tool to split a port in port_config.ini and config_db.json. It was not working, I fixed. **- How to verify it** With this fix, we should be able to split and unsplit a port in port_config.ini and config_db.json **- Previous command output (if the output of a command-line utility has changed)** No changes to CLI commands **- New command output (if the output of a command-line utility has changed)** No changes to CLI commands --- scripts/sonic_sku_create.py | 100 +- .../ACS-MSN2700/buffers.json.j2 | 0 .../ACS-MSN2700/buffers_defaults_t0.j2 | 50 +- .../ACS-MSN2700/buffers_defaults_t1.j2 | 50 +- .../ACS-MSN2700/buffers_dynamic.json.j2} | 1 + .../2700_files/ACS-MSN2700/hwsku.json | 100 + .../ACS-MSN2700/pg_profile_lookup.ini | 17 + .../2700_files/ACS-MSN2700/port_config.ini | 33 + .../2700_files/ACS-MSN2700/qos.json.j2 | 1 + .../2700_files/ACS-MSN2700/sai.profile | 1 + .../2700_files/ACS-MSN2700/sai_2700.xml | 246 + .../Mellanox-SN2700-C28D8-ORIG/hwsku.json | 112 + .../port_config.ini | 37 + .../Mellanox-SN2700-C28D8-ORIG/sai.profile | 1 + .../sai_2700_8x50g_28x100g.xml | 250 + .../Mellanox-SN2700-D48C8.xml | 0 .../buffers_defaults_t0.j2 | 106 + .../buffers_defaults_t1.j2 | 106 + .../Mellanox-SN2700-D48C8/hwsku.json | 172 + .../pg_profile_lookup.ini | 17 + .../Mellanox-SN2700-D48C8/port_config.ini | 57 + .../Mellanox-SN2700-D48C8/qos.json.j2 | 1 + .../Mellanox-SN2700-D48C8/sai.profile | 0 .../sai_2700_48x50g_8x100g.xml | 3 + .../2700_files/config_db.json | 670 + .../{ => 2700_files}/default_sku | 0 .../ACS-MSN3800}/buffers_defaults_t0.j2 | 52 +- .../ACS-MSN3800}/buffers_defaults_t1.j2 | 52 +- .../3800_files/ACS-MSN3800/hwsku.json | 196 + .../ACS-MSN3800/pg_profile_lookup.ini | 17 + .../3800_files/ACS-MSN3800/port_config.ini | 65 + .../3800_files/ACS-MSN3800/sai.profile | 1 + .../3800_files/ACS-MSN3800/sai_3800.xml | 470 + .../buffers_defaults_t0.j2 | 104 + .../buffers_defaults_t1.j2 | 104 + .../Mellanox-SN3800-D28C50/hwsku.json | 238 + .../Mellanox-SN3800-D28C50/port_config.ini | 79 + .../Mellanox-SN3800-D28C50/sai.profile | 1 + .../sai_3800_28x50g_52x100g.xml | 470 + tests/sku_create_input/3800_files/default_sku | 1 + .../3800_files/t0-1-06-minigraph.xml | 13830 ++++++++++++++++ .../ACS-MSN2700/pg_profile_lookup.ini | 17 - .../ACS-MSN2700/port_config.ini | 33 - tests/sku_create_input/ACS-MSN2700/qos.json | 166 - .../sku_create_input/ACS-MSN2700/sai.profile | 1 - .../pg_profile_lookup.ini | 17 - .../Mellanox-SN2700-D48C8/port_config.ini | 57 - .../Mellanox-SN2700-D48C8/port_config.ini.bak | 57 - .../Mellanox-SN2700-D48C8/port_config.ini.new | 60 - .../port_config.ini.orig | 57 - .../Mellanox-SN2700-D48C8/qos.json | 166 - tests/sku_create_input/port_split_files/test | 1 + .../sku_create_input/port_unsplit_files/test | 1 + tests/sku_create_test.py | 221 +- 54 files changed, 17928 insertions(+), 737 deletions(-) rename tests/sku_create_input/{ => 2700_files}/ACS-MSN2700/buffers.json.j2 (100%) rename tests/sku_create_input/{ => 2700_files}/ACS-MSN2700/buffers_defaults_t0.j2 (67%) rename tests/sku_create_input/{ => 2700_files}/ACS-MSN2700/buffers_defaults_t1.j2 (67%) rename tests/sku_create_input/{Mellanox-SN2700-D48C8/buffers.json.j2 => 2700_files/ACS-MSN2700/buffers_dynamic.json.j2} (66%) create mode 100644 tests/sku_create_input/2700_files/ACS-MSN2700/hwsku.json create mode 100644 tests/sku_create_input/2700_files/ACS-MSN2700/pg_profile_lookup.ini create mode 100644 tests/sku_create_input/2700_files/ACS-MSN2700/port_config.ini create mode 100644 tests/sku_create_input/2700_files/ACS-MSN2700/qos.json.j2 create mode 100644 tests/sku_create_input/2700_files/ACS-MSN2700/sai.profile create mode 100644 tests/sku_create_input/2700_files/ACS-MSN2700/sai_2700.xml create mode 100644 tests/sku_create_input/2700_files/Mellanox-SN2700-C28D8-ORIG/hwsku.json create mode 100644 tests/sku_create_input/2700_files/Mellanox-SN2700-C28D8-ORIG/port_config.ini create mode 100644 tests/sku_create_input/2700_files/Mellanox-SN2700-C28D8-ORIG/sai.profile create mode 100644 tests/sku_create_input/2700_files/Mellanox-SN2700-C28D8-ORIG/sai_2700_8x50g_28x100g.xml rename tests/sku_create_input/{ => 2700_files}/Mellanox-SN2700-D48C8.xml (100%) create mode 100644 tests/sku_create_input/2700_files/Mellanox-SN2700-D48C8/buffers_defaults_t0.j2 create mode 100644 tests/sku_create_input/2700_files/Mellanox-SN2700-D48C8/buffers_defaults_t1.j2 create mode 100644 tests/sku_create_input/2700_files/Mellanox-SN2700-D48C8/hwsku.json create mode 100644 tests/sku_create_input/2700_files/Mellanox-SN2700-D48C8/pg_profile_lookup.ini create mode 100644 tests/sku_create_input/2700_files/Mellanox-SN2700-D48C8/port_config.ini create mode 100644 tests/sku_create_input/2700_files/Mellanox-SN2700-D48C8/qos.json.j2 rename tests/sku_create_input/{ => 2700_files}/Mellanox-SN2700-D48C8/sai.profile (100%) rename tests/sku_create_input/{ => 2700_files}/Mellanox-SN2700-D48C8/sai_2700_48x50g_8x100g.xml (95%) create mode 100644 tests/sku_create_input/2700_files/config_db.json rename tests/sku_create_input/{ => 2700_files}/default_sku (100%) rename tests/sku_create_input/{Mellanox-SN2700-D48C8 => 3800_files/ACS-MSN3800}/buffers_defaults_t0.j2 (67%) rename tests/sku_create_input/{Mellanox-SN2700-D48C8 => 3800_files/ACS-MSN3800}/buffers_defaults_t1.j2 (67%) create mode 100644 tests/sku_create_input/3800_files/ACS-MSN3800/hwsku.json create mode 100644 tests/sku_create_input/3800_files/ACS-MSN3800/pg_profile_lookup.ini create mode 100644 tests/sku_create_input/3800_files/ACS-MSN3800/port_config.ini create mode 100644 tests/sku_create_input/3800_files/ACS-MSN3800/sai.profile create mode 100644 tests/sku_create_input/3800_files/ACS-MSN3800/sai_3800.xml create mode 100644 tests/sku_create_input/3800_files/Mellanox-SN3800-D28C50/buffers_defaults_t0.j2 create mode 100644 tests/sku_create_input/3800_files/Mellanox-SN3800-D28C50/buffers_defaults_t1.j2 create mode 100644 tests/sku_create_input/3800_files/Mellanox-SN3800-D28C50/hwsku.json create mode 100644 tests/sku_create_input/3800_files/Mellanox-SN3800-D28C50/port_config.ini create mode 100644 tests/sku_create_input/3800_files/Mellanox-SN3800-D28C50/sai.profile create mode 100644 tests/sku_create_input/3800_files/Mellanox-SN3800-D28C50/sai_3800_28x50g_52x100g.xml create mode 100644 tests/sku_create_input/3800_files/default_sku create mode 100644 tests/sku_create_input/3800_files/t0-1-06-minigraph.xml delete mode 100644 tests/sku_create_input/ACS-MSN2700/pg_profile_lookup.ini delete mode 100644 tests/sku_create_input/ACS-MSN2700/port_config.ini delete mode 100644 tests/sku_create_input/ACS-MSN2700/qos.json delete mode 100644 tests/sku_create_input/ACS-MSN2700/sai.profile delete mode 100644 tests/sku_create_input/Mellanox-SN2700-D48C8/pg_profile_lookup.ini delete mode 100644 tests/sku_create_input/Mellanox-SN2700-D48C8/port_config.ini delete mode 100644 tests/sku_create_input/Mellanox-SN2700-D48C8/port_config.ini.bak delete mode 100644 tests/sku_create_input/Mellanox-SN2700-D48C8/port_config.ini.new delete mode 100644 tests/sku_create_input/Mellanox-SN2700-D48C8/port_config.ini.orig delete mode 100644 tests/sku_create_input/Mellanox-SN2700-D48C8/qos.json create mode 100644 tests/sku_create_input/port_split_files/test create mode 100644 tests/sku_create_input/port_unsplit_files/test diff --git a/scripts/sonic_sku_create.py b/scripts/sonic_sku_create.py index 846f45482548..cc81782353c0 100755 --- a/scripts/sonic_sku_create.py +++ b/scripts/sonic_sku_create.py @@ -56,7 +56,7 @@ "1x1": { "lanes":4, "speed":1000, "step":4, "bko":0, "name": "etp" }, "4x10": { "lanes":4, "speed":10000, "step":1, "bko":1, "name": "etp" }, "4x25": { "lanes":4, "speed":25000, "step":1, "bko":1, "name": "etp" }, - "2x50": { "lanes":4, "speed":25000, "step":2, "bko":1, "name": "etp" }, + "2x50": { "lanes":4, "speed":50000, "step":2, "bko":1, "name": "etp" }, } bko_dict_8 = { @@ -218,7 +218,7 @@ def check_json_lanes_with_bko(self, data, port_idx): return entry return None - def write_json_lanes_to_ini_file(self, data, port_idx, port_split, f_out): + def write_json_lanes_to_pi_list(self, data, port_idx, port_split, pi_list): # Function to write line of port_config.ini corresponding to a port step = self.bko_dict[port_split]["step"] for i in range(0,self.base_lanes,step): @@ -227,18 +227,14 @@ def write_json_lanes_to_ini_file(self, data, port_idx, port_split, f_out): curr_speed = curr_port_dict.get("speed") curr_alias = curr_port_dict.get("alias") curr_lanes = curr_port_dict.get("lanes") - curr_index = port_idx/self.base_lanes - out_str = "{:15s} {:20s} {:11s} {:9s} {:10s}\n".format(curr_port_str,curr_lanes,curr_alias,str(curr_index),str(curr_speed)) - if self.print_mode == True: - print(out_str) - else: - f_out.write(out_str) - if self.verbose and (self.print_mode == False): - print(out_str) + curr_index = int(port_idx/self.base_lanes) + 1 + curr_port_info = [curr_port_str, curr_lanes, curr_alias, curr_index, curr_speed] + pi_list.append(curr_port_info) return def json_file_parser(self, json_file): # Function to generate SKU file from config_db.json file by extracting port related information from the config_db.json file + pi_list = [] with open(json_file) as f: data = json.load(f,object_pairs_hook=OrderedDict) meta_dict = data['DEVICE_METADATA']['localhost'] @@ -254,6 +250,9 @@ def json_file_parser(self, json_file): f_out = open(new_file, 'w') header_str = "#name lanes alias index speed\n" f_out.write(header_str) + + # data['PORT'] is already an OrderedDict, we can not sort it, so we create + # pi_list - list of port info items and then sort it for key, value in data['PORT'].items(): pattern = '^Ethernet([0-9]{1,})' m = re.match(pattern,key) @@ -265,9 +264,20 @@ def json_file_parser(self, json_file): if port_idx%self.base_lanes == 0: result = self.check_json_lanes_with_bko(data, port_idx) if result != None: - self.write_json_lanes_to_ini_file(data,port_idx,result,f_out) + self.write_json_lanes_to_pi_list(data, port_idx, result, pi_list) else: continue + + pi_list.sort(key=lambda x: (int(re.search(('^Ethernet([0-9]{1,})'),x[0]).group(1)))) # sort the list with interface name + + for port_info in pi_list: + out_str = "{:15s} {:20s} {:11s} {:9s} {:10s}\n".format(port_info[0],port_info[1],port_info[2],str(port_info[3]),str(port_info[4])) + if self.print_mode == True: + print(out_str) + else: + f_out.write(out_str) + if self.verbose and (self.print_mode == False): + print(out_str) f_out.close() self.port_config_split_analyze(self.ini_file) self.form_port_config_dict_from_ini(self.ini_file) @@ -275,6 +285,19 @@ def json_file_parser(self, json_file): shutil.copy(new_file,self.ini_file) return + def parse_platform_from_config_db_file(self, config_file): + with open(config_file) as f: + data = json.load(f,object_pairs_hook=OrderedDict) + meta_dict = data['DEVICE_METADATA']['localhost'] + platform = meta_dict.get("platform") + pattern = '^x86_64-mlnx_msn([0-9]{1,}[a-zA-Z]?)-r0' + m = re.match(pattern,platform) + if m is None: + print("Platform Name ", platform, " is not valid, Exiting...", file=sys.stderr) + exit(1) + self.platform = platform + + def port_config_split_analyze(self, ini_file): #Internal function to populate fpp_split tuple with from a port information new_file = ini_file + ".new" @@ -398,16 +421,16 @@ def break_in_ini(self, ini_file, port_name, port_split): #find split partition for i in range(0,base_lanes,step): - port_str = "Ethernet{:d}".format(line_port_index + i/step) - lanes_str = "{:d}".format(lane_index + i/step) + port_str = "Ethernet{:d}".format(line_port_index + i) + lanes_str = "{:d}".format(lane_index + i) if step > 1: for j in range(1,step): - lanes_str += ",{:d}".format(lane_index + j) + lanes_str += ",{:d}".format(lane_index + i + j) if bko == 0: alias_str = "etp{:d}".format(alias_index) else: - alias_str = "etp{:d}{:s}".format(alias_index,alias_arr[i/step]) - index_str = "{:d}".format(alias_index-1) + alias_str = "etp{:d}{:s}".format(alias_index,alias_arr[int(i/step)]) + index_str = "{:d}".format(alias_index) lanes_str_result = lanes_str_result + ":" + lanes_str out_str = "{:15s} {:20s} {:11s} {:9s} {:10s}\n".format(port_str,lanes_str,alias_str,index_str,str(speed)) f_out.write(out_str) @@ -446,7 +469,6 @@ def break_in_cfg(self, cfg_file, port_name, port_split, lanes_str_result): for port_index in range (port_idx,port_idx+self.base_lanes): port_str = "Ethernet" + str(port_index) - print("Port String ",port_str) if data['PORT'].get(port_str) != None: port_instance = data['PORT'].get(port_str) @@ -467,15 +489,14 @@ def break_in_cfg(self, cfg_file, port_name, port_split, lanes_str_result): bko = self.bko_dict[port_split]["bko"] for i in range(0,self.base_lanes,step): - port_str = "Ethernet{:d}".format(port_idx + i/step) + port_str = "Ethernet{:d}".format(port_idx + i) lanes_str = lanes_arr[j] j += 1 if bko == 0: - alias_str = "etp{:d}".format((port_idx/self.base_lanes)+1) + alias_str = "etp{:d}".format(int(port_idx/self.base_lanes)+1) else: - alias_str = "etp{:d}{:s}".format((port_idx/self.base_lanes)+1,alias_arr[i/step]) - print("i= ",i," alias_str= ",alias_str) + alias_str = "etp{:d}{:s}".format(int(port_idx/self.base_lanes)+1,alias_arr[int(i/step)]) port_inst["lanes"] = lanes_str port_inst["alias"] = alias_str port_inst["speed"] = speed*1000 @@ -487,6 +508,7 @@ def break_in_cfg(self, cfg_file, port_name, port_split, lanes_str_result): with open(new_file, 'w') as outfile: json.dump(data, outfile, indent=4, sort_keys=True) + shutil.copy(new_file,cfg_file) print("--------------------------------------------------------") @@ -555,7 +577,7 @@ def set_lanes(self): m = re.match(pattern,self.default_lanes_per_port[fp-1]) if (splt == 1): self.portconfig_dict[idx_arr[0]][lanes_index] = m.group(1)+","+m.group(2)+","+m.group(3)+","+m.group(4) - self.portconfig_dict[idx_arr[0]][index_index] = str(fp-1) + self.portconfig_dict[idx_arr[0]][index_index] = str(fp) self.portconfig_dict[idx_arr[0]][name_index] = "Ethernet"+str((fp-1)*4) if (self.verbose): print("set_lanes -> FP: ",fp, "Split: ",splt) @@ -563,8 +585,8 @@ def set_lanes(self): elif (splt == 2): self.portconfig_dict[idx_arr[0]][lanes_index] = m.group(1)+","+m.group(2) self.portconfig_dict[idx_arr[1]][lanes_index] = m.group(3)+","+m.group(4) - self.portconfig_dict[idx_arr[0]][index_index] = str(fp-1) - self.portconfig_dict[idx_arr[1]][index_index] = str(fp-1) + self.portconfig_dict[idx_arr[0]][index_index] = str(fp) + self.portconfig_dict[idx_arr[1]][index_index] = str(fp) self.portconfig_dict[idx_arr[0]][name_index] = "Ethernet"+str((fp-1)*4) self.portconfig_dict[idx_arr[1]][name_index] = "Ethernet"+str((fp-1)*4+2) if (self.verbose): @@ -576,10 +598,10 @@ def set_lanes(self): self.portconfig_dict[idx_arr[1]][lanes_index] = m.group(2) self.portconfig_dict[idx_arr[2]][lanes_index] = m.group(3) self.portconfig_dict[idx_arr[3]][lanes_index] = m.group(4) - self.portconfig_dict[idx_arr[0]][index_index] = str(fp-1) - self.portconfig_dict[idx_arr[1]][index_index] = str(fp-1) - self.portconfig_dict[idx_arr[2]][index_index] = str(fp-1) - self.portconfig_dict[idx_arr[3]][index_index] = str(fp-1) + self.portconfig_dict[idx_arr[0]][index_index] = str(fp) + self.portconfig_dict[idx_arr[1]][index_index] = str(fp) + self.portconfig_dict[idx_arr[2]][index_index] = str(fp) + self.portconfig_dict[idx_arr[3]][index_index] = str(fp) self.portconfig_dict[idx_arr[0]][name_index] = "Ethernet"+str((fp-1)*4) self.portconfig_dict[idx_arr[1]][name_index] = "Ethernet"+str((fp-1)*4+1) self.portconfig_dict[idx_arr[2]][name_index] = "Ethernet"+str((fp-1)*4+2) @@ -700,6 +722,7 @@ def main(argv): parser.add_argument('-p', '--print', action='store_true', help='Print port_config.ini without creating a new SKU', default=False) parser.add_argument('--verbose', action='store_true', help='Verbose output', default=False) parser.add_argument('-d', '--default_sku_path', action='store',nargs=1, help='Specify Default SKU path', default=None) + parser.add_argument('-q', '--port_split_path', action='store',nargs=1, help='Specify Port split path', default=None) parser.add_argument('-v', '--version', action='version', version='%(prog)s 1.0') args = parser.parse_args() @@ -736,6 +759,8 @@ def main(argv): elif args.minigraph_file: sku.minigraph_parser(args.minigraph_file) elif args.json_file: + if sku.platform is None: + sku.parse_platform_from_config_db_file(args.json_file[0]) if sku.platform in platform_4: sku.base_lanes = 4 sku.bko_dict = bko_dict_4 @@ -751,6 +776,25 @@ def main(argv): sku.json_file_parser(args.json_file[0]) return elif args.port_split: + if args.port_split_path: + sku.ini_file = args.port_split_path[0] + "/port_config.ini" + sku.cfg_file = args.port_split_path[0] + "/config_db.json" + sku.parse_platform_from_config_db_file(sku.cfg_file) + else: + try: + sku_name = subprocess.check_output("show platform summary | grep HwSKU ",shell=True).rstrip().split()[1] + except KeyError: + print("Couldn't find HwSku info in Platform summary", file=sys.stderr) + exit(1) + sku.ini_file = sku.default_sku_path + "/" + sku_name + "/port_config.ini" + sku.cfg_file = "/etc/sonic/config_db.json" + + if sku.platform in platform_4: + sku.base_lanes = 4 + sku.bko_dict = bko_dict_4 + else: + sku.base_lanes = 8 + sku.bko_dict = bko_dict_8 sku.break_a_port(args.port_split[0], args.port_split[1]) return diff --git a/tests/sku_create_input/ACS-MSN2700/buffers.json.j2 b/tests/sku_create_input/2700_files/ACS-MSN2700/buffers.json.j2 similarity index 100% rename from tests/sku_create_input/ACS-MSN2700/buffers.json.j2 rename to tests/sku_create_input/2700_files/ACS-MSN2700/buffers.json.j2 diff --git a/tests/sku_create_input/ACS-MSN2700/buffers_defaults_t0.j2 b/tests/sku_create_input/2700_files/ACS-MSN2700/buffers_defaults_t0.j2 similarity index 67% rename from tests/sku_create_input/ACS-MSN2700/buffers_defaults_t0.j2 rename to tests/sku_create_input/2700_files/ACS-MSN2700/buffers_defaults_t0.j2 index 475a0227143c..d0bce94ba51d 100644 --- a/tests/sku_create_input/ACS-MSN2700/buffers_defaults_t0.j2 +++ b/tests/sku_create_input/2700_files/ACS-MSN2700/buffers_defaults_t0.j2 @@ -1,8 +1,8 @@ {% set default_cable = '5m' %} -{% set ingress_lossless_pool_size = '4194304' %} -{% set ingress_lossy_pool_size = '7340032' %} -{% set egress_lossless_pool_size = '16777152' %} -{% set egress_lossy_pool_size = '7340032' %} +{% set ingress_lossless_pool_size = '4580864' %} +{% set ingress_lossy_pool_size = '4580864' %} +{% set egress_lossless_pool_size = '13945824' %} +{% set egress_lossy_pool_size = '4580864' %} {%- macro generate_port_lists(PORT_ALL) %} {# Generate list of ports #} @@ -14,12 +14,16 @@ {%- macro generate_buffer_pool_and_profiles() %} "BUFFER_POOL": { "ingress_lossless_pool": { + {%- if dynamic_mode is not defined %} "size": "{{ ingress_lossless_pool_size }}", + {%- endif %} "type": "ingress", "mode": "dynamic" }, "ingress_lossy_pool": { + {%- if dynamic_mode is not defined %} "size": "{{ ingress_lossy_pool_size }}", + {%- endif %} "type": "ingress", "mode": "dynamic" }, @@ -29,7 +33,9 @@ "mode": "dynamic" }, "egress_lossy_pool": { + {%- if dynamic_mode is not defined %} "size": "{{ egress_lossy_pool_size }}", + {%- endif %} "type": "egress", "mode": "dynamic" } @@ -38,7 +44,7 @@ "ingress_lossless_profile": { "pool":"[BUFFER_POOL|ingress_lossless_pool]", "size":"0", - "dynamic_th":"0" + "dynamic_th":"7" }, "ingress_lossy_profile": { "pool":"[BUFFER_POOL|ingress_lossy_pool]", @@ -52,8 +58,8 @@ }, "egress_lossy_profile": { "pool":"[BUFFER_POOL|egress_lossy_pool]", - "size":"4096", - "dynamic_th":"3" + "size":"9216", + "dynamic_th":"7" }, "q_lossy_profile": { "pool":"[BUFFER_POOL|egress_lossy_pool]", @@ -65,25 +71,41 @@ {%- macro generate_profile_lists(port_names) %} "BUFFER_PORT_INGRESS_PROFILE_LIST": { - "{{ port_names }}": { +{% for port in port_names.split(',') %} + "{{ port }}": { "profile_list" : "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" - } + }{% if not loop.last %},{% endif %} + +{% endfor %} }, "BUFFER_PORT_EGRESS_PROFILE_LIST": { - "{{ port_names }}": { +{% for port in port_names.split(',') %} + "{{ port }}": { "profile_list" : "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" - } + }{% if not loop.last %},{% endif %} + +{% endfor %} } {%- endmacro %} {%- macro generate_queue_buffers(port_names) %} "BUFFER_QUEUE": { - "{{ port_names }}|3-4": { +{% for port in port_names.split(',') %} + "{{ port }}|3-4": { "profile" : "[BUFFER_PROFILE|egress_lossless_profile]" }, - "{{ port_names }}|0-1": { +{% endfor %} +{% for port in port_names.split(',') %} + "{{ port }}|0-2": { "profile" : "[BUFFER_PROFILE|q_lossy_profile]" - } + }, +{% endfor %} +{% for port in port_names.split(',') %} + "{{ port }}|5-6": { + "profile" : "[BUFFER_PROFILE|q_lossy_profile]" + }{% if not loop.last %},{% endif %} + +{% endfor %} } {%- endmacro %} diff --git a/tests/sku_create_input/ACS-MSN2700/buffers_defaults_t1.j2 b/tests/sku_create_input/2700_files/ACS-MSN2700/buffers_defaults_t1.j2 similarity index 67% rename from tests/sku_create_input/ACS-MSN2700/buffers_defaults_t1.j2 rename to tests/sku_create_input/2700_files/ACS-MSN2700/buffers_defaults_t1.j2 index c292ecc2f21a..5514c47a4090 100644 --- a/tests/sku_create_input/ACS-MSN2700/buffers_defaults_t1.j2 +++ b/tests/sku_create_input/2700_files/ACS-MSN2700/buffers_defaults_t1.j2 @@ -1,8 +1,8 @@ {% set default_cable = '5m' %} -{% set ingress_lossless_pool_size = '2097152' %} -{% set ingress_lossy_pool_size = '5242880' %} -{% set egress_lossless_pool_size = '16777152' %} -{% set egress_lossy_pool_size = '5242880' %} +{% set ingress_lossless_pool_size = '3302912' %} +{% set ingress_lossy_pool_size = '3302912' %} +{% set egress_lossless_pool_size = '13945824' %} +{% set egress_lossy_pool_size = '3302912' %} {%- macro generate_port_lists(PORT_ALL) %} {# Generate list of ports #} @@ -14,12 +14,16 @@ {%- macro generate_buffer_pool_and_profiles() %} "BUFFER_POOL": { "ingress_lossless_pool": { + {%- if dynamic_mode is not defined %} "size": "{{ ingress_lossless_pool_size }}", + {%- endif %} "type": "ingress", "mode": "dynamic" }, "ingress_lossy_pool": { + {%- if dynamic_mode is not defined %} "size": "{{ ingress_lossy_pool_size }}", + {%- endif %} "type": "ingress", "mode": "dynamic" }, @@ -29,7 +33,9 @@ "mode": "dynamic" }, "egress_lossy_pool": { + {%- if dynamic_mode is not defined %} "size": "{{ egress_lossy_pool_size }}", + {%- endif %} "type": "egress", "mode": "dynamic" } @@ -38,7 +44,7 @@ "ingress_lossless_profile": { "pool":"[BUFFER_POOL|ingress_lossless_pool]", "size":"0", - "dynamic_th":"0" + "dynamic_th":"7" }, "ingress_lossy_profile": { "pool":"[BUFFER_POOL|ingress_lossy_pool]", @@ -52,8 +58,8 @@ }, "egress_lossy_profile": { "pool":"[BUFFER_POOL|egress_lossy_pool]", - "size":"4096", - "dynamic_th":"3" + "size":"9216", + "dynamic_th":"7" }, "q_lossy_profile": { "pool":"[BUFFER_POOL|egress_lossy_pool]", @@ -65,25 +71,41 @@ {%- macro generate_profile_lists(port_names) %} "BUFFER_PORT_INGRESS_PROFILE_LIST": { - "{{ port_names }}": { +{% for port in port_names.split(',') %} + "{{ port }}": { "profile_list" : "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" - } + }{% if not loop.last %},{% endif %} + +{% endfor %} }, "BUFFER_PORT_EGRESS_PROFILE_LIST": { - "{{ port_names }}": { +{% for port in port_names.split(',') %} + "{{ port }}": { "profile_list" : "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" - } + }{% if not loop.last %},{% endif %} + +{% endfor %} } {%- endmacro %} {%- macro generate_queue_buffers(port_names) %} "BUFFER_QUEUE": { - "{{ port_names }}|3-4": { +{% for port in port_names.split(',') %} + "{{ port }}|3-4": { "profile" : "[BUFFER_PROFILE|egress_lossless_profile]" }, - "{{ port_names }}|0-1": { +{% endfor %} +{% for port in port_names.split(',') %} + "{{ port }}|0-2": { "profile" : "[BUFFER_PROFILE|q_lossy_profile]" - } + }, +{% endfor %} +{% for port in port_names.split(',') %} + "{{ port }}|5-6": { + "profile" : "[BUFFER_PROFILE|q_lossy_profile]" + }{% if not loop.last %},{% endif %} + +{% endfor %} } {%- endmacro %} diff --git a/tests/sku_create_input/Mellanox-SN2700-D48C8/buffers.json.j2 b/tests/sku_create_input/2700_files/ACS-MSN2700/buffers_dynamic.json.j2 similarity index 66% rename from tests/sku_create_input/Mellanox-SN2700-D48C8/buffers.json.j2 rename to tests/sku_create_input/2700_files/ACS-MSN2700/buffers_dynamic.json.j2 index 1083a6210fc9..5954cc77c114 100644 --- a/tests/sku_create_input/Mellanox-SN2700-D48C8/buffers.json.j2 +++ b/tests/sku_create_input/2700_files/ACS-MSN2700/buffers_dynamic.json.j2 @@ -1,2 +1,3 @@ {%- set default_topo = 't0' %} +{%- set dynamic_mode = 'true' %} {%- include 'buffers_config.j2' %} diff --git a/tests/sku_create_input/2700_files/ACS-MSN2700/hwsku.json b/tests/sku_create_input/2700_files/ACS-MSN2700/hwsku.json new file mode 100644 index 000000000000..3edbff817895 --- /dev/null +++ b/tests/sku_create_input/2700_files/ACS-MSN2700/hwsku.json @@ -0,0 +1,100 @@ +{ + "interfaces": { + "Ethernet0": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet4": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet8": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet12": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet16": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet20": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet24": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet28": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet32": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet36": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet40": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet44": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet48": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet52": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet56": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet60": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet64": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet68": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet72": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet76": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet80": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet84": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet88": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet92": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet96": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet100": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet104": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet108": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet112": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet116": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet120": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet124": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + } + } +} diff --git a/tests/sku_create_input/2700_files/ACS-MSN2700/pg_profile_lookup.ini b/tests/sku_create_input/2700_files/ACS-MSN2700/pg_profile_lookup.ini new file mode 100644 index 000000000000..7abb2a058d1b --- /dev/null +++ b/tests/sku_create_input/2700_files/ACS-MSN2700/pg_profile_lookup.ini @@ -0,0 +1,17 @@ +# PG lossless profiles. +# speed cable size xon xoff threshold + 10000 5m 49152 19456 29696 0 + 25000 5m 49152 19456 29696 0 + 40000 5m 49152 19456 29696 0 + 50000 5m 49152 19456 29696 0 + 100000 5m 50176 19456 30720 0 + 10000 40m 49152 19456 29696 0 + 25000 40m 51200 19456 31744 0 + 40000 40m 52224 19456 32768 0 + 50000 40m 53248 19456 33792 0 + 100000 40m 58368 19456 38912 0 + 10000 300m 56320 19456 36864 0 + 25000 300m 67584 19456 48128 0 + 40000 300m 78848 19456 59392 0 + 50000 300m 86016 19456 66560 0 + 100000 300m 123904 19456 104448 0 diff --git a/tests/sku_create_input/2700_files/ACS-MSN2700/port_config.ini b/tests/sku_create_input/2700_files/ACS-MSN2700/port_config.ini new file mode 100644 index 000000000000..c1e59909c0fb --- /dev/null +++ b/tests/sku_create_input/2700_files/ACS-MSN2700/port_config.ini @@ -0,0 +1,33 @@ +# name lanes alias index +Ethernet0 0,1,2,3 etp1 1 +Ethernet4 4,5,6,7 etp2 2 +Ethernet8 8,9,10,11 etp3 3 +Ethernet12 12,13,14,15 etp4 4 +Ethernet16 16,17,18,19 etp5 5 +Ethernet20 20,21,22,23 etp6 6 +Ethernet24 24,25,26,27 etp7 7 +Ethernet28 28,29,30,31 etp8 8 +Ethernet32 32,33,34,35 etp9 9 +Ethernet36 36,37,38,39 etp10 10 +Ethernet40 40,41,42,43 etp11 11 +Ethernet44 44,45,46,47 etp12 12 +Ethernet48 48,49,50,51 etp13 13 +Ethernet52 52,53,54,55 etp14 14 +Ethernet56 56,57,58,59 etp15 15 +Ethernet60 60,61,62,63 etp16 16 +Ethernet64 64,65,66,67 etp17 17 +Ethernet68 68,69,70,71 etp18 18 +Ethernet72 72,73,74,75 etp19 19 +Ethernet76 76,77,78,79 etp20 20 +Ethernet80 80,81,82,83 etp21 21 +Ethernet84 84,85,86,87 etp22 22 +Ethernet88 88,89,90,91 etp23 23 +Ethernet92 92,93,94,95 etp24 24 +Ethernet96 96,97,98,99 etp25 25 +Ethernet100 100,101,102,103 etp26 26 +Ethernet104 104,105,106,107 etp27 27 +Ethernet108 108,109,110,111 etp28 28 +Ethernet112 112,113,114,115 etp29 29 +Ethernet116 116,117,118,119 etp30 30 +Ethernet120 120,121,122,123 etp31 31 +Ethernet124 124,125,126,127 etp32 32 diff --git a/tests/sku_create_input/2700_files/ACS-MSN2700/qos.json.j2 b/tests/sku_create_input/2700_files/ACS-MSN2700/qos.json.j2 new file mode 100644 index 000000000000..3e548325ea30 --- /dev/null +++ b/tests/sku_create_input/2700_files/ACS-MSN2700/qos.json.j2 @@ -0,0 +1 @@ +{%- include 'qos_config.j2' %} diff --git a/tests/sku_create_input/2700_files/ACS-MSN2700/sai.profile b/tests/sku_create_input/2700_files/ACS-MSN2700/sai.profile new file mode 100644 index 000000000000..696f3d8182f9 --- /dev/null +++ b/tests/sku_create_input/2700_files/ACS-MSN2700/sai.profile @@ -0,0 +1 @@ +SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_2700.xml diff --git a/tests/sku_create_input/2700_files/ACS-MSN2700/sai_2700.xml b/tests/sku_create_input/2700_files/ACS-MSN2700/sai_2700.xml new file mode 100644 index 000000000000..eedf359fb889 --- /dev/null +++ b/tests/sku_create_input/2700_files/ACS-MSN2700/sai_2700.xml @@ -0,0 +1,246 @@ + + + + + + 00:02:03:04:05:00 + + + 1 + + + 32 + + + + + 1 + 4 + 16 + + + 3 + + + 98368 + + + 3 + 4 + 17 + 1 + 98368 + + + 5 + 4 + 18 + 3 + 98368 + + + 7 + 4 + 19 + 1 + 98368 + + + 9 + 4 + 20 + 3 + 98368 + + + 11 + 4 + 21 + 1 + 98368 + + + 13 + 4 + 22 + 3 + 98368 + + + 15 + 4 + 23 + 1 + 98368 + + + 17 + 4 + 24 + 3 + 98368 + + + 19 + 4 + 25 + 1 + 98368 + + + 21 + 4 + 26 + 3 + 98368 + + + 23 + 4 + 27 + 1 + 98368 + + + 25 + 4 + 28 + 3 + 98368 + + + 27 + 4 + 29 + 1 + 98368 + + + 29 + 4 + 30 + 3 + 98368 + + + 31 + 4 + 31 + 1 + 98368 + + + 33 + 4 + 14 + 3 + 98368 + + + 35 + 4 + 15 + 1 + 98368 + + + 37 + 4 + 12 + 3 + 98368 + + + 39 + 4 + 13 + 1 + 98368 + + + 41 + 4 + 10 + 3 + 98368 + + + 43 + 4 + 11 + 1 + 98368 + + + 45 + 4 + 8 + 3 + 98368 + + + 47 + 4 + 9 + 1 + 98368 + + + 49 + 4 + 6 + 3 + 98368 + + + 51 + 4 + 7 + 1 + 98368 + + + 53 + 4 + 4 + 3 + 98368 + + + 55 + 4 + 5 + 1 + 98368 + + + 57 + 4 + 2 + 3 + 98368 + + + 59 + 4 + 3 + 1 + 98368 + + + 61 + 4 + 0 + 3 + 98368 + + + 63 + 4 + 1 + 1 + 98368 + + + + diff --git a/tests/sku_create_input/2700_files/Mellanox-SN2700-C28D8-ORIG/hwsku.json b/tests/sku_create_input/2700_files/Mellanox-SN2700-C28D8-ORIG/hwsku.json new file mode 100644 index 000000000000..8d3ad0dc0310 --- /dev/null +++ b/tests/sku_create_input/2700_files/Mellanox-SN2700-C28D8-ORIG/hwsku.json @@ -0,0 +1,112 @@ +{ + "interfaces": { + "Ethernet0": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet4": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet8": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet12": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet16": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet20": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet24": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet28": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet32": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet36": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet40": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet44": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet48": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet52": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet56": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet60": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet64": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet68": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet72": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet76": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet80": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet84": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet88": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet92": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet96": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet100": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet104": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet108": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet112": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet114": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet116": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet118": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet120": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet122": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet124": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet126": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + } + } +} diff --git a/tests/sku_create_input/2700_files/Mellanox-SN2700-C28D8-ORIG/port_config.ini b/tests/sku_create_input/2700_files/Mellanox-SN2700-C28D8-ORIG/port_config.ini new file mode 100644 index 000000000000..653a61ecc23c --- /dev/null +++ b/tests/sku_create_input/2700_files/Mellanox-SN2700-C28D8-ORIG/port_config.ini @@ -0,0 +1,37 @@ +# name lanes alias index speed +Ethernet0 0,1,2,3 etp1 1 100000 +Ethernet4 4,5,6,7 etp2 2 100000 +Ethernet8 8,9,10,11 etp3 3 100000 +Ethernet12 12,13,14,15 etp4 4 100000 +Ethernet16 16,17,18,19 etp5 5 100000 +Ethernet20 20,21,22,23 etp6 6 100000 +Ethernet24 24,25,26,27 etp7 7 100000 +Ethernet28 28,29,30,31 etp8 8 100000 +Ethernet32 32,33,34,35 etp9 9 100000 +Ethernet36 36,37,38,39 etp10 10 100000 +Ethernet40 40,41,42,43 etp11 11 100000 +Ethernet44 44,45,46,47 etp12 12 100000 +Ethernet48 48,49,50,51 etp13 13 100000 +Ethernet52 52,53,54,55 etp14 14 100000 +Ethernet56 56,57,58,59 etp15 15 100000 +Ethernet60 60,61,62,63 etp16 16 100000 +Ethernet64 64,65,66,67 etp17 17 100000 +Ethernet68 68,69,70,71 etp18 18 100000 +Ethernet72 72,73,74,75 etp19 19 100000 +Ethernet76 76,77,78,79 etp20 20 100000 +Ethernet80 80,81,82,83 etp21 21 100000 +Ethernet84 84,85,86,87 etp22 22 100000 +Ethernet88 88,89,90,91 etp23 23 100000 +Ethernet92 92,93,94,95 etp24 24 100000 +Ethernet96 96,97,98,99 etp25 25 100000 +Ethernet100 100,101,102,103 etp26 26 100000 +Ethernet104 104,105,106,107 etp27 27 100000 +Ethernet108 108,109,110,111 etp28 28 100000 +Ethernet112 112,113 etp29a 29 50000 +Ethernet114 114,115 etp29b 29 50000 +Ethernet116 116,117 etp30a 30 50000 +Ethernet118 118,119 etp30b 30 50000 +Ethernet120 120,121 etp31a 31 50000 +Ethernet122 122,123 etp31b 31 50000 +Ethernet124 124,125 etp32a 32 50000 +Ethernet126 126,127 etp32b 32 50000 diff --git a/tests/sku_create_input/2700_files/Mellanox-SN2700-C28D8-ORIG/sai.profile b/tests/sku_create_input/2700_files/Mellanox-SN2700-C28D8-ORIG/sai.profile new file mode 100644 index 000000000000..cfeb4a5fa4ba --- /dev/null +++ b/tests/sku_create_input/2700_files/Mellanox-SN2700-C28D8-ORIG/sai.profile @@ -0,0 +1 @@ +SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_2700_8x50g_28x100g.xml diff --git a/tests/sku_create_input/2700_files/Mellanox-SN2700-C28D8-ORIG/sai_2700_8x50g_28x100g.xml b/tests/sku_create_input/2700_files/Mellanox-SN2700-C28D8-ORIG/sai_2700_8x50g_28x100g.xml new file mode 100644 index 000000000000..ee20db3e5dde --- /dev/null +++ b/tests/sku_create_input/2700_files/Mellanox-SN2700-C28D8-ORIG/sai_2700_8x50g_28x100g.xml @@ -0,0 +1,250 @@ + + + + + + 00:02:03:04:05:00 + + + 1 + + + 32 + + + + + 1 + 4 + 16 + + + 3 + + + 11534336 + + + 3 + 4 + 17 + 1 + 11534336 + + + 5 + 4 + 18 + 3 + 11534336 + + + 7 + 4 + 19 + 1 + 11534336 + + + 9 + 4 + 20 + 3 + 11534336 + + + 11 + 4 + 21 + 1 + 11534336 + + + 13 + 4 + 22 + 3 + 11534336 + + + 15 + 4 + 23 + 1 + 11534336 + + + 17 + 4 + 24 + 3 + 11534336 + + + 19 + 4 + 25 + 1 + 11534336 + + + 21 + 4 + 26 + 3 + 11534336 + + + 23 + 4 + 27 + 1 + 11534336 + + + 25 + 4 + 28 + 3 + 3221225472 + 2 + + + 27 + 4 + 29 + 1 + 3221225472 + 2 + + + 29 + 4 + 30 + 3 + 3221225472 + 2 + + + 31 + 4 + 31 + 1 + 3221225472 + 2 + + + 33 + 4 + 14 + 3 + 11534336 + + + 35 + 4 + 15 + 1 + 11534336 + + + 37 + 4 + 12 + 3 + 11534336 + + + 39 + 4 + 13 + 1 + 11534336 + + + 41 + 4 + 10 + 3 + 11534336 + + + 43 + 4 + 11 + 1 + 11534336 + + + 45 + 4 + 8 + 3 + 11534336 + + + 47 + 4 + 9 + 1 + 11534336 + + + 49 + 4 + 6 + 3 + 11534336 + + + 51 + 4 + 7 + 1 + 11534336 + + + 53 + 4 + 4 + 3 + 11534336 + + + 55 + 4 + 5 + 1 + 11534336 + + + 57 + 4 + 2 + 3 + 11534336 + + + 59 + 4 + 3 + 1 + 11534336 + + + 61 + 4 + 0 + 3 + 11534336 + + + 63 + 4 + 1 + 1 + 11534336 + + + + diff --git a/tests/sku_create_input/Mellanox-SN2700-D48C8.xml b/tests/sku_create_input/2700_files/Mellanox-SN2700-D48C8.xml similarity index 100% rename from tests/sku_create_input/Mellanox-SN2700-D48C8.xml rename to tests/sku_create_input/2700_files/Mellanox-SN2700-D48C8.xml diff --git a/tests/sku_create_input/2700_files/Mellanox-SN2700-D48C8/buffers_defaults_t0.j2 b/tests/sku_create_input/2700_files/Mellanox-SN2700-D48C8/buffers_defaults_t0.j2 new file mode 100644 index 000000000000..6fc5efcf9b88 --- /dev/null +++ b/tests/sku_create_input/2700_files/Mellanox-SN2700-D48C8/buffers_defaults_t0.j2 @@ -0,0 +1,106 @@ +{% set default_cable = '5m' %} +{% set ingress_lossless_pool_size = '7719936' %} +{% set ingress_lossless_pool_xoff = '1032192' %} +{% set egress_lossless_pool_size = '13945824' %} +{% set egress_lossy_pool_size = '7719936' %} + +{%- macro generate_port_lists(PORT_ALL) %} + {# Generate list of ports #} + {%- for port_idx in range(0, 32) %} + {%- if PORT_ALL.append("Ethernet%d" % (port_idx)) %}{%- endif %} + {%- endfor %} +{%- endmacro %} + +{%- macro generate_buffer_pool_and_profiles() %} + "BUFFER_POOL": { + "ingress_lossless_pool": { + {%- if dynamic_mode is not defined %} + "size": "{{ ingress_lossless_pool_size }}", + "xoff": "{{ ingress_lossless_pool_xoff }}", + {%- endif %} + "type": "ingress", + "mode": "dynamic" + }, + "egress_lossless_pool": { + "size": "{{ egress_lossless_pool_size }}", + "type": "egress", + "mode": "dynamic" + }, + "egress_lossy_pool": { + {%- if dynamic_mode is not defined %} + "size": "{{ egress_lossy_pool_size }}", + {%- endif %} + "type": "egress", + "mode": "dynamic" + } + }, + "BUFFER_PROFILE": { + "ingress_lossless_profile": { + "pool":"[BUFFER_POOL|ingress_lossless_pool]", + "size":"0", + "dynamic_th":"7" + }, + "ingress_lossy_profile": { + "pool":"[BUFFER_POOL|ingress_lossless_pool]", + "size":"0", + "dynamic_th":"3" + }, + "egress_lossless_profile": { + "pool":"[BUFFER_POOL|egress_lossless_pool]", + "size":"0", + "dynamic_th":"7" + }, + "egress_lossy_profile": { + "pool":"[BUFFER_POOL|egress_lossy_pool]", + "size":"9216", + "dynamic_th":"7" + }, + "q_lossy_profile": { + "pool":"[BUFFER_POOL|egress_lossy_pool]", + "size":"0", + "dynamic_th":"3" + } + }, +{%- endmacro %} + +{%- macro generate_profile_lists(port_names) %} + "BUFFER_PORT_INGRESS_PROFILE_LIST": { +{% for port in port_names.split(',') %} + "{{ port }}": { + "profile_list" : "[BUFFER_PROFILE|ingress_lossless_profile]" + }{% if not loop.last %},{% endif %} + +{% endfor %} + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST": { +{% for port in port_names.split(',') %} + "{{ port }}": { + "profile_list" : "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }{% if not loop.last %},{% endif %} + +{% endfor %} + } +{%- endmacro %} + +{%- macro generate_queue_buffers(port_names) %} + "BUFFER_QUEUE": { +{% for port in port_names.split(',') %} + "{{ port }}|3-4": { + "profile" : "[BUFFER_PROFILE|egress_lossless_profile]" + }, +{% endfor %} +{% for port in port_names.split(',') %} + "{{ port }}|0-2": { + "profile" : "[BUFFER_PROFILE|q_lossy_profile]" + }, +{% endfor %} +{% for port in port_names.split(',') %} + "{{ port }}|5-6": { + "profile" : "[BUFFER_PROFILE|q_lossy_profile]" + }{% if not loop.last %},{% endif %} + +{% endfor %} + } +{%- endmacro %} + + diff --git a/tests/sku_create_input/2700_files/Mellanox-SN2700-D48C8/buffers_defaults_t1.j2 b/tests/sku_create_input/2700_files/Mellanox-SN2700-D48C8/buffers_defaults_t1.j2 new file mode 100644 index 000000000000..95d35539253e --- /dev/null +++ b/tests/sku_create_input/2700_files/Mellanox-SN2700-D48C8/buffers_defaults_t1.j2 @@ -0,0 +1,106 @@ +{% set default_cable = '5m' %} +{% set ingress_lossless_pool_size = '9686016' %} +{% set ingress_lossless_pool_xoff = '1179648' %} +{% set egress_lossless_pool_size = '13945824' %} +{% set egress_lossy_pool_size = '9686016' %} + +{%- macro generate_port_lists(PORT_ALL) %} + {# Generate list of ports #} + {%- for port_idx in range(0, 32) %} + {%- if PORT_ALL.append("Ethernet%d" % (port_idx)) %}{%- endif %} + {%- endfor %} +{%- endmacro %} + +{%- macro generate_buffer_pool_and_profiles() %} + "BUFFER_POOL": { + "ingress_lossless_pool": { + {%- if dynamic_mode is not defined %} + "size": "{{ ingress_lossless_pool_size }}", + "xoff": "{{ ingress_lossless_pool_xoff }}", + {%- endif %} + "type": "ingress", + "mode": "dynamic" + }, + "egress_lossless_pool": { + "size": "{{ egress_lossless_pool_size }}", + "type": "egress", + "mode": "dynamic" + }, + "egress_lossy_pool": { + {%- if dynamic_mode is not defined %} + "size": "{{ egress_lossy_pool_size }}", + {%- endif %} + "type": "egress", + "mode": "dynamic" + } + }, + "BUFFER_PROFILE": { + "ingress_lossless_profile": { + "pool":"[BUFFER_POOL|ingress_lossless_pool]", + "size":"0", + "dynamic_th":"7" + }, + "ingress_lossy_profile": { + "pool":"[BUFFER_POOL|ingress_lossless_pool]", + "size":"0", + "dynamic_th":"3" + }, + "egress_lossless_profile": { + "pool":"[BUFFER_POOL|egress_lossless_pool]", + "size":"0", + "dynamic_th":"7" + }, + "egress_lossy_profile": { + "pool":"[BUFFER_POOL|egress_lossy_pool]", + "size":"9216", + "dynamic_th":"7" + }, + "q_lossy_profile": { + "pool":"[BUFFER_POOL|egress_lossy_pool]", + "size":"0", + "dynamic_th":"3" + } + }, +{%- endmacro %} + +{%- macro generate_profile_lists(port_names) %} + "BUFFER_PORT_INGRESS_PROFILE_LIST": { +{% for port in port_names.split(',') %} + "{{ port }}": { + "profile_list" : "[BUFFER_PROFILE|ingress_lossless_profile]" + }{% if not loop.last %},{% endif %} + +{% endfor %} + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST": { +{% for port in port_names.split(',') %} + "{{ port }}": { + "profile_list" : "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }{% if not loop.last %},{% endif %} + +{% endfor %} + } +{%- endmacro %} + +{%- macro generate_queue_buffers(port_names) %} + "BUFFER_QUEUE": { +{% for port in port_names.split(',') %} + "{{ port }}|3-4": { + "profile" : "[BUFFER_PROFILE|egress_lossless_profile]" + }, +{% endfor %} +{% for port in port_names.split(',') %} + "{{ port }}|0-2": { + "profile" : "[BUFFER_PROFILE|q_lossy_profile]" + }, +{% endfor %} +{% for port in port_names.split(',') %} + "{{ port }}|5-6": { + "profile" : "[BUFFER_PROFILE|q_lossy_profile]" + }{% if not loop.last %},{% endif %} + +{% endfor %} + } +{%- endmacro %} + + diff --git a/tests/sku_create_input/2700_files/Mellanox-SN2700-D48C8/hwsku.json b/tests/sku_create_input/2700_files/Mellanox-SN2700-D48C8/hwsku.json new file mode 100644 index 000000000000..0e846d9b3874 --- /dev/null +++ b/tests/sku_create_input/2700_files/Mellanox-SN2700-D48C8/hwsku.json @@ -0,0 +1,172 @@ +{ + "interfaces": { + "Ethernet0": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet2": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet4": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet6": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet8": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet10": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet12": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet14": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet16": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet18": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet20": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet22": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet24": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet28": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet32": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet36": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet40": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet42": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet44": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet46": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet48": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet50": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet52": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet54": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet56": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet58": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet60": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet62": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet64": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet66": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet68": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet70": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet72": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet74": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet76": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet78": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet80": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet82": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet84": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet86": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet88": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet92": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet96": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet100": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet104": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet106": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet108": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet110": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet112": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet114": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet116": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet118": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet120": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet122": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet124": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet126": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + } + } +} diff --git a/tests/sku_create_input/2700_files/Mellanox-SN2700-D48C8/pg_profile_lookup.ini b/tests/sku_create_input/2700_files/Mellanox-SN2700-D48C8/pg_profile_lookup.ini new file mode 100644 index 000000000000..cdd674e4e715 --- /dev/null +++ b/tests/sku_create_input/2700_files/Mellanox-SN2700-D48C8/pg_profile_lookup.ini @@ -0,0 +1,17 @@ +# PG lossless profiles. +# speed cable size xon xoff threshold + 10000 5m 19456 19456 22528 0 + 25000 5m 19456 19456 22528 0 + 40000 5m 19456 19456 22528 0 + 50000 5m 19456 19456 22528 0 + 100000 5m 19456 19456 23552 0 + 10000 40m 19456 19456 22528 0 + 25000 40m 19456 19456 24576 0 + 40000 40m 19456 19456 25600 0 + 50000 40m 19456 19456 25600 0 + 100000 40m 19456 19456 29696 0 + 10000 300m 19456 19456 27648 0 + 25000 300m 19456 19456 36864 0 + 40000 300m 19456 19456 45056 0 + 50000 300m 19456 19456 50176 0 + 100000 300m 19456 19456 78848 0 diff --git a/tests/sku_create_input/2700_files/Mellanox-SN2700-D48C8/port_config.ini b/tests/sku_create_input/2700_files/Mellanox-SN2700-D48C8/port_config.ini new file mode 100644 index 000000000000..830f558fb383 --- /dev/null +++ b/tests/sku_create_input/2700_files/Mellanox-SN2700-D48C8/port_config.ini @@ -0,0 +1,57 @@ +# name lanes alias index speed +Ethernet0 0,1 etp1a 1 50000 +Ethernet2 2,3 etp1b 1 50000 +Ethernet4 4,5 etp2a 2 50000 +Ethernet6 6,7 etp2b 2 50000 +Ethernet8 8,9 etp3a 3 50000 +Ethernet10 10,11 etp3b 3 50000 +Ethernet12 12,13 etp4a 4 50000 +Ethernet14 14,15 etp4b 4 50000 +Ethernet16 16,17 etp5a 5 50000 +Ethernet18 18,19 etp5b 5 50000 +Ethernet20 20,21 etp6a 6 50000 +Ethernet22 22,23 etp6b 6 50000 +Ethernet24 24,25,26,27 etp7 7 100000 +Ethernet28 28,29,30,31 etp8 8 100000 +Ethernet32 32,33,34,35 etp9 9 100000 +Ethernet36 36,37,38,39 etp10 10 100000 +Ethernet40 40,41 etp11a 11 50000 +Ethernet42 42,43 etp11b 11 50000 +Ethernet44 44,45 etp12a 12 50000 +Ethernet46 46,47 etp12b 12 50000 +Ethernet48 48,49 etp13a 13 50000 +Ethernet50 50,51 etp13b 13 50000 +Ethernet52 52,53 etp14a 14 50000 +Ethernet54 54,55 etp14b 14 50000 +Ethernet56 56,57 etp15a 15 50000 +Ethernet58 58,59 etp15b 15 50000 +Ethernet60 60,61 etp16a 16 50000 +Ethernet62 62,63 etp16b 16 50000 +Ethernet64 64,65 etp17a 17 50000 +Ethernet66 66,67 etp17b 17 50000 +Ethernet68 68,69 etp18a 18 50000 +Ethernet70 70,71 etp18b 18 50000 +Ethernet72 72,73 etp19a 19 50000 +Ethernet74 74,75 etp19b 19 50000 +Ethernet76 76,77 etp20a 20 50000 +Ethernet78 78,79 etp20b 20 50000 +Ethernet80 80,81 etp21a 21 50000 +Ethernet82 82,83 etp21b 21 50000 +Ethernet84 84,85 etp22a 22 50000 +Ethernet86 86,87 etp22b 22 50000 +Ethernet88 88,89,90,91 etp23 23 100000 +Ethernet92 92,93,94,95 etp24 24 100000 +Ethernet96 96,97,98,99 etp25 25 100000 +Ethernet100 100,101,102,103 etp26 26 100000 +Ethernet104 104,105 etp27a 27 50000 +Ethernet106 106,107 etp27b 27 50000 +Ethernet108 108,109 etp28a 28 50000 +Ethernet110 110,111 etp28b 28 50000 +Ethernet112 112,113 etp29a 29 50000 +Ethernet114 114,115 etp29b 29 50000 +Ethernet116 116,117 etp30a 30 50000 +Ethernet118 118,119 etp30b 30 50000 +Ethernet120 120,121 etp31a 31 50000 +Ethernet122 122,123 etp31b 31 50000 +Ethernet124 124,125 etp32a 32 50000 +Ethernet126 126,127 etp32b 32 50000 diff --git a/tests/sku_create_input/2700_files/Mellanox-SN2700-D48C8/qos.json.j2 b/tests/sku_create_input/2700_files/Mellanox-SN2700-D48C8/qos.json.j2 new file mode 100644 index 000000000000..3e548325ea30 --- /dev/null +++ b/tests/sku_create_input/2700_files/Mellanox-SN2700-D48C8/qos.json.j2 @@ -0,0 +1 @@ +{%- include 'qos_config.j2' %} diff --git a/tests/sku_create_input/Mellanox-SN2700-D48C8/sai.profile b/tests/sku_create_input/2700_files/Mellanox-SN2700-D48C8/sai.profile similarity index 100% rename from tests/sku_create_input/Mellanox-SN2700-D48C8/sai.profile rename to tests/sku_create_input/2700_files/Mellanox-SN2700-D48C8/sai.profile diff --git a/tests/sku_create_input/Mellanox-SN2700-D48C8/sai_2700_48x50g_8x100g.xml b/tests/sku_create_input/2700_files/Mellanox-SN2700-D48C8/sai_2700_48x50g_8x100g.xml similarity index 95% rename from tests/sku_create_input/Mellanox-SN2700-D48C8/sai_2700_48x50g_8x100g.xml rename to tests/sku_create_input/2700_files/Mellanox-SN2700-D48C8/sai_2700_48x50g_8x100g.xml index bda7a3e1cc17..dccb606f7435 100644 --- a/tests/sku_create_input/Mellanox-SN2700-D48C8/sai_2700_48x50g_8x100g.xml +++ b/tests/sku_create_input/2700_files/Mellanox-SN2700-D48C8/sai_2700_48x50g_8x100g.xml @@ -5,6 +5,9 @@ 00:02:03:04:05:00 + + 1 + 32 diff --git a/tests/sku_create_input/2700_files/config_db.json b/tests/sku_create_input/2700_files/config_db.json new file mode 100644 index 000000000000..3096082bfaa8 --- /dev/null +++ b/tests/sku_create_input/2700_files/config_db.json @@ -0,0 +1,670 @@ +{ + "BGP_NEIGHBOR": { + "10.0.0.59": { + "rrclient": 0, + "name": "ARISTA12T0", + "local_addr": "10.0.0.58", + "nhopself": 0, + "holdtime": "180", + "asn": "64012", + "keepalive": "60" + }, + "10.0.0.49": { + "rrclient": 0, + "name": "ARISTA07T0", + "local_addr": "10.0.0.48", + "nhopself": 0, + "holdtime": "180", + "asn": "64007", + "keepalive": "60" + }, + "10.0.0.65": { + "rrclient": 0, + "name": "ARISTA15T0", + "local_addr": "10.0.0.64", + "nhopself": 0, + "holdtime": "180", + "asn": "64015", + "keepalive": "60" + }, + "10.0.0.61": { + "rrclient": 0, + "name": "ARISTA13T0", + "local_addr": "10.0.0.60", + "nhopself": 0, + "holdtime": "180", + "asn": "64013", + "keepalive": "60" + }, + "10.0.0.43": { + "rrclient": 0, + "name": "ARISTA04T0", + "local_addr": "10.0.0.42", + "nhopself": 0, + "holdtime": "180", + "asn": "64004", + "keepalive": "60" + }, + "10.0.0.41": { + "rrclient": 0, + "name": "ARISTA03T0", + "local_addr": "10.0.0.40", + "nhopself": 0, + "holdtime": "180", + "asn": "64003", + "keepalive": "60" + }, + "10.0.0.47": { + "rrclient": 0, + "name": "ARISTA06T0", + "local_addr": "10.0.0.46", + "nhopself": 0, + "holdtime": "180", + "asn": "64006", + "keepalive": "60" + }, + "10.0.0.45": { + "rrclient": 0, + "name": "ARISTA05T0", + "local_addr": "10.0.0.44", + "nhopself": 0, + "holdtime": "180", + "asn": "64005", + "keepalive": "60" + }, + "10.0.0.63": { + "rrclient": 0, + "name": "ARISTA14T0", + "local_addr": "10.0.0.62", + "nhopself": 0, + "holdtime": "180", + "asn": "64014", + "keepalive": "60" + }, + "10.0.0.67": { + "rrclient": 0, + "name": "ARISTA16T0", + "local_addr": "10.0.0.66", + "nhopself": 0, + "holdtime": "180", + "asn": "64016", + "keepalive": "60" + }, + "10.0.0.39": { + "rrclient": 0, + "name": "ARISTA02T0", + "local_addr": "10.0.0.38", + "nhopself": 0, + "holdtime": "180", + "asn": "64002", + "keepalive": "60" + }, + "10.0.0.69": { + "rrclient": 0, + "name": "ARISTA17T0", + "local_addr": "10.0.0.68", + "nhopself": 0, + "holdtime": "180", + "asn": "64017", + "keepalive": "60" + }, + "10.0.0.33": { + "rrclient": 0, + "name": "ARISTA17T2", + "local_addr": "10.0.0.32", + "nhopself": 0, + "holdtime": "180", + "asn": "65200", + "keepalive": "60" + }, + "10.0.0.31": { + "rrclient": 0, + "name": "ARISTA16T2", + "local_addr": "10.0.0.30", + "nhopself": 0, + "holdtime": "180", + "asn": "65200", + "keepalive": "60" + }, + "10.0.0.37": { + "rrclient": 0, + "name": "ARISTA01T0", + "local_addr": "10.0.0.36", + "nhopself": 0, + "holdtime": "180", + "asn": "64001", + "keepalive": "60" + }, + "10.0.0.35": { + "rrclient": 0, + "name": "ARISTA18T2", + "local_addr": "10.0.0.34", + "nhopself": 0, + "holdtime": "180", + "asn": "65200", + "keepalive": "60" + }, + "10.0.0.15": { + "rrclient": 0, + "name": "ARISTA08T2", + "local_addr": "10.0.0.14", + "nhopself": 0, + "holdtime": "180", + "asn": "65200", + "keepalive": "60" + }, + "10.0.0.17": { + "rrclient": 0, + "name": "ARISTA09T2", + "local_addr": "10.0.0.16", + "nhopself": 0, + "holdtime": "180", + "asn": "65200", + "keepalive": "60" + }, + "10.0.0.11": { + "rrclient": 0, + "name": "ARISTA06T2", + "local_addr": "10.0.0.10", + "nhopself": 0, + "holdtime": "180", + "asn": "65200", + "keepalive": "60" + }, + "10.0.0.13": { + "rrclient": 0, + "name": "ARISTA07T2", + "local_addr": "10.0.0.12", + "nhopself": 0, + "holdtime": "180", + "asn": "65200", + "keepalive": "60" + }, + "10.0.0.51": { + "rrclient": 0, + "name": "ARISTA08T0", + "local_addr": "10.0.0.50", + "nhopself": 0, + "holdtime": "180", + "asn": "64008", + "keepalive": "60" + }, + "10.0.0.55": { + "rrclient": 0, + "name": "ARISTA10T0", + "local_addr": "10.0.0.54", + "nhopself": 0, + "holdtime": "180", + "asn": "64010", + "keepalive": "60" + }, + "10.0.0.53": { + "rrclient": 0, + "name": "ARISTA09T0", + "local_addr": "10.0.0.52", + "nhopself": 0, + "holdtime": "180", + "asn": "64009", + "keepalive": "60" + }, + "10.0.0.19": { + "rrclient": 0, + "name": "ARISTA10T2", + "local_addr": "10.0.0.18", + "nhopself": 0, + "holdtime": "180", + "asn": "65200", + "keepalive": "60" + }, + "10.0.0.57": { + "rrclient": 0, + "name": "ARISTA11T0", + "local_addr": "10.0.0.56", + "nhopself": 0, + "holdtime": "180", + "asn": "64011", + "keepalive": "60" + }, + "10.0.0.9": { + "rrclient": 0, + "name": "ARISTA05T2", + "local_addr": "10.0.0.8", + "nhopself": 0, + "holdtime": "180", + "asn": "65200", + "keepalive": "60" + }, + "10.0.0.71": { + "rrclient": 0, + "name": "ARISTA18T0", + "local_addr": "10.0.0.70", + "nhopself": 0, + "holdtime": "180", + "asn": "64018", + "keepalive": "60" + }, + "10.0.0.5": { + "rrclient": 0, + "name": "ARISTA03T2", + "local_addr": "10.0.0.4", + "nhopself": 0, + "holdtime": "180", + "asn": "65200", + "keepalive": "60" + }, + "10.0.0.7": { + "rrclient": 0, + "name": "ARISTA04T2", + "local_addr": "10.0.0.6", + "nhopself": 0, + "holdtime": "180", + "asn": "65200", + "keepalive": "60" + }, + "10.0.0.1": { + "rrclient": 0, + "name": "ARISTA01T2", + "local_addr": "10.0.0.0", + "nhopself": 0, + "holdtime": "180", + "asn": "65200", + "keepalive": "60" + }, + "10.0.0.3": { + "rrclient": 0, + "name": "ARISTA02T2", + "local_addr": "10.0.0.2", + "nhopself": 0, + "holdtime": "180", + "asn": "65200", + "keepalive": "60" + }, + "10.0.0.29": { + "rrclient": 0, + "name": "ARISTA15T2", + "local_addr": "10.0.0.28", + "nhopself": 0, + "holdtime": "180", + "asn": "65200", + "keepalive": "60" + }, + "10.0.0.25": { + "rrclient": 0, + "name": "ARISTA13T2", + "local_addr": "10.0.0.24", + "nhopself": 0, + "holdtime": "180", + "asn": "65200", + "keepalive": "60" + }, + "10.0.0.27": { + "rrclient": 0, + "name": "ARISTA14T2", + "local_addr": "10.0.0.26", + "nhopself": 0, + "holdtime": "180", + "asn": "65200", + "keepalive": "60" + }, + "10.0.0.21": { + "rrclient": 0, + "name": "ARISTA11T2", + "local_addr": "10.0.0.20", + "nhopself": 0, + "holdtime": "180", + "asn": "65200", + "keepalive": "60" + }, + "10.0.0.23": { + "rrclient": 0, + "name": "ARISTA12T2", + "local_addr": "10.0.0.22", + "nhopself": 0, + "holdtime": "180", + "asn": "65200", + "keepalive": "60" + } + }, + "DEVICE_METADATA": { + "localhost": { + "hwsku": "Mellanox-SN2700-C28D8", + "hostname": "sonic", + "platform": "x86_64-mlnx_msn2700-r0", + "mac": "7c:fe:90:f8:06:80", + "bgp_asn": "65100", + "type": "LeafRouter" + } + }, + "DEVICE_NEIGHBOR": {}, + "LOOPBACK_INTERFACE": { + "Loopback0|10.1.0.1/32": {} + }, + "INTERFACE": { + "Ethernet8|10.0.0.4/31": {}, + "Ethernet20|10.0.0.10/31": {}, + "Ethernet56|10.0.0.28/31": {}, + "Ethernet40|10.0.0.20/31": {}, + "Ethernet60|10.0.0.30/31": {}, + "Ethernet122|10.0.0.66/31": {}, + "Ethernet12|10.0.0.6/31": {}, + "Ethernet118|10.0.0.62/31": {}, + "Ethernet36|10.0.0.18/31": {}, + "Ethernet92|10.0.0.46/31": {}, + "Ethernet112|10.0.0.56/31": {}, + "Ethernet28|10.0.0.14/31": {}, + "Ethernet126|10.0.0.70/31": {}, + "Ethernet116|10.0.0.60/31": {}, + "Ethernet16|10.0.0.8/31": {}, + "Ethernet32|10.0.0.16/31": {}, + "Ethernet108|10.0.0.54/31": {}, + "Ethernet96|10.0.0.48/31": {}, + "Ethernet68|10.0.0.34/31": {}, + "Ethernet4|10.0.0.2/31": {}, + "Ethernet44|10.0.0.22/31": {}, + "Ethernet100|10.0.0.50/31": {}, + "Ethernet64|10.0.0.32/31": {}, + "Ethernet0|10.0.0.0/31": {}, + "Ethernet120|10.0.0.64/31": {}, + "Ethernet48|10.0.0.24/31": {}, + "Ethernet84|10.0.0.42/31": {}, + "Ethernet72|10.0.0.36/31": {}, + "Ethernet76|10.0.0.38/31": {}, + "Ethernet80|10.0.0.40/31": {}, + "Ethernet24|10.0.0.12/31": {}, + "Ethernet104|10.0.0.52/31": {}, + "Ethernet124|10.0.0.68/31": {}, + "Ethernet52|10.0.0.26/31": {}, + "Ethernet88|10.0.0.44/31": {}, + "Ethernet114|10.0.0.58/31": {} + }, + "PORT": { + "Ethernet8": { + "index": "3", + "lanes": "8,9,10,11", + "mtu": "9100", + "alias": "etp3", + "admin_status": "up", + "speed": "100000" + }, + "Ethernet0": { + "index": "1", + "lanes": "0,1,2,3", + "mtu": "9100", + "alias": "etp1", + "admin_status": "up", + "speed": "100000" + }, + "Ethernet4": { + "index": "2", + "lanes": "4,5,6,7", + "mtu": "9100", + "alias": "etp2", + "admin_status": "up", + "speed": "100000" + }, + "Ethernet108": { + "index": "28", + "lanes": "108,109,110,111", + "mtu": "9100", + "alias": "etp28", + "admin_status": "up", + "speed": "100000" + }, + "Ethernet100": { + "index": "26", + "lanes": "100,101,102,103", + "mtu": "9100", + "alias": "etp26", + "admin_status": "up", + "speed": "100000" + }, + "Ethernet104": { + "index": "27", + "lanes": "104,105,106,107", + "mtu": "9100", + "alias": "etp27", + "admin_status": "up", + "speed": "100000" + }, + "Ethernet68": { + "index": "18", + "lanes": "68,69,70,71", + "mtu": "9100", + "alias": "etp18", + "admin_status": "up", + "speed": "100000" + }, + "Ethernet126": { + "index": "32", + "lanes": "126,127", + "mtu": "9100", + "alias": "etp32b", + "admin_status": "up", + "speed": "50000" + }, + "Ethernet96": { + "index": "25", + "lanes": "96,97,98,99", + "mtu": "9100", + "alias": "etp25", + "admin_status": "up", + "speed": "100000" + }, + "Ethernet124": { + "index": "32", + "lanes": "124,125", + "mtu": "9100", + "alias": "etp32a", + "admin_status": "up", + "speed": "50000" + }, + "Ethernet122": { + "index": "31", + "lanes": "122,123", + "mtu": "9100", + "alias": "etp31b", + "admin_status": "up", + "speed": "50000" + }, + "Ethernet92": { + "index": "24", + "lanes": "92,93,94,95", + "mtu": "9100", + "alias": "etp24", + "admin_status": "up", + "speed": "100000" + }, + "Ethernet120": { + "index": "31", + "lanes": "120,121", + "mtu": "9100", + "alias": "etp31a", + "admin_status": "up", + "speed": "50000" + }, + "Ethernet52": { + "index": "14", + "lanes": "52,53,54,55", + "mtu": "9100", + "alias": "etp14", + "admin_status": "up", + "speed": "100000" + }, + "Ethernet56": { + "index": "15", + "lanes": "56,57,58,59", + "mtu": "9100", + "alias": "etp15", + "admin_status": "up", + "speed": "100000" + }, + "Ethernet76": { + "index": "20", + "lanes": "76,77,78,79", + "mtu": "9100", + "alias": "etp20", + "admin_status": "up", + "speed": "100000" + }, + "Ethernet72": { + "index": "19", + "lanes": "72,73,74,75", + "mtu": "9100", + "alias": "etp19", + "admin_status": "up", + "speed": "100000" + }, + "Ethernet64": { + "index": "17", + "lanes": "64,65,66,67", + "mtu": "9100", + "alias": "etp17", + "admin_status": "up", + "speed": "100000" + }, + "Ethernet32": { + "index": "9", + "lanes": "32,33,34,35", + "mtu": "9100", + "alias": "etp9", + "admin_status": "up", + "speed": "100000" + }, + "Ethernet16": { + "index": "5", + "lanes": "16,17,18,19", + "mtu": "9100", + "alias": "etp5", + "admin_status": "up", + "speed": "100000" + }, + "Ethernet36": { + "index": "10", + "lanes": "36,37,38,39", + "mtu": "9100", + "alias": "etp10", + "admin_status": "up", + "speed": "100000" + }, + "Ethernet12": { + "index": "4", + "lanes": "12,13,14,15", + "mtu": "9100", + "alias": "etp4", + "admin_status": "up", + "speed": "100000" + }, + "Ethernet88": { + "index": "23", + "lanes": "88,89,90,91", + "mtu": "9100", + "alias": "etp23", + "admin_status": "up", + "speed": "100000" + }, + "Ethernet118": { + "index": "30", + "lanes": "118,119", + "mtu": "9100", + "alias": "etp30b", + "admin_status": "up", + "speed": "50000" + }, + "Ethernet116": { + "index": "30", + "lanes": "116,117", + "mtu": "9100", + "alias": "etp30a", + "admin_status": "up", + "speed": "50000" + }, + "Ethernet114": { + "index": "29", + "lanes": "114,115", + "mtu": "9100", + "alias": "etp29b", + "admin_status": "up", + "speed": "50000" + }, + "Ethernet80": { + "index": "21", + "lanes": "80,81,82,83", + "mtu": "9100", + "alias": "etp21", + "admin_status": "up", + "speed": "100000" + }, + "Ethernet112": { + "index": "29", + "lanes": "112,113", + "mtu": "9100", + "alias": "etp29a", + "admin_status": "up", + "speed": "50000" + }, + "Ethernet84": { + "index": "22", + "lanes": "84,85,86,87", + "mtu": "9100", + "alias": "etp22", + "admin_status": "up", + "speed": "100000" + }, + "Ethernet48": { + "index": "13", + "lanes": "48,49,50,51", + "mtu": "9100", + "alias": "etp13", + "admin_status": "up", + "speed": "100000" + }, + "Ethernet44": { + "index": "12", + "lanes": "44,45,46,47", + "mtu": "9100", + "alias": "etp12", + "admin_status": "up", + "speed": "100000" + }, + "Ethernet40": { + "index": "11", + "lanes": "40,41,42,43", + "mtu": "9100", + "alias": "etp11", + "admin_status": "up", + "speed": "100000" + }, + "Ethernet28": { + "index": "8", + "lanes": "28,29,30,31", + "mtu": "9100", + "alias": "etp8", + "admin_status": "up", + "speed": "100000" + }, + "Ethernet60": { + "index": "16", + "lanes": "60,61,62,63", + "mtu": "9100", + "alias": "etp16", + "admin_status": "up", + "speed": "100000" + }, + "Ethernet20": { + "index": "6", + "lanes": "20,21,22,23", + "mtu": "9100", + "alias": "etp6", + "admin_status": "up", + "speed": "100000" + }, + "Ethernet24": { + "index": "7", + "lanes": "24,25,26,27", + "mtu": "9100", + "alias": "etp7", + "admin_status": "up", + "speed": "100000" + } + } +} diff --git a/tests/sku_create_input/default_sku b/tests/sku_create_input/2700_files/default_sku similarity index 100% rename from tests/sku_create_input/default_sku rename to tests/sku_create_input/2700_files/default_sku diff --git a/tests/sku_create_input/Mellanox-SN2700-D48C8/buffers_defaults_t0.j2 b/tests/sku_create_input/3800_files/ACS-MSN3800/buffers_defaults_t0.j2 similarity index 67% rename from tests/sku_create_input/Mellanox-SN2700-D48C8/buffers_defaults_t0.j2 rename to tests/sku_create_input/3800_files/ACS-MSN3800/buffers_defaults_t0.j2 index 475a0227143c..b83e142448d6 100644 --- a/tests/sku_create_input/Mellanox-SN2700-D48C8/buffers_defaults_t0.j2 +++ b/tests/sku_create_input/3800_files/ACS-MSN3800/buffers_defaults_t0.j2 @@ -1,8 +1,8 @@ {% set default_cable = '5m' %} -{% set ingress_lossless_pool_size = '4194304' %} -{% set ingress_lossy_pool_size = '7340032' %} -{% set egress_lossless_pool_size = '16777152' %} -{% set egress_lossy_pool_size = '7340032' %} +{% set ingress_lossless_pool_size = '13924352' %} +{% set ingress_lossy_pool_size = '13924352' %} +{% set egress_lossless_pool_size = '34287552' %} +{% set egress_lossy_pool_size = '13924352' %} {%- macro generate_port_lists(PORT_ALL) %} {# Generate list of ports #} @@ -14,12 +14,16 @@ {%- macro generate_buffer_pool_and_profiles() %} "BUFFER_POOL": { "ingress_lossless_pool": { + {%- if dynamic_mode is not defined %} "size": "{{ ingress_lossless_pool_size }}", + {%- endif %} "type": "ingress", "mode": "dynamic" }, "ingress_lossy_pool": { + {%- if dynamic_mode is not defined %} "size": "{{ ingress_lossy_pool_size }}", + {%- endif %} "type": "ingress", "mode": "dynamic" }, @@ -29,7 +33,9 @@ "mode": "dynamic" }, "egress_lossy_pool": { + {%- if dynamic_mode is not defined %} "size": "{{ egress_lossy_pool_size }}", + {%- endif %} "type": "egress", "mode": "dynamic" } @@ -38,7 +44,7 @@ "ingress_lossless_profile": { "pool":"[BUFFER_POOL|ingress_lossless_pool]", "size":"0", - "dynamic_th":"0" + "dynamic_th":"7" }, "ingress_lossy_profile": { "pool":"[BUFFER_POOL|ingress_lossy_pool]", @@ -52,8 +58,8 @@ }, "egress_lossy_profile": { "pool":"[BUFFER_POOL|egress_lossy_pool]", - "size":"4096", - "dynamic_th":"3" + "size":"9216", + "dynamic_th":"7" }, "q_lossy_profile": { "pool":"[BUFFER_POOL|egress_lossy_pool]", @@ -65,26 +71,40 @@ {%- macro generate_profile_lists(port_names) %} "BUFFER_PORT_INGRESS_PROFILE_LIST": { - "{{ port_names }}": { +{% for port in port_names.split(',') %} + "{{ port }}": { "profile_list" : "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" - } + }{% if not loop.last %},{% endif %} + +{% endfor %} }, "BUFFER_PORT_EGRESS_PROFILE_LIST": { - "{{ port_names }}": { +{% for port in port_names.split(',') %} + "{{ port }}": { "profile_list" : "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" - } + }{% if not loop.last %},{% endif %} + +{% endfor %} } {%- endmacro %} {%- macro generate_queue_buffers(port_names) %} "BUFFER_QUEUE": { - "{{ port_names }}|3-4": { +{% for port in port_names.split(',') %} + "{{ port }}|3-4": { "profile" : "[BUFFER_PROFILE|egress_lossless_profile]" }, - "{{ port_names }}|0-1": { +{% endfor %} +{% for port in port_names.split(',') %} + "{{ port }}|0-2": { "profile" : "[BUFFER_PROFILE|q_lossy_profile]" - } + }, +{% endfor %} +{% for port in port_names.split(',') %} + "{{ port }}|5-6": { + "profile" : "[BUFFER_PROFILE|q_lossy_profile]" + }{% if not loop.last %},{% endif %} + +{% endfor %} } {%- endmacro %} - - diff --git a/tests/sku_create_input/Mellanox-SN2700-D48C8/buffers_defaults_t1.j2 b/tests/sku_create_input/3800_files/ACS-MSN3800/buffers_defaults_t1.j2 similarity index 67% rename from tests/sku_create_input/Mellanox-SN2700-D48C8/buffers_defaults_t1.j2 rename to tests/sku_create_input/3800_files/ACS-MSN3800/buffers_defaults_t1.j2 index c292ecc2f21a..abcab930c63e 100644 --- a/tests/sku_create_input/Mellanox-SN2700-D48C8/buffers_defaults_t1.j2 +++ b/tests/sku_create_input/3800_files/ACS-MSN3800/buffers_defaults_t1.j2 @@ -1,8 +1,8 @@ {% set default_cable = '5m' %} -{% set ingress_lossless_pool_size = '2097152' %} -{% set ingress_lossy_pool_size = '5242880' %} -{% set egress_lossless_pool_size = '16777152' %} -{% set egress_lossy_pool_size = '5242880' %} +{% set ingress_lossless_pool_size = '12457984' %} +{% set ingress_lossy_pool_size = '12457984' %} +{% set egress_lossless_pool_size = '34287552' %} +{% set egress_lossy_pool_size = '12457984' %} {%- macro generate_port_lists(PORT_ALL) %} {# Generate list of ports #} @@ -14,12 +14,16 @@ {%- macro generate_buffer_pool_and_profiles() %} "BUFFER_POOL": { "ingress_lossless_pool": { + {%- if dynamic_mode is not defined %} "size": "{{ ingress_lossless_pool_size }}", + {%- endif %} "type": "ingress", "mode": "dynamic" }, "ingress_lossy_pool": { + {%- if dynamic_mode is not defined %} "size": "{{ ingress_lossy_pool_size }}", + {%- endif %} "type": "ingress", "mode": "dynamic" }, @@ -29,7 +33,9 @@ "mode": "dynamic" }, "egress_lossy_pool": { + {%- if dynamic_mode is not defined %} "size": "{{ egress_lossy_pool_size }}", + {%- endif %} "type": "egress", "mode": "dynamic" } @@ -38,7 +44,7 @@ "ingress_lossless_profile": { "pool":"[BUFFER_POOL|ingress_lossless_pool]", "size":"0", - "dynamic_th":"0" + "dynamic_th":"7" }, "ingress_lossy_profile": { "pool":"[BUFFER_POOL|ingress_lossy_pool]", @@ -52,8 +58,8 @@ }, "egress_lossy_profile": { "pool":"[BUFFER_POOL|egress_lossy_pool]", - "size":"4096", - "dynamic_th":"3" + "size":"9216", + "dynamic_th":"7" }, "q_lossy_profile": { "pool":"[BUFFER_POOL|egress_lossy_pool]", @@ -65,26 +71,40 @@ {%- macro generate_profile_lists(port_names) %} "BUFFER_PORT_INGRESS_PROFILE_LIST": { - "{{ port_names }}": { +{% for port in port_names.split(',') %} + "{{ port }}": { "profile_list" : "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" - } + }{% if not loop.last %},{% endif %} + +{% endfor %} }, "BUFFER_PORT_EGRESS_PROFILE_LIST": { - "{{ port_names }}": { +{% for port in port_names.split(',') %} + "{{ port }}": { "profile_list" : "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" - } + }{% if not loop.last %},{% endif %} + +{% endfor %} } {%- endmacro %} {%- macro generate_queue_buffers(port_names) %} "BUFFER_QUEUE": { - "{{ port_names }}|3-4": { +{% for port in port_names.split(',') %} + "{{ port }}|3-4": { "profile" : "[BUFFER_PROFILE|egress_lossless_profile]" }, - "{{ port_names }}|0-1": { +{% endfor %} +{% for port in port_names.split(',') %} + "{{ port }}|0-2": { "profile" : "[BUFFER_PROFILE|q_lossy_profile]" - } + }, +{% endfor %} +{% for port in port_names.split(',') %} + "{{ port }}|5-6": { + "profile" : "[BUFFER_PROFILE|q_lossy_profile]" + }{% if not loop.last %},{% endif %} + +{% endfor %} } {%- endmacro %} - - diff --git a/tests/sku_create_input/3800_files/ACS-MSN3800/hwsku.json b/tests/sku_create_input/3800_files/ACS-MSN3800/hwsku.json new file mode 100644 index 000000000000..33fe1cc94a7b --- /dev/null +++ b/tests/sku_create_input/3800_files/ACS-MSN3800/hwsku.json @@ -0,0 +1,196 @@ +{ + "interfaces": { + "Ethernet0": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet4": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet8": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet12": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet16": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet20": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet24": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet28": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet32": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet36": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet40": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet44": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet48": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet52": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet56": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet60": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet64": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet68": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet72": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet76": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet80": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet84": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet88": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet92": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet96": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet100": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet104": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet108": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet112": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet116": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet120": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet124": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet128": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet132": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet136": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet140": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet144": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet148": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet152": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet156": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet160": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet164": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet168": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet172": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet176": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet180": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet184": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet188": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet192": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet196": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet200": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet204": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet208": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet212": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet216": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet220": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet224": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet228": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet232": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet236": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet240": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet244": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet248": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet252": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + } + } +} diff --git a/tests/sku_create_input/3800_files/ACS-MSN3800/pg_profile_lookup.ini b/tests/sku_create_input/3800_files/ACS-MSN3800/pg_profile_lookup.ini new file mode 100644 index 000000000000..320daa45d29b --- /dev/null +++ b/tests/sku_create_input/3800_files/ACS-MSN3800/pg_profile_lookup.ini @@ -0,0 +1,17 @@ +# PG lossless profiles. +# speed cable size xon xoff threshold + 10000 5m 54272 19456 34816 0 + 25000 5m 58368 19456 38912 0 + 40000 5m 61440 19456 41984 0 + 50000 5m 64512 19456 45056 0 + 100000 5m 75776 19456 56320 0 + 10000 40m 55296 19456 35840 0 + 25000 40m 60416 19456 40960 0 + 40000 40m 65536 19456 46080 0 + 50000 40m 69632 19456 50176 0 + 100000 40m 86016 19456 66560 0 + 10000 300m 63488 19456 44032 0 + 25000 300m 78848 19456 59392 0 + 40000 300m 95232 19456 75776 0 + 50000 300m 106496 19456 87040 0 + 100000 300m 159744 19456 140288 0 diff --git a/tests/sku_create_input/3800_files/ACS-MSN3800/port_config.ini b/tests/sku_create_input/3800_files/ACS-MSN3800/port_config.ini new file mode 100644 index 000000000000..d43b11a22eb6 --- /dev/null +++ b/tests/sku_create_input/3800_files/ACS-MSN3800/port_config.ini @@ -0,0 +1,65 @@ +# name lanes alias index +Ethernet0 0,1,2,3 etp1 1 +Ethernet4 4,5,6,7 etp2 2 +Ethernet8 8,9,10,11 etp3 3 +Ethernet12 12,13,14,15 etp4 4 +Ethernet16 16,17,18,19 etp5 5 +Ethernet20 20,21,22,23 etp6 6 +Ethernet24 24,25,26,27 etp7 7 +Ethernet28 28,29,30,31 etp8 8 +Ethernet32 32,33,34,35 etp9 9 +Ethernet36 36,37,38,39 etp10 10 +Ethernet40 40,41,42,43 etp11 11 +Ethernet44 44,45,46,47 etp12 12 +Ethernet48 48,49,50,51 etp13 13 +Ethernet52 52,53,54,55 etp14 14 +Ethernet56 56,57,58,59 etp15 15 +Ethernet60 60,61,62,63 etp16 16 +Ethernet64 64,65,66,67 etp17 17 +Ethernet68 68,69,70,71 etp18 18 +Ethernet72 72,73,74,75 etp19 19 +Ethernet76 76,77,78,79 etp20 20 +Ethernet80 80,81,82,83 etp21 21 +Ethernet84 84,85,86,87 etp22 22 +Ethernet88 88,89,90,91 etp23 23 +Ethernet92 92,93,94,95 etp24 24 +Ethernet96 96,97,98,99 etp25 25 +Ethernet100 100,101,102,103 etp26 26 +Ethernet104 104,105,106,107 etp27 27 +Ethernet108 108,109,110,111 etp28 28 +Ethernet112 112,113,114,115 etp29 29 +Ethernet116 116,117,118,119 etp30 30 +Ethernet120 120,121,122,123 etp31 31 +Ethernet124 124,125,126,127 etp32 32 +Ethernet128 128,129,130,131 etp33 33 +Ethernet132 132,133,134,135 etp34 34 +Ethernet136 136,137,138,139 etp35 35 +Ethernet140 140,141,142,143 etp36 36 +Ethernet144 144,145,146,147 etp37 37 +Ethernet148 148,149,150,151 etp38 38 +Ethernet152 152,153,154,155 etp39 39 +Ethernet156 156,157,158,159 etp40 40 +Ethernet160 160,161,162,163 etp41 41 +Ethernet164 164,165,166,167 etp42 42 +Ethernet168 168,169,170,171 etp43 43 +Ethernet172 172,173,174,175 etp44 44 +Ethernet176 176,177,178,179 etp45 45 +Ethernet180 180,181,182,183 etp46 46 +Ethernet184 184,185,186,187 etp47 47 +Ethernet188 188,189,190,191 etp48 48 +Ethernet192 192,193,194,195 etp49 49 +Ethernet196 196,197,198,199 etp50 50 +Ethernet200 200,201,202,203 etp51 51 +Ethernet204 204,205,206,207 etp52 52 +Ethernet208 208,209,210,211 etp53 53 +Ethernet212 212,213,214,215 etp54 54 +Ethernet216 216,217,218,219 etp55 55 +Ethernet220 220,221,222,223 etp56 56 +Ethernet224 224,225,226,227 etp57 57 +Ethernet228 228,229,230,231 etp58 58 +Ethernet232 232,233,234,235 etp59 59 +Ethernet236 236,237,238,239 etp60 60 +Ethernet240 240,241,242,243 etp61 61 +Ethernet244 244,245,246,247 etp62 62 +Ethernet248 248,249,250,251 etp63 63 +Ethernet252 252,253,254,255 etp64 64 diff --git a/tests/sku_create_input/3800_files/ACS-MSN3800/sai.profile b/tests/sku_create_input/3800_files/ACS-MSN3800/sai.profile new file mode 100644 index 000000000000..367f6c4e99c0 --- /dev/null +++ b/tests/sku_create_input/3800_files/ACS-MSN3800/sai.profile @@ -0,0 +1 @@ +SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_3800.xml diff --git a/tests/sku_create_input/3800_files/ACS-MSN3800/sai_3800.xml b/tests/sku_create_input/3800_files/ACS-MSN3800/sai_3800.xml new file mode 100644 index 000000000000..4d9cc3cf7f8c --- /dev/null +++ b/tests/sku_create_input/3800_files/ACS-MSN3800/sai_3800.xml @@ -0,0 +1,470 @@ + + + + + + 00:02:03:04:05:00 + + + 1 + + + 64 + + + + + 1 + 4 + 48 + + + 3 + + + 1536 + + + 3 + 4 + 49 + 3 + 1536 + + + 5 + 4 + 50 + 3 + 1536 + + + 7 + 4 + 51 + 3 + 1536 + + + 9 + 4 + 52 + 3 + 1536 + + + 11 + 4 + 53 + 3 + 1536 + + + 13 + 4 + 54 + 3 + 1536 + + + 15 + 4 + 55 + 3 + 1536 + + + 17 + 4 + 56 + 3 + 1536 + + + 19 + 4 + 57 + 3 + 1536 + + + 21 + 4 + 58 + 3 + 1536 + + + 23 + 4 + 59 + 3 + 1536 + + + 25 + 4 + 60 + 3 + 1536 + + + 27 + 4 + 61 + 3 + 1536 + + + 29 + 4 + 62 + 3 + 1536 + + + 31 + 4 + 63 + 3 + 1536 + + + 33 + 4 + 12 + 3 + 1536 + + + 35 + 4 + 13 + 3 + 1536 + + + 37 + 4 + 14 + 3 + 1536 + + + 39 + 4 + 15 + 3 + 1536 + + + 41 + 4 + 8 + 3 + 1536 + + + 43 + 4 + 9 + 3 + 1536 + + + 45 + 4 + 10 + 3 + 1536 + + + 47 + 4 + 11 + 3 + 1536 + + + 49 + 4 + 4 + 3 + 1536 + + + 51 + 4 + 5 + 3 + 1536 + + + 53 + 4 + 6 + 3 + 1536 + + + 55 + 4 + 7 + 3 + 1536 + + + 57 + 4 + 0 + 3 + 1536 + + + 59 + 4 + 1 + 3 + 1536 + + + 61 + 4 + 2 + 3 + 1536 + + + 63 + 4 + 3 + 3 + 1536 + + + 65 + 4 + 44 + 3 + 1536 + + + 67 + 4 + 45 + 3 + 1536 + + + 69 + 4 + 46 + 3 + 1536 + + + 71 + 4 + 47 + 3 + 1536 + + + 73 + 4 + 40 + 3 + 1536 + + + 75 + 4 + 41 + 3 + 1536 + + + 77 + 4 + 42 + 3 + 1536 + + + 79 + 4 + 43 + 3 + 1536 + + + 81 + 4 + 36 + 3 + 1536 + + + 83 + 4 + 37 + 3 + 1536 + + + 85 + 4 + 38 + 3 + 1536 + + + 87 + 4 + 39 + 3 + 1536 + + + 89 + 4 + 32 + 3 + 1536 + + + 91 + 4 + 33 + 3 + 1536 + + + 93 + 4 + 34 + 3 + 1536 + + + 95 + 4 + 35 + 3 + 1536 + + + 97 + 4 + 16 + 3 + 1536 + + + 99 + 4 + 17 + 3 + 1536 + + + 101 + 4 + 18 + 3 + 1536 + + + 103 + 4 + 19 + 3 + 1536 + + + 105 + 4 + 20 + 3 + 1536 + + + 107 + 4 + 21 + 3 + 1536 + + + 109 + 4 + 22 + 3 + 1536 + + + 111 + 4 + 23 + 3 + 1536 + + + 113 + 4 + 24 + 3 + 1536 + + + 115 + 4 + 25 + 3 + 1536 + + + 117 + 4 + 26 + 3 + 1536 + + + 119 + 4 + 27 + 3 + 1536 + + + 121 + 4 + 28 + 3 + 1536 + + + 123 + 4 + 29 + 3 + 1536 + + + 125 + 4 + 30 + 3 + 1536 + + + 127 + 4 + 31 + 3 + 1536 + + + + diff --git a/tests/sku_create_input/3800_files/Mellanox-SN3800-D28C50/buffers_defaults_t0.j2 b/tests/sku_create_input/3800_files/Mellanox-SN3800-D28C50/buffers_defaults_t0.j2 new file mode 100644 index 000000000000..c64f1c548631 --- /dev/null +++ b/tests/sku_create_input/3800_files/Mellanox-SN3800-D28C50/buffers_defaults_t0.j2 @@ -0,0 +1,104 @@ +{% set default_cable = '5m' %} +{% set ingress_lossless_pool_size = '24360960' %} +{% set ingress_lossless_pool_xoff = '2795520' %} +{% set egress_lossless_pool_size = '34287552' %} +{% set egress_lossy_pool_size = '24360960' %} + +{%- macro generate_port_lists(PORT_ALL) %} + {# Generate list of ports #} + {%- for port_idx in range(0, 32) %} + {%- if PORT_ALL.append("Ethernet%d" % (port_idx)) %}{%- endif %} + {%- endfor %} +{%- endmacro %} + +{%- macro generate_buffer_pool_and_profiles() %} + "BUFFER_POOL": { + "ingress_lossless_pool": { + {%- if dynamic_mode is not defined %} + "size": "{{ ingress_lossless_pool_size }}", + "xoff": "{{ ingress_lossless_pool_xoff }}", + {%- endif %} + "type": "ingress", + "mode": "dynamic" + }, + "egress_lossless_pool": { + "size": "{{ egress_lossless_pool_size }}", + "type": "egress", + "mode": "dynamic" + }, + "egress_lossy_pool": { + {%- if dynamic_mode is not defined %} + "size": "{{ egress_lossy_pool_size }}", + {%- endif %} + "type": "egress", + "mode": "dynamic" + } + }, + "BUFFER_PROFILE": { + "ingress_lossless_profile": { + "pool":"[BUFFER_POOL|ingress_lossless_pool]", + "size":"0", + "dynamic_th":"7" + }, + "ingress_lossy_profile": { + "pool":"[BUFFER_POOL|ingress_lossless_pool]", + "size":"0", + "dynamic_th":"3" + }, + "egress_lossless_profile": { + "pool":"[BUFFER_POOL|egress_lossless_pool]", + "size":"0", + "dynamic_th":"7" + }, + "egress_lossy_profile": { + "pool":"[BUFFER_POOL|egress_lossy_pool]", + "size":"9216", + "dynamic_th":"7" + }, + "q_lossy_profile": { + "pool":"[BUFFER_POOL|egress_lossy_pool]", + "size":"0", + "dynamic_th":"3" + } + }, +{%- endmacro %} + +{%- macro generate_profile_lists(port_names) %} + "BUFFER_PORT_INGRESS_PROFILE_LIST": { +{% for port in port_names.split(',') %} + "{{ port }}": { + "profile_list" : "[BUFFER_PROFILE|ingress_lossless_profile]" + }{% if not loop.last %},{% endif %} + +{% endfor %} + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST": { +{% for port in port_names.split(',') %} + "{{ port }}": { + "profile_list" : "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }{% if not loop.last %},{% endif %} + +{% endfor %} + } +{%- endmacro %} + +{%- macro generate_queue_buffers(port_names) %} + "BUFFER_QUEUE": { +{% for port in port_names.split(',') %} + "{{ port }}|3-4": { + "profile" : "[BUFFER_PROFILE|egress_lossless_profile]" + }, +{% endfor %} +{% for port in port_names.split(',') %} + "{{ port }}|0-2": { + "profile" : "[BUFFER_PROFILE|q_lossy_profile]" + }, +{% endfor %} +{% for port in port_names.split(',') %} + "{{ port }}|5-6": { + "profile" : "[BUFFER_PROFILE|q_lossy_profile]" + }{% if not loop.last %},{% endif %} + +{% endfor %} + } +{%- endmacro %} diff --git a/tests/sku_create_input/3800_files/Mellanox-SN3800-D28C50/buffers_defaults_t1.j2 b/tests/sku_create_input/3800_files/Mellanox-SN3800-D28C50/buffers_defaults_t1.j2 new file mode 100644 index 000000000000..bbb51cc778b2 --- /dev/null +++ b/tests/sku_create_input/3800_files/Mellanox-SN3800-D28C50/buffers_defaults_t1.j2 @@ -0,0 +1,104 @@ +{% set default_cable = '5m' %} +{% set ingress_lossless_pool_size = '22380544' %} +{% set ingress_lossless_pool_xoff = '4775936' %} +{% set egress_lossless_pool_size = '34287552' %} +{% set egress_lossy_pool_size = '22380544' %} + +{%- macro generate_port_lists(PORT_ALL) %} + {# Generate list of ports #} + {%- for port_idx in range(0, 32) %} + {%- if PORT_ALL.append("Ethernet%d" % (port_idx)) %}{%- endif %} + {%- endfor %} +{%- endmacro %} + +{%- macro generate_buffer_pool_and_profiles() %} + "BUFFER_POOL": { + "ingress_lossless_pool": { + {%- if dynamic_mode is not defined %} + "size": "{{ ingress_lossless_pool_size }}", + "xoff": "{{ ingress_lossless_pool_xoff }}", + {%- endif %} + "type": "ingress", + "mode": "dynamic" + }, + "egress_lossless_pool": { + "size": "{{ egress_lossless_pool_size }}", + "type": "egress", + "mode": "dynamic" + }, + "egress_lossy_pool": { + {%- if dynamic_mode is not defined %} + "size": "{{ egress_lossy_pool_size }}", + {%- endif %} + "type": "egress", + "mode": "dynamic" + } + }, + "BUFFER_PROFILE": { + "ingress_lossless_profile": { + "pool":"[BUFFER_POOL|ingress_lossless_pool]", + "size":"0", + "dynamic_th":"7" + }, + "ingress_lossy_profile": { + "pool":"[BUFFER_POOL|ingress_lossless_pool]", + "size":"0", + "dynamic_th":"3" + }, + "egress_lossless_profile": { + "pool":"[BUFFER_POOL|egress_lossless_pool]", + "size":"0", + "dynamic_th":"7" + }, + "egress_lossy_profile": { + "pool":"[BUFFER_POOL|egress_lossy_pool]", + "size":"9216", + "dynamic_th":"7" + }, + "q_lossy_profile": { + "pool":"[BUFFER_POOL|egress_lossy_pool]", + "size":"0", + "dynamic_th":"3" + } + }, +{%- endmacro %} + +{%- macro generate_profile_lists(port_names) %} + "BUFFER_PORT_INGRESS_PROFILE_LIST": { +{% for port in port_names.split(',') %} + "{{ port }}": { + "profile_list" : "[BUFFER_PROFILE|ingress_lossless_profile]" + }{% if not loop.last %},{% endif %} + +{% endfor %} + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST": { +{% for port in port_names.split(',') %} + "{{ port }}": { + "profile_list" : "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }{% if not loop.last %},{% endif %} + +{% endfor %} + } +{%- endmacro %} + +{%- macro generate_queue_buffers(port_names) %} + "BUFFER_QUEUE": { +{% for port in port_names.split(',') %} + "{{ port }}|3-4": { + "profile" : "[BUFFER_PROFILE|egress_lossless_profile]" + }, +{% endfor %} +{% for port in port_names.split(',') %} + "{{ port }}|0-2": { + "profile" : "[BUFFER_PROFILE|q_lossy_profile]" + }, +{% endfor %} +{% for port in port_names.split(',') %} + "{{ port }}|5-6": { + "profile" : "[BUFFER_PROFILE|q_lossy_profile]" + }{% if not loop.last %},{% endif %} + +{% endfor %} + } +{%- endmacro %} diff --git a/tests/sku_create_input/3800_files/Mellanox-SN3800-D28C50/hwsku.json b/tests/sku_create_input/3800_files/Mellanox-SN3800-D28C50/hwsku.json new file mode 100644 index 000000000000..fd7584babec5 --- /dev/null +++ b/tests/sku_create_input/3800_files/Mellanox-SN3800-D28C50/hwsku.json @@ -0,0 +1,238 @@ +{ + "interfaces": { + "Ethernet0": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet4": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet8": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet12": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet16": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet20": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet24": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet28": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet32": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet34": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet36": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet38": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet40": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet42": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet44": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet46": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet48": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet52": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet56": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet60": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet64": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet68": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet72": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet76": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet80": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet84": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet88": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet92": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet96": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet100": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet104": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet106": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet108": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet110": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet112": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet116": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet120": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet124": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet128": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet132": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet136": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet140": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet144": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet148": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet152": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet156": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet160": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet164": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet168": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet172": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet176": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet178": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet180": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet182": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet184": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet186": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet188": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet190": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet192": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet196": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet200": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet204": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet208": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet212": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet216": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet220": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet224": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet228": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet232": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet236": { + "default_brkout_mode": "1x100G[50G,40G,25G,10G]" + }, + "Ethernet240": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet242": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet244": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet246": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet248": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet250": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet252": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + }, + "Ethernet254": { + "default_brkout_mode": "2x50G[40G,25G,10G]" + } + } +} diff --git a/tests/sku_create_input/3800_files/Mellanox-SN3800-D28C50/port_config.ini b/tests/sku_create_input/3800_files/Mellanox-SN3800-D28C50/port_config.ini new file mode 100644 index 000000000000..95f42923c11f --- /dev/null +++ b/tests/sku_create_input/3800_files/Mellanox-SN3800-D28C50/port_config.ini @@ -0,0 +1,79 @@ +# name lanes alias index speed +Ethernet0 0,1,2,3 etp1 1 100000 +Ethernet4 4,5,6,7 etp2 2 100000 +Ethernet8 8,9,10,11 etp3 3 100000 +Ethernet12 12,13,14,15 etp4 4 100000 +Ethernet16 16,17,18,19 etp5 5 100000 +Ethernet20 20,21,22,23 etp6 6 100000 +Ethernet24 24,25,26,27 etp7 7 100000 +Ethernet28 28,29,30,31 etp8 8 100000 +Ethernet32 32,33 etp9a 9 50000 +Ethernet34 34,35 etp9b 9 50000 +Ethernet36 36,37 etp10a 10 50000 +Ethernet38 38,39 etp10b 10 50000 +Ethernet40 40,41 etp11a 11 50000 +Ethernet42 42,43 etp11b 11 50000 +Ethernet44 44,45 etp12a 12 50000 +Ethernet46 46,47 etp12b 12 50000 +Ethernet48 48,49,50,51 etp13 13 100000 +Ethernet52 52,53,54,55 etp14 14 100000 +Ethernet56 56,57,58,59 etp15 15 100000 +Ethernet60 60,61,62,63 etp16 16 100000 +Ethernet64 64,65,66,67 etp17 17 100000 +Ethernet68 68,69,70,71 etp18 18 100000 +Ethernet72 72,73,74,75 etp19 19 100000 +Ethernet76 76,77,78,79 etp20 20 100000 +Ethernet80 80,81,82,83 etp21 21 100000 +Ethernet84 84,85,86,87 etp22 22 100000 +Ethernet88 88,89,90,91 etp23 23 100000 +Ethernet92 92,93,94,95 etp24 24 100000 +Ethernet96 96,97,98,99 etp25 25 100000 +Ethernet100 100,101,102,103 etp26 26 100000 +Ethernet104 104,105 etp27a 27 50000 +Ethernet106 106,107 etp27b 27 50000 +Ethernet108 108,109 etp28a 28 50000 +Ethernet110 110,111 etp28b 28 50000 +Ethernet112 112,113,114,115 etp29 29 100000 +Ethernet116 116,117,118,119 etp30 30 100000 +Ethernet120 120,121,122,123 etp31 31 100000 +Ethernet124 124,125,126,127 etp32 32 100000 +Ethernet128 128,129,130,131 etp33 33 100000 +Ethernet132 132,133,134,135 etp34 34 100000 +Ethernet136 136,137,138,139 etp35 35 100000 +Ethernet140 140,141,142,143 etp36 36 100000 +Ethernet144 144,145,146,147 etp37 37 100000 +Ethernet148 148,149,150,151 etp38 38 100000 +Ethernet152 152,153,154,155 etp39 39 100000 +Ethernet156 156,157,158,159 etp40 40 100000 +Ethernet160 160,161,162,163 etp41 41 100000 +Ethernet164 164,165,166,167 etp42 42 100000 +Ethernet168 168,169,170,171 etp43 43 100000 +Ethernet172 172,173,174,175 etp44 44 100000 +Ethernet176 176,177 etp45a 45 50000 +Ethernet178 178,179 etp45b 45 50000 +Ethernet180 180,181 etp46a 46 50000 +Ethernet182 182,183 etp46b 46 50000 +Ethernet184 184,185 etp47a 47 50000 +Ethernet186 186,187 etp47b 47 50000 +Ethernet188 188,189 etp48a 48 50000 +Ethernet190 190,191 etp48b 48 50000 +Ethernet192 192,193,194,195 etp49 49 100000 +Ethernet196 196,197,198,199 etp50 50 100000 +Ethernet200 200,201,202,203 etp51 51 100000 +Ethernet204 204,205,206,207 etp52 52 100000 +Ethernet208 208,209,210,211 etp53 53 100000 +Ethernet212 212,213,214,215 etp54 54 100000 +Ethernet216 216,217,218,219 etp55 55 100000 +Ethernet220 220,221,222,223 etp56 56 100000 +Ethernet224 224,225,226,227 etp57 57 100000 +Ethernet228 228,229,230,231 etp58 58 100000 +Ethernet232 232,233,234,235 etp59 59 100000 +Ethernet236 236,237,238,239 etp60 60 100000 +Ethernet240 240,241 etp61a 61 50000 +Ethernet242 242,243 etp61b 61 50000 +Ethernet244 244,245 etp62a 62 50000 +Ethernet246 246,247 etp62b 62 50000 +Ethernet248 248,249 etp63a 63 50000 +Ethernet250 250,251 etp63b 63 50000 +Ethernet252 252,253 etp64a 64 50000 +Ethernet254 254,255 etp64b 64 50000 diff --git a/tests/sku_create_input/3800_files/Mellanox-SN3800-D28C50/sai.profile b/tests/sku_create_input/3800_files/Mellanox-SN3800-D28C50/sai.profile new file mode 100644 index 000000000000..aa37fb30dbd0 --- /dev/null +++ b/tests/sku_create_input/3800_files/Mellanox-SN3800-D28C50/sai.profile @@ -0,0 +1 @@ +SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_3800_28x50g_52x100g.xml diff --git a/tests/sku_create_input/3800_files/Mellanox-SN3800-D28C50/sai_3800_28x50g_52x100g.xml b/tests/sku_create_input/3800_files/Mellanox-SN3800-D28C50/sai_3800_28x50g_52x100g.xml new file mode 100644 index 000000000000..1b3c77ce381c --- /dev/null +++ b/tests/sku_create_input/3800_files/Mellanox-SN3800-D28C50/sai_3800_28x50g_52x100g.xml @@ -0,0 +1,470 @@ + + + + + + 00:02:03:04:05:00 + + + 1 + + + 64 + + + + + 1 + 4 + 48 + + + 3 + + + 1536 + + + 3 + 4 + 49 + 3 + 1536 + + + 5 + 4 + 50 + 3 + 1536 + + + 7 + 4 + 51 + 3 + 1536 + + + 9 + 4 + 52 + 3 + 1536 + + + 11 + 4 + 53 + 3 + 1536 + + + 13 + 4 + 54 + 3 + 1536 + + + 15 + 4 + 55 + 3 + 1536 + + + 17 + 4 + 56 + 3 + 1536 + + + 19 + 4 + 57 + 3 + 1536 + + + 21 + 4 + 58 + 3 + 1536 + + + 23 + 4 + 59 + 3 + 1536 + + + 25 + 4 + 60 + 3 + 1536 + + + 27 + 4 + 61 + 3 + 1536 + + + 29 + 4 + 62 + 3 + 1536 + + + 31 + 4 + 63 + 3 + 1536 + + + 33 + 4 + 12 + 3 + 1536 + + + 35 + 4 + 13 + 3 + 1536 + + + 37 + 4 + 14 + 3 + 1536 + + + 39 + 4 + 15 + 3 + 1536 + + + 41 + 4 + 8 + 3 + 1536 + + + 43 + 4 + 9 + 3 + 1536 + + + 45 + 4 + 10 + 3 + 1536 + + + 47 + 4 + 11 + 3 + 1536 + + + 49 + 4 + 4 + 3 + 1536 + + + 51 + 4 + 5 + 3 + 1536 + + + 53 + 4 + 6 + 3 + 1536 + + + 55 + 4 + 7 + 3 + 1536 + + + 57 + 4 + 0 + 3 + 1536 + + + 59 + 4 + 1 + 3 + 1536 + + + 61 + 4 + 2 + 3 + 1536 + + + 63 + 4 + 3 + 3 + 1536 + + + 65 + 4 + 44 + 3 + 1536 + + + 67 + 4 + 45 + 3 + 1536 + + + 69 + 4 + 46 + 3 + 1536 + + + 71 + 4 + 47 + 3 + 1536 + + + 73 + 4 + 40 + 3 + 1536 + + + 75 + 4 + 41 + 3 + 1536 + + + 77 + 4 + 42 + 3 + 1536 + + + 79 + 4 + 43 + 3 + 1536 + + + 81 + 4 + 36 + 3 + 1536 + + + 83 + 4 + 37 + 3 + 1536 + + + 85 + 4 + 38 + 3 + 1536 + + + 87 + 4 + 39 + 3 + 1536 + + + 89 + 4 + 32 + 3 + 1536 + + + 91 + 4 + 33 + 3 + 1536 + + + 93 + 4 + 34 + 3 + 1536 + + + 95 + 4 + 35 + 3 + 1536 + + + 97 + 4 + 16 + 3 + 1536 + + + 99 + 4 + 17 + 3 + 1536 + + + 101 + 4 + 18 + 3 + 1536 + + + 103 + 4 + 19 + 3 + 1536 + + + 105 + 4 + 20 + 3 + 1536 + + + 107 + 4 + 21 + 3 + 1536 + + + 109 + 4 + 22 + 3 + 1536 + + + 111 + 4 + 23 + 3 + 1536 + + + 113 + 4 + 24 + 3 + 1536 + + + 115 + 4 + 25 + 3 + 1536 + + + 117 + 4 + 26 + 3 + 1536 + + + 119 + 4 + 27 + 3 + 1536 + + + 121 + 4 + 28 + 3 + 1536 + + + 123 + 4 + 29 + 3 + 1536 + + + 125 + 4 + 30 + 3 + 1536 + + + 127 + 4 + 31 + 3 + 1536 + + + + diff --git a/tests/sku_create_input/3800_files/default_sku b/tests/sku_create_input/3800_files/default_sku new file mode 100644 index 000000000000..c5d9d513ad08 --- /dev/null +++ b/tests/sku_create_input/3800_files/default_sku @@ -0,0 +1 @@ +ACS-MSN3800 t1 diff --git a/tests/sku_create_input/3800_files/t0-1-06-minigraph.xml b/tests/sku_create_input/3800_files/t0-1-06-minigraph.xml new file mode 100644 index 000000000000..fd20e4fa60a3 --- /dev/null +++ b/tests/sku_create_input/3800_files/t0-1-06-minigraph.xml @@ -0,0 +1,13830 @@ + + + + + + +BGPSession +false +str-dcfx-t0-1-06 +20.152.11.9 +str-dcfx-t1-1-01 +20.152.11.8 +1 +10 +3 + + +BGPSession +false +str-dcfx-t0-1-06 +20.152.11.69 +str-dcfx-t1-1-02 +20.152.11.68 +1 +10 +3 + + +BGPSession +false +str-dcfx-t0-1-06 +20.152.11.137 +str-dcfx-t1-1-03 +20.152.11.136 +1 +10 +3 + + +BGPSession +false +str-dcfx-t0-1-06 +20.152.11.201 +str-dcfx-t1-1-05 +20.152.11.200 +1 +10 +3 + + +BGPSession +false +str-dcfx-t0-1-06 +dfc0::20:0:0:16 +str-dcfx-t1-1-01 +dfc0::20:0:0:15 +1 +10 +3 + + +BGPSession +false +str-dcfx-t0-1-06 +dfc0::20:0:0:10e +str-dcfx-t1-1-02 +dfc0::20:0:0:10d +1 +10 +3 + + +BGPSession +false +str-dcfx-t0-1-06 +dfc0::20:0:0:216 +str-dcfx-t1-1-03 +dfc0::20:0:0:215 +1 +10 +3 + + +BGPSession +false +str-dcfx-t0-1-06 +dfc0::20:0:0:316 +str-dcfx-t1-1-05 +dfc0::20:0:0:315 +1 +10 +3 + + + + +64606 + +str-dcfx-t0-1-06 + + +BGPPeer +
20.152.11.9
+ + + +
+ +BGPPeer +
20.152.11.69
+ + + +
+ +BGPPeer +
20.152.11.137
+ + + +
+ +BGPPeer +
20.152.11.201
+ + + +
+ +BGPPeer +
100.3.152.32
+ + + +
+ +BGPPeer +
dfc0::20:0:0:16
+ + + +
+ +BGPPeer +
dfc0::20:0:0:10e
+ + + +
+ +BGPPeer +
dfc0::20:0:0:216
+ + + +
+ +BGPPeer +
dfc0::20:0:0:316
+ + + +
+ +BGPPeer +
100.3.152.32
+ + + +BGPSLBPassive +50.50.50.0/24 +
+
+ +
+ +64801 + +str-dcfx-t1-1-01 + + +BGPPeer +
20.152.0.129
+ + + +
+ +BGPPeer +
20.152.11.0
+ + + +
+ +BGPPeer +
20.152.11.2
+ + + +
+ +BGPPeer +
20.152.11.4
+ + + +
+ +BGPPeer +
20.152.11.6
+ + + +
+ +BGPPeer +
20.152.11.8
+ + + +
+ +BGPPeer +
dfc0::20:0:0:5
+ + + +
+ +BGPPeer +
dfc0::20:0:0:9
+ + + +
+ +BGPPeer +
dfc0::20:0:0:d
+ + + +
+ +BGPPeer +
dfc0::20:0:0:11
+ + + +
+ +BGPPeer +
dfc0::20:0:0:15
+ + + +
+ +BGPPeer +
dfc0::20:152:2:206
+ + + +
+
+ +
+ +64801 + +str-dcfx-t1-1-02 + + +BGPPeer +
20.152.0.131
+ + + +
+ +BGPPeer +
20.152.11.64
+ + + +
+ +BGPPeer +
20.152.11.66
+ + + +
+ +BGPPeer +
20.152.11.68
+ + + +
+ +BGPPeer +
20.152.11.70
+ + + +
+ +BGPPeer +
20.152.11.72
+ + + +
+ +BGPPeer +
dfc0::20:0:0:105
+ + + +
+ +BGPPeer +
dfc0::20:0:0:109
+ + + +
+ +BGPPeer +
dfc0::20:0:0:10d
+ + + +
+ +BGPPeer +
dfc0::20:0:0:111
+ + + +
+ +BGPPeer +
dfc0::20:0:0:115
+ + + +
+ +BGPPeer +
dfc0::20:152:2:20a
+ + + +
+
+ +
+ +64801 + +str-dcfx-t1-1-03 + + +BGPPeer +
20.152.0.133
+ + + +
+ +BGPPeer +
20.152.11.128
+ + + +
+ +BGPPeer +
20.152.11.130
+ + + +
+ +BGPPeer +
20.152.11.132
+ + + +
+ +BGPPeer +
20.152.11.134
+ + + +
+ +BGPPeer +
20.152.11.136
+ + + +
+ +BGPPeer +
dfc0::20:0:0:205
+ + + +
+ +BGPPeer +
dfc0::20:0:0:209
+ + + +
+ +BGPPeer +
dfc0::20:0:0:20d
+ + + +
+ +BGPPeer +
dfc0::20:0:0:211
+ + + +
+ +BGPPeer +
dfc0::20:0:0:215
+ + + +
+ +BGPPeer +
dfc0::20:152:2:20e
+ + + +
+
+ +
+ +64801 + +str-dcfx-t1-1-05 + + +BGPPeer +
20.152.0.145
+ + + +
+ +BGPPeer +
20.152.11.192
+ + + +
+ +BGPPeer +
20.152.11.194
+ + + +
+ +BGPPeer +
20.152.11.196
+ + + +
+ +BGPPeer +
20.152.11.198
+ + + +
+ +BGPPeer +
20.152.11.200
+ + + +
+ +BGPPeer +
dfc0::20:0:0:305
+ + + +
+ +BGPPeer +
dfc0::20:0:0:309
+ + + +
+ +BGPPeer +
dfc0::20:0:0:30d
+ + + +
+ +BGPPeer +
dfc0::20:0:0:311
+ + + +
+ +BGPPeer +
dfc0::20:0:0:315
+ + + +
+ +BGPPeer +
dfc0::20:152:2:226
+ + + +
+
+ +
+
+ +
+ + + +MSN3800 +MSN3800 + + +DeviceInterface + +true +1 +etp1 +false +0 +Ethernet0 +100000 + + +DeviceInterface + +true +2 +etp2 +false +4 +Ethernet4 +100000 + + +DeviceInterface + +true +3 +etp3 +false +8 +Ethernet8 +100000 + + +DeviceInterface + +true +4 +etp4 +false +12 +Ethernet12 +100000 + + +DeviceInterface + +true +5 +etp5 +false +16 +Ethernet16 +100000 + + +DeviceInterface + +true +6 +etp6 +false +20 +Ethernet20 +100000 + + +DeviceInterface + +true +7 +etp7 +false +24 +Ethernet24 +100000 + + +DeviceInterface + +true +8 +etp8 +false +28 +Ethernet28 +100000 + + +DeviceInterface + +true +9 +etp9a +false +32 +Ethernet32 +50000 + + +DeviceInterface + +true +10 +etp9b +false +34 +Ethernet34 +50000 + + +DeviceInterface + +true +11 +etp10a +false +36 +Ethernet36 +50000 + + +DeviceInterface + +true +12 +etp10b +false +38 +Ethernet38 +50000 + + +DeviceInterface + +true +13 +etp11a +false +40 +Ethernet40 +50000 + + +DeviceInterface + +true +14 +etp11b +false +42 +Ethernet42 +50000 + + +DeviceInterface + +true +15 +etp12a +false +44 +Ethernet44 +50000 + + +DeviceInterface + +true +16 +etp12b +false +46 +Ethernet46 +50000 + + +DeviceInterface + +true +17 +etp13 +false +48 +Ethernet48 +100000 + + +DeviceInterface + +true +18 +etp14 +false +52 +Ethernet52 +100000 + + +DeviceInterface + +true +19 +etp15 +false +56 +Ethernet56 +100000 + + +DeviceInterface + +true +20 +etp16 +false +60 +Ethernet60 +100000 + + +DeviceInterface + +true +21 +etp17 +false +64 +Ethernet64 +100000 + + +DeviceInterface + +true +22 +etp18 +false +68 +Ethernet68 +100000 + + +DeviceInterface + +true +23 +etp19 +false +72 +Ethernet72 +100000 + + +DeviceInterface + +true +24 +etp20 +false +76 +Ethernet76 +100000 + + +DeviceInterface + +true +25 +etp21 +false +80 +Ethernet80 +100000 + + +DeviceInterface + +true +26 +etp22 +false +84 +Ethernet84 +100000 + + +DeviceInterface + +true +27 +etp23 +false +88 +Ethernet88 +100000 + + +DeviceInterface + +true +28 +etp24 +false +92 +Ethernet92 +100000 + + +DeviceInterface + +true +29 +etp25 +false +96 +Ethernet96 +100000 + + +DeviceInterface + +true +30 +etp26 +false +100 +Ethernet100 +100000 + + +DeviceInterface + +true +31 +etp27a +false +104 +Ethernet104 +50000 + + +DeviceInterface + +true +32 +etp27b +false +106 +Ethernet106 +50000 + + +DeviceInterface + +true +33 +etp28a +false +108 +Ethernet108 +50000 + + +DeviceInterface + +true +34 +etp28b +false +110 +Ethernet110 +50000 + + +DeviceInterface + +true +35 +etp29 +false +112 +Ethernet112 +100000 + + +DeviceInterface + +true +36 +etp30 +false +116 +Ethernet116 +100000 + + +DeviceInterface + +true +37 +etp31 +false +120 +Ethernet120 +100000 + + +DeviceInterface + +true +38 +etp32 +false +124 +Ethernet124 +100000 + + +DeviceInterface + +true +39 +etp33 +false +128 +Ethernet128 +100000 + + +DeviceInterface + +true +40 +etp34 +false +132 +Ethernet132 +100000 + + +DeviceInterface + +true +41 +etp35 +false +136 +Ethernet136 +100000 + + +DeviceInterface + +true +42 +etp36 +false +140 +Ethernet140 +100000 + + +DeviceInterface + +true +43 +etp37 +false +144 +Ethernet144 +100000 + + +DeviceInterface + +true +44 +etp38 +false +148 +Ethernet148 +100000 + + +DeviceInterface + +true +45 +etp39 +false +152 +Ethernet152 +100000 + + +DeviceInterface + +true +46 +etp40 +false +156 +Ethernet156 +100000 + + +DeviceInterface + +true +47 +etp41 +false +160 +Ethernet160 +100000 + + +DeviceInterface + +true +48 +etp42 +false +164 +Ethernet164 +100000 + + +DeviceInterface + +true +49 +etp43 +false +168 +Ethernet168 +100000 + + +DeviceInterface + +true +50 +etp44 +false +172 +Ethernet172 +100000 + + +DeviceInterface + +true +51 +etp45a +false +176 +Ethernet176 +50000 + + +DeviceInterface + +true +52 +etp45b +false +178 +Ethernet178 +50000 + + +DeviceInterface + +true +53 +etp46a +false +180 +Ethernet180 +50000 + + +DeviceInterface + +true +54 +etp46b +false +182 +Ethernet182 +50000 + + +DeviceInterface + +true +55 +etp47a +false +184 +Ethernet184 +50000 + + +DeviceInterface + +true +56 +etp47b +false +186 +Ethernet186 +50000 + + +DeviceInterface + +true +57 +etp48a +false +188 +Ethernet188 +50000 + + +DeviceInterface + +true +58 +etp48b +false +190 +Ethernet190 +50000 + + +DeviceInterface + +true +59 +etp49 +false +192 +Ethernet192 +100000 + + +DeviceInterface + +true +60 +etp50 +false +196 +Ethernet196 +100000 + + +DeviceInterface + +true +61 +etp51 +false +200 +Ethernet200 +100000 + + +DeviceInterface + +true +62 +etp52 +false +204 +Ethernet204 +100000 + + +DeviceInterface + +true +63 +etp53 +false +208 +Ethernet208 +100000 + + +DeviceInterface + +true +64 +etp54 +false +212 +Ethernet212 +100000 + + +DeviceInterface + +true +65 +etp55 +false +216 +Ethernet216 +100000 + + +DeviceInterface + +true +66 +etp56 +false +220 +Ethernet220 +100000 + + +DeviceInterface + +true +67 +etp57 +false +224 +Ethernet224 +100000 + + +DeviceInterface + +true +68 +etp58 +false +228 +Ethernet228 +100000 + + +DeviceInterface + +true +69 +etp59 +false +232 +Ethernet232 +100000 + + +DeviceInterface + +true +70 +etp60 +false +236 +Ethernet236 +100000 + + +DeviceInterface + +true +71 +etp61a +false +240 +Ethernet240 +50000 + + +DeviceInterface + +true +72 +etp61b +false +242 +Ethernet242 +50000 + + +DeviceInterface + +true +73 +etp62a +false +244 +Ethernet244 +50000 + + +DeviceInterface + +true +74 +etp62b +false +246 +Ethernet246 +50000 + + +DeviceInterface + +true +75 +etp63a +false +248 +Ethernet248 +50000 + + +DeviceInterface + +true +76 +etp63b +false +250 +Ethernet250 +50000 + + +DeviceInterface + +true +77 +etp64a +false +252 +Ethernet252 +50000 + + +DeviceInterface + +true +78 +etp64b +false +254 +Ethernet254 +50000 + + +true +0 +Mellanox-SN3800-D28C50_NEW + + +etp1 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +1 + + +InterfaceGroupIndex +0:2:0:1 + + +InterfaceSubGroupIndex +1 + + + + +etp2 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +2 + + +InterfaceGroupIndex +0:2:0:2 + + +InterfaceSubGroupIndex +1 + + + + +etp3 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +3 + + +InterfaceGroupIndex +0:2:0:3 + + +InterfaceSubGroupIndex +1 + + + + +etp4 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +4 + + +InterfaceGroupIndex +0:2:0:4 + + +InterfaceSubGroupIndex +1 + + + + +etp5 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +5 + + +InterfaceGroupIndex +0:2:0:5 + + +InterfaceSubGroupIndex +1 + + + + +etp6 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +6 + + +InterfaceGroupIndex +0:2:0:6 + + +InterfaceSubGroupIndex +1 + + + + +etp7 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +7 + + +InterfaceGroupIndex +0:2:0:7 + + +InterfaceSubGroupIndex +1 + + + + +etp8 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +8 + + +InterfaceGroupIndex +0:2:0:8 + + +InterfaceSubGroupIndex +1 + + + + +etp9a + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +9 + + +InterfaceGroupIndex +0:2:0:9 + + +InterfaceSubGroupIndex +1 + + + + +etp9b + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +9 + + +InterfaceGroupIndex +0:2:0:9 + + +InterfaceSubGroupIndex +1 + + + + +etp10a + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +10 + + +InterfaceGroupIndex +0:2:0:10 + + +InterfaceSubGroupIndex +1 + + + + +etp10b + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +10 + + +InterfaceGroupIndex +0:2:0:10 + + +InterfaceSubGroupIndex +1 + + + + +etp11a + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +11 + + +InterfaceGroupIndex +0:2:0:11 + + +InterfaceSubGroupIndex +1 + + + + +etp11b + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +11 + + +InterfaceGroupIndex +0:2:0:11 + + +InterfaceSubGroupIndex +1 + + + + +etp12a + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +12 + + +InterfaceGroupIndex +0:2:0:12 + + +InterfaceSubGroupIndex +1 + + + + +etp12b + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +12 + + +InterfaceGroupIndex +0:2:0:12 + + +InterfaceSubGroupIndex +1 + + + + +etp13 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +13 + + +InterfaceGroupIndex +0:2:0:13 + + +InterfaceSubGroupIndex +1 + + + + +etp14 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +14 + + +InterfaceGroupIndex +0:2:0:14 + + +InterfaceSubGroupIndex +1 + + + + +etp15 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +15 + + +InterfaceGroupIndex +0:2:0:15 + + +InterfaceSubGroupIndex +1 + + + + +etp16 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +16 + + +InterfaceGroupIndex +0:2:0:16 + + +InterfaceSubGroupIndex +1 + + + + +etp17 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +17 + + +InterfaceGroupIndex +0:2:0:17 + + +InterfaceSubGroupIndex +1 + + + + +etp18 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +18 + + +InterfaceGroupIndex +0:2:0:18 + + +InterfaceSubGroupIndex +1 + + + + +etp19 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +19 + + +InterfaceGroupIndex +0:2:0:19 + + +InterfaceSubGroupIndex +1 + + + + +etp20 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +20 + + +InterfaceGroupIndex +0:2:0:20 + + +InterfaceSubGroupIndex +1 + + + + +etp21 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +21 + + +InterfaceGroupIndex +0:2:0:21 + + +InterfaceSubGroupIndex +1 + + + + +etp22 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +22 + + +InterfaceGroupIndex +0:2:0:22 + + +InterfaceSubGroupIndex +1 + + + + +etp23 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +23 + + +InterfaceGroupIndex +0:2:0:23 + + +InterfaceSubGroupIndex +1 + + + + +etp24 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +24 + + +InterfaceGroupIndex +0:2:0:24 + + +InterfaceSubGroupIndex +1 + + + + +etp25 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +25 + + +InterfaceGroupIndex +0:2:0:25 + + +InterfaceSubGroupIndex +1 + + + + +etp26 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +26 + + +InterfaceGroupIndex +0:2:0:26 + + +InterfaceSubGroupIndex +1 + + + + +etp27a + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +27 + + +InterfaceGroupIndex +0:2:0:27 + + +InterfaceSubGroupIndex +1 + + + + +etp27b + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +27 + + +InterfaceGroupIndex +0:2:0:27 + + +InterfaceSubGroupIndex +1 + + + + +etp28a + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +28 + + +InterfaceGroupIndex +0:2:0:28 + + +InterfaceSubGroupIndex +1 + + + + +etp28b + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +28 + + +InterfaceGroupIndex +0:2:0:28 + + +InterfaceSubGroupIndex +1 + + + + +etp29 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +29 + + +InterfaceGroupIndex +0:2:0:29 + + +InterfaceSubGroupIndex +1 + + + + +etp30 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +30 + + +InterfaceGroupIndex +0:2:0:30 + + +InterfaceSubGroupIndex +1 + + + + +etp31 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +31 + + +InterfaceGroupIndex +0:2:0:31 + + +InterfaceSubGroupIndex +1 + + + + +etp32 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +32 + + +InterfaceGroupIndex +0:2:0:32 + + +InterfaceSubGroupIndex +1 + + + + +etp33 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +33 + + +InterfaceGroupIndex +0:2:0:33 + + +InterfaceSubGroupIndex +1 + + + + +etp34 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +34 + + +InterfaceGroupIndex +0:2:0:34 + + +InterfaceSubGroupIndex +1 + + + + +etp35 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +35 + + +InterfaceGroupIndex +0:2:0:35 + + +InterfaceSubGroupIndex +1 + + + + +etp36 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +36 + + +InterfaceGroupIndex +0:2:0:36 + + +InterfaceSubGroupIndex +1 + + + + +etp37 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +37 + + +InterfaceGroupIndex +0:2:0:37 + + +InterfaceSubGroupIndex +1 + + + + +etp38 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +38 + + +InterfaceGroupIndex +0:2:0:38 + + +InterfaceSubGroupIndex +1 + + + + +etp39 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +39 + + +InterfaceGroupIndex +0:2:0:39 + + +InterfaceSubGroupIndex +1 + + + + +etp40 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +40 + + +InterfaceGroupIndex +0:2:0:40 + + +InterfaceSubGroupIndex +1 + + + + +etp41 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +41 + + +InterfaceGroupIndex +0:2:0:41 + + +InterfaceSubGroupIndex +1 + + + + +etp42 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +42 + + +InterfaceGroupIndex +0:2:0:42 + + +InterfaceSubGroupIndex +1 + + + + +etp43 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +43 + + +InterfaceGroupIndex +0:2:0:43 + + +InterfaceSubGroupIndex +1 + + + + +etp44 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +44 + + +InterfaceGroupIndex +0:2:0:44 + + +InterfaceSubGroupIndex +1 + + + + +etp45a + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +45 + + +InterfaceGroupIndex +0:2:0:45 + + +InterfaceSubGroupIndex +1 + + + + +etp45b + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +45 + + +InterfaceGroupIndex +0:2:0:45 + + +InterfaceSubGroupIndex +1 + + + + +etp46a + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +46 + + +InterfaceGroupIndex +0:2:0:46 + + +InterfaceSubGroupIndex +1 + + + + +etp46b + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +46 + + +InterfaceGroupIndex +0:2:0:46 + + +InterfaceSubGroupIndex +1 + + + + +etp47a + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +47 + + +InterfaceGroupIndex +0:2:0:47 + + +InterfaceSubGroupIndex +1 + + + + +etp47b + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +47 + + +InterfaceGroupIndex +0:2:0:47 + + +InterfaceSubGroupIndex +1 + + + + +etp48a + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +48 + + +InterfaceGroupIndex +0:2:0:48 + + +InterfaceSubGroupIndex +1 + + + + +etp48b + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +48 + + +InterfaceGroupIndex +0:2:0:48 + + +InterfaceSubGroupIndex +1 + + + + +etp49 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +49 + + +InterfaceGroupIndex +0:2:0:49 + + +InterfaceSubGroupIndex +1 + + + + +etp50 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +50 + + +InterfaceGroupIndex +0:2:0:50 + + +InterfaceSubGroupIndex +1 + + + + +etp51 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +51 + + +InterfaceGroupIndex +0:2:0:51 + + +InterfaceSubGroupIndex +1 + + + + +etp52 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +52 + + +InterfaceGroupIndex +0:2:0:52 + + +InterfaceSubGroupIndex +1 + + + + +etp53 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +53 + + +InterfaceGroupIndex +0:2:0:53 + + +InterfaceSubGroupIndex +1 + + + + +etp54 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +54 + + +InterfaceGroupIndex +0:2:0:54 + + +InterfaceSubGroupIndex +1 + + + + +etp55 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +55 + + +InterfaceGroupIndex +0:2:0:55 + + +InterfaceSubGroupIndex +1 + + + + +etp56 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +56 + + +InterfaceGroupIndex +0:2:0:56 + + +InterfaceSubGroupIndex +1 + + + + +etp57 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +57 + + +InterfaceGroupIndex +0:2:0:57 + + +InterfaceSubGroupIndex +1 + + + + +etp58 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +58 + + +InterfaceGroupIndex +0:2:0:58 + + +InterfaceSubGroupIndex +1 + + + + +etp59 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +59 + + +InterfaceGroupIndex +0:2:0:59 + + +InterfaceSubGroupIndex +1 + + + + +etp60 + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +60 + + +InterfaceGroupIndex +0:2:0:60 + + +InterfaceSubGroupIndex +1 + + + + +etp61a + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +61 + + +InterfaceGroupIndex +0:2:0:61 + + +InterfaceSubGroupIndex +1 + + + + +etp61b + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +61 + + +InterfaceGroupIndex +0:2:0:61 + + +InterfaceSubGroupIndex +1 + + + + +etp62a + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +62 + + +InterfaceGroupIndex +0:2:0:62 + + +InterfaceSubGroupIndex +1 + + + + +etp62b + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +62 + + +InterfaceGroupIndex +0:2:0:62 + + +InterfaceSubGroupIndex +1 + + + + +etp63a + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +63 + + +InterfaceGroupIndex +0:2:0:63 + + +InterfaceSubGroupIndex +1 + + + + +etp63b + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +63 + + +InterfaceGroupIndex +0:2:0:63 + + +InterfaceSubGroupIndex +1 + + + + +etp64a + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +64 + + +InterfaceGroupIndex +0:2:0:64 + + +InterfaceSubGroupIndex +1 + + + + +etp64b + + +LineCardSku +SN-LC + + +SlotIndex +2 + + +ChassisIndex +0 + + +PortIndex +64 + + +InterfaceGroupIndex +0:2:0:64 + + +InterfaceSubGroupIndex +1 + + + + + + +DeviceInterface + +true +1 +mgmt0 +false +mgmt0 + +1000 + + +DeviceInterface + +true +2 +mgmt1 +false +mgmt1 + +1000 + + + + + +DeviceInterface + +true +1 +ps1_12_aux +false +power0 + +0 + +C13 +C13 +false + + +DeviceInterface + +true +2 +ps2_12_aux +false +power1 + +0 + +C13 +C13 +true + + + + +DeviceInterface + +true +1 +ttyS0 +false +console + +9600 + + + + +Mellanox + + +Arista_7260-CX3-64F_1.0.0 +DCS-7260CX3-64 +Arista-7260CX3 + + +DeviceInterface +40000 +true +1 +Ethernet1/1 +false +1/1 + +100000 + + +DeviceInterface +40000 +true +2 +Ethernet2/1 +false +2/1 + +100000 + + +DeviceInterface +40000 +true +3 +Ethernet3/1 +false +3/1 + +100000 + + +DeviceInterface +40000 +true +4 +Ethernet4/1 +false +4/1 + +100000 + + +DeviceInterface +40000 +true +5 +Ethernet5/1 +false +5/1 + +100000 + + +DeviceInterface +40000 +true +6 +Ethernet6/1 +false +6/1 + +100000 + + +DeviceInterface +40000 +true +7 +Ethernet7/1 +false +7/1 + +100000 + + +DeviceInterface +40000 +true +8 +Ethernet8/1 +false +8/1 + +100000 + + +DeviceInterface +40000 +true +9 +Ethernet9/1 +false +9/1 + +100000 + + +DeviceInterface +40000 +true +10 +Ethernet10/1 +false +10/1 + +100000 + + +DeviceInterface +40000 +true +11 +Ethernet11/1 +false +11/1 + +100000 + + +DeviceInterface +40000 +true +12 +Ethernet12/1 +false +12/1 + +100000 + + +DeviceInterface +40000 +true +13 +Ethernet13/1 +false +13/1 + +100000 + + +DeviceInterface +40000 +true +14 +Ethernet14/1 +false +14/1 + +100000 + + +DeviceInterface +40000 +true +15 +Ethernet15/1 +false +15/1 + +100000 + + +DeviceInterface +40000 +true +16 +Ethernet16/1 +false +16/1 + +100000 + + +DeviceInterface +40000 +true +17 +Ethernet17/1 +false +17/1 + +100000 + + +DeviceInterface +40000 +true +18 +Ethernet18/1 +false +18/1 + +100000 + + +DeviceInterface +40000 +true +19 +Ethernet19/1 +false +19/1 + +100000 + + +DeviceInterface +40000 +true +20 +Ethernet20/1 +false +20/1 + +100000 + + +DeviceInterface +40000 +true +21 +Ethernet21/1 +false +21/1 + +100000 + + +DeviceInterface +40000 +true +22 +Ethernet22/1 +false +22/1 + +100000 + + +DeviceInterface +40000 +true +23 +Ethernet23/1 +false +23/1 + +100000 + + +DeviceInterface +40000 +true +24 +Ethernet24/1 +false +24/1 + +100000 + + +DeviceInterface +40000 +true +25 +Ethernet25/1 +false +25/1 + +100000 + + +DeviceInterface +40000 +true +26 +Ethernet26/1 +false +26/1 + +100000 + + +DeviceInterface +40000 +true +27 +Ethernet27/1 +false +27/1 + +100000 + + +DeviceInterface +40000 +true +28 +Ethernet28/1 +false +28/1 + +100000 + + +DeviceInterface +40000 +true +29 +Ethernet29/1 +false +29/1 + +100000 + + +DeviceInterface +40000 +true +30 +Ethernet30/1 +false +30/1 + +100000 + + +DeviceInterface +40000 +true +31 +Ethernet31/1 +false +31/1 + +100000 + + +DeviceInterface +40000 +true +32 +Ethernet32/1 +false +32/1 + +100000 + + +DeviceInterface +40000 +true +33 +Ethernet33/1 +false +33/1 + +100000 + + +DeviceInterface +40000 +true +34 +Ethernet34/1 +false +34/1 + +100000 + + +DeviceInterface +40000 +true +35 +Ethernet35/1 +false +35/1 + +100000 + + +DeviceInterface +40000 +true +36 +Ethernet36/1 +false +36/1 + +100000 + + +DeviceInterface +40000 +true +37 +Ethernet37/1 +false +37/1 + +100000 + + +DeviceInterface +40000 +true +38 +Ethernet38/1 +false +38/1 + +100000 + + +DeviceInterface +40000 +true +39 +Ethernet39/1 +false +39/1 + +100000 + + +DeviceInterface +40000 +true +40 +Ethernet40/1 +false +40/1 + +100000 + + +DeviceInterface +40000 +true +41 +Ethernet41/1 +false +41/1 + +100000 + + +DeviceInterface +40000 +true +42 +Ethernet42/1 +false +42/1 + +100000 + + +DeviceInterface +40000 +true +43 +Ethernet43/1 +false +43/1 + +100000 + + +DeviceInterface +40000 +true +44 +Ethernet44/1 +false +44/1 + +100000 + + +DeviceInterface +40000 +true +45 +Ethernet45/1 +false +45/1 + +100000 + + +DeviceInterface +40000 +true +46 +Ethernet46/1 +false +46/1 + +100000 + + +DeviceInterface +40000 +true +47 +Ethernet47/1 +false +47/1 + +100000 + + +DeviceInterface +40000 +true +48 +Ethernet48/1 +false +48/1 + +100000 + + +DeviceInterface +40000 +true +49 +Ethernet49/1 +false +49/1 + +100000 + + +DeviceInterface +40000 +true +50 +Ethernet50/1 +false +50/1 + +100000 + + +DeviceInterface +40000 +true +51 +Ethernet51/1 +false +51/1 + +100000 + + +DeviceInterface +40000 +true +52 +Ethernet52/1 +false +52/1 + +100000 + + +DeviceInterface +40000 +true +53 +Ethernet53/1 +false +53/1 + +100000 + + +DeviceInterface +40000 +true +54 +Ethernet54/1 +false +54/1 + +100000 + + +DeviceInterface +40000 +true +55 +Ethernet55/1 +false +55/1 + +100000 + + +DeviceInterface +40000 +true +56 +Ethernet56/1 +false +56/1 + +100000 + + +DeviceInterface +40000 +true +57 +Ethernet57/1 +false +57/1 + +100000 + + +DeviceInterface +40000 +true +58 +Ethernet58/1 +false +58/1 + +100000 + + +DeviceInterface +40000 +true +59 +Ethernet59/1 +false +59/1 + +100000 + + +DeviceInterface +40000 +true +60 +Ethernet60/1 +false +60/1 + +100000 + + +DeviceInterface +40000 +true +61 +Ethernet61/1 +false +61/1 + +100000 + + +DeviceInterface +40000 +true +62 +Ethernet62/1 +false +62/1 + +100000 + + +DeviceInterface +40000 +true +63 +Ethernet63/1 +false +63/1 + +100000 + + +DeviceInterface +40000 +true +64 +Ethernet64/1 +false +64/1 + +100000 + + +true +0 +Arista-7260CX3-C64 + + +Ethernet1/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +1 + + +InterfaceGroupIndex +0:1:0:1 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet2/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +2 + + +InterfaceGroupIndex +0:1:0:2 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet3/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +3 + + +InterfaceGroupIndex +0:1:0:3 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet4/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +4 + + +InterfaceGroupIndex +0:1:0:4 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet5/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +5 + + +InterfaceGroupIndex +0:1:0:5 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet6/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +6 + + +InterfaceGroupIndex +0:1:0:6 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet7/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +7 + + +InterfaceGroupIndex +0:1:0:7 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet8/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +8 + + +InterfaceGroupIndex +0:1:0:8 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet9/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +9 + + +InterfaceGroupIndex +0:1:0:9 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet10/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +10 + + +InterfaceGroupIndex +0:1:0:10 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet11/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +11 + + +InterfaceGroupIndex +0:1:0:11 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet12/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +12 + + +InterfaceGroupIndex +0:1:0:12 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet13/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +13 + + +InterfaceGroupIndex +0:1:0:13 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet14/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +14 + + +InterfaceGroupIndex +0:1:0:14 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet15/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +15 + + +InterfaceGroupIndex +0:1:0:15 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet16/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +16 + + +InterfaceGroupIndex +0:1:0:16 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet17/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +17 + + +InterfaceGroupIndex +0:1:0:17 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet18/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +18 + + +InterfaceGroupIndex +0:1:0:18 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet19/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +19 + + +InterfaceGroupIndex +0:1:0:19 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet20/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +20 + + +InterfaceGroupIndex +0:1:0:20 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet21/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +21 + + +InterfaceGroupIndex +0:1:0:21 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet22/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +22 + + +InterfaceGroupIndex +0:1:0:22 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet23/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +23 + + +InterfaceGroupIndex +0:1:0:23 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet24/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +24 + + +InterfaceGroupIndex +0:1:0:24 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet25/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +25 + + +InterfaceGroupIndex +0:1:0:25 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet26/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +26 + + +InterfaceGroupIndex +0:1:0:26 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet27/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +27 + + +InterfaceGroupIndex +0:1:0:27 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet28/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +28 + + +InterfaceGroupIndex +0:1:0:28 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet29/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +29 + + +InterfaceGroupIndex +0:1:0:29 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet30/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +30 + + +InterfaceGroupIndex +0:1:0:30 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet31/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +31 + + +InterfaceGroupIndex +0:1:0:31 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet32/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +32 + + +InterfaceGroupIndex +0:1:0:32 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet33/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +33 + + +InterfaceGroupIndex +0:1:0:33 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet34/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +34 + + +InterfaceGroupIndex +0:1:0:34 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet35/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +35 + + +InterfaceGroupIndex +0:1:0:35 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet36/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +36 + + +InterfaceGroupIndex +0:1:0:36 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet37/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +37 + + +InterfaceGroupIndex +0:1:0:37 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet38/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +38 + + +InterfaceGroupIndex +0:1:0:38 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet39/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +39 + + +InterfaceGroupIndex +0:1:0:39 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet40/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +40 + + +InterfaceGroupIndex +0:1:0:40 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet41/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +41 + + +InterfaceGroupIndex +0:1:0:41 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet42/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +42 + + +InterfaceGroupIndex +0:1:0:42 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet43/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +43 + + +InterfaceGroupIndex +0:1:0:43 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet44/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +44 + + +InterfaceGroupIndex +0:1:0:44 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet45/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +45 + + +InterfaceGroupIndex +0:1:0:45 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet46/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +46 + + +InterfaceGroupIndex +0:1:0:46 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet47/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +47 + + +InterfaceGroupIndex +0:1:0:47 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet48/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +48 + + +InterfaceGroupIndex +0:1:0:48 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet49/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +49 + + +InterfaceGroupIndex +0:1:0:49 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet50/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +50 + + +InterfaceGroupIndex +0:1:0:50 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet51/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +51 + + +InterfaceGroupIndex +0:1:0:51 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet52/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +52 + + +InterfaceGroupIndex +0:1:0:52 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet53/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +53 + + +InterfaceGroupIndex +0:1:0:53 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet54/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +54 + + +InterfaceGroupIndex +0:1:0:54 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet55/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +55 + + +InterfaceGroupIndex +0:1:0:55 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet56/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +56 + + +InterfaceGroupIndex +0:1:0:56 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet57/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +57 + + +InterfaceGroupIndex +0:1:0:57 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet58/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +58 + + +InterfaceGroupIndex +0:1:0:58 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet59/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +59 + + +InterfaceGroupIndex +0:1:0:59 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet60/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +60 + + +InterfaceGroupIndex +0:1:0:60 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet61/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +61 + + +InterfaceGroupIndex +0:1:0:61 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet62/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +62 + + +InterfaceGroupIndex +0:1:0:62 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet63/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +63 + + +InterfaceGroupIndex +0:1:0:63 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet64/1 + + +LineCardSku +7260CX3-64-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +64 + + +InterfaceGroupIndex +0:1:0:64 + + +InterfaceSubGroupIndex +1 + + + + + + +DeviceInterface + +true +1 +Management1 +false +mgmt1 + +1000 + + + + + +DeviceInterface + +true +1 +power0 +false + + +0 + +C13 +C13 +false + + +DeviceInterface + +true +2 +power1 +false + + +0 + +C13 +C13 +true + + + + +DeviceInterface + +true +1 +console +false +console + +9600 + + + + +Arista + + +Arista_7060CX-32S_1.0.0 +DCS-7060CX-32S +Arista-7060CX32S + + +DeviceInterface +40000 +true +1 +Ethernet1/1 +false +1/1 +Ethernet0 +100000 + + +DeviceInterface +40000 +true +2 +Ethernet2/1 +false +2/1 +Ethernet4 +100000 + + +DeviceInterface +40000 +true +3 +Ethernet3/1 +false +3/1 +Ethernet8 +100000 + + +DeviceInterface +40000 +true +4 +Ethernet4/1 +false +4/1 +Ethernet12 +100000 + + +DeviceInterface +40000 +true +5 +Ethernet5/1 +false +5/1 +Ethernet16 +100000 + + +DeviceInterface +40000 +true +6 +Ethernet11/1 +false +11/1 +Ethernet40 +100000 + + +DeviceInterface +40000 +true +7 +Ethernet12/1 +false +12/1 +Ethernet44 +100000 + + +DeviceInterface +40000 +true +8 +Ethernet13/1 +false +13/1 +Ethernet48 +100000 + + +DeviceInterface +40000 +true +9 +Ethernet14/1 +false +14/1 +Ethernet52 +100000 + + +DeviceInterface +40000 +true +10 +Ethernet15/1 +false +15/1 +Ethernet56 +100000 + + +DeviceInterface +40000 +true +11 +Ethernet17/1 +false +17/1 +Ethernet64 +100000 + + +DeviceInterface +40000 +true +12 +Ethernet18/1 +false +18/1 +Ethernet68 +100000 + + +DeviceInterface +40000 +true +13 +Ethernet19/1 +false +19/1 +Ethernet72 +100000 + + +DeviceInterface +40000 +true +14 +Ethernet20/1 +false +20/1 +Ethernet76 +100000 + + +DeviceInterface +40000 +true +15 +Ethernet27/1 +false +27/1 +Ethernet104 +100000 + + +DeviceInterface +40000 +true +16 +Ethernet28/1 +false +28/1 +Ethernet108 +100000 + + +DeviceInterface +40000 +true +17 +Ethernet29/1 +false +29/1 +Ethernet112 +100000 + + +DeviceInterface +40000 +true +18 +Ethernet30/1 +false +30/1 +Ethernet116 +100000 + + +DeviceInterface +40000 +true +19 +Ethernet6/1 +false +6/1 +Ethernet20 +100000 + + +DeviceInterface +40000 +true +20 +Ethernet16/1 +false +16/1 +Ethernet60 +100000 + + +DeviceInterface +40000 +true +21 +Ethernet21/1 +false +21/1 +Ethernet80 +100000 + + +DeviceInterface +40000 +true +22 +Ethernet22/1 +false +22/1 +Ethernet84 +100000 + + +DeviceInterface +40000 +true +23 +Ethernet31/1 +false +31/1 +Ethernet120 +100000 + + +DeviceInterface +40000 +true +24 +Ethernet32/1 +false +32/1 +Ethernet124 +100000 + + +DeviceInterface +40000 +true +25 +Ethernet7/1 +false +7/1 +Ethernet24 +100000 + + +DeviceInterface +40000 +true +26 +Ethernet8/1 +false +8/1 +Ethernet28 +100000 + + +DeviceInterface +40000 +true +27 +Ethernet9/1 +false +9/1 +Ethernet32 +100000 + + +DeviceInterface +40000 +true +28 +Ethernet10/1 +false +10/1 +Ethernet36 +100000 + + +DeviceInterface +40000 +true +29 +Ethernet23/1 +false +23/1 +Ethernet88 +100000 + + +DeviceInterface +40000 +true +30 +Ethernet24/1 +false +24/1 +Ethernet92 +100000 + + +DeviceInterface +40000 +true +31 +Ethernet25/1 +false +25/1 +Ethernet96 +100000 + + +DeviceInterface +40000 +true +32 +Ethernet26/1 +false +26/1 +Ethernet100 +100000 + + +true +0 +Arista-7060CX-32S-C32 + + +Ethernet1/1 + + +LineCardSku +7060-32CDQS-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +1 + + +InterfaceGroupIndex +0:1:0:1 + + +InterfaceSubGroupIndex +1 + + +InterfaceMemoryBufferInfo +DeviceHardwareModeling.DeviceSkuConstructs.MemoryBufferInfo + + + + +Ethernet2/1 + + +LineCardSku +7060-32CDQS-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +2 + + +InterfaceGroupIndex +0:1:0:2 + + +InterfaceSubGroupIndex +1 + + +InterfaceMemoryBufferInfo +DeviceHardwareModeling.DeviceSkuConstructs.MemoryBufferInfo + + + + +Ethernet3/1 + + +LineCardSku +7060-32CDQS-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +3 + + +InterfaceGroupIndex +0:1:0:3 + + +InterfaceSubGroupIndex +1 + + +InterfaceMemoryBufferInfo +DeviceHardwareModeling.DeviceSkuConstructs.MemoryBufferInfo + + + + +Ethernet4/1 + + +LineCardSku +7060-32CDQS-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +4 + + +InterfaceGroupIndex +0:1:0:4 + + +InterfaceSubGroupIndex +1 + + +InterfaceMemoryBufferInfo +DeviceHardwareModeling.DeviceSkuConstructs.MemoryBufferInfo + + + + +Ethernet5/1 + + +LineCardSku +7060-32CDQS-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +5 + + +InterfaceGroupIndex +0:1:0:5 + + +InterfaceSubGroupIndex +1 + + +InterfaceMemoryBufferInfo +DeviceHardwareModeling.DeviceSkuConstructs.MemoryBufferInfo + + + + +Ethernet11/1 + + +LineCardSku +7060-32CDQS-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +11 + + +InterfaceGroupIndex +0:1:0:11 + + +InterfaceSubGroupIndex +1 + + +InterfaceMemoryBufferInfo +DeviceHardwareModeling.DeviceSkuConstructs.MemoryBufferInfo + + + + +Ethernet12/1 + + +LineCardSku +7060-32CDQS-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +12 + + +InterfaceGroupIndex +0:1:0:12 + + +InterfaceSubGroupIndex +1 + + +InterfaceMemoryBufferInfo +DeviceHardwareModeling.DeviceSkuConstructs.MemoryBufferInfo + + + + +Ethernet13/1 + + +LineCardSku +7060-32CDQS-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +13 + + +InterfaceGroupIndex +0:1:0:13 + + +InterfaceSubGroupIndex +1 + + +InterfaceMemoryBufferInfo +DeviceHardwareModeling.DeviceSkuConstructs.MemoryBufferInfo + + + + +Ethernet14/1 + + +LineCardSku +7060-32CDQS-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +14 + + +InterfaceGroupIndex +0:1:0:14 + + +InterfaceSubGroupIndex +1 + + +InterfaceMemoryBufferInfo +DeviceHardwareModeling.DeviceSkuConstructs.MemoryBufferInfo + + + + +Ethernet15/1 + + +LineCardSku +7060-32CDQS-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +15 + + +InterfaceGroupIndex +0:1:0:15 + + +InterfaceSubGroupIndex +1 + + +InterfaceMemoryBufferInfo +DeviceHardwareModeling.DeviceSkuConstructs.MemoryBufferInfo + + + + +Ethernet17/1 + + +LineCardSku +7060-32CDQS-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +17 + + +InterfaceGroupIndex +0:1:0:17 + + +InterfaceSubGroupIndex +1 + + +InterfaceMemoryBufferInfo +DeviceHardwareModeling.DeviceSkuConstructs.MemoryBufferInfo + + + + +Ethernet18/1 + + +LineCardSku +7060-32CDQS-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +18 + + +InterfaceGroupIndex +0:1:0:18 + + +InterfaceSubGroupIndex +1 + + +InterfaceMemoryBufferInfo +DeviceHardwareModeling.DeviceSkuConstructs.MemoryBufferInfo + + + + +Ethernet19/1 + + +LineCardSku +7060-32CDQS-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +19 + + +InterfaceGroupIndex +0:1:0:19 + + +InterfaceSubGroupIndex +1 + + +InterfaceMemoryBufferInfo +DeviceHardwareModeling.DeviceSkuConstructs.MemoryBufferInfo + + + + +Ethernet20/1 + + +LineCardSku +7060-32CDQS-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +20 + + +InterfaceGroupIndex +0:1:0:20 + + +InterfaceSubGroupIndex +1 + + +InterfaceMemoryBufferInfo +DeviceHardwareModeling.DeviceSkuConstructs.MemoryBufferInfo + + + + +Ethernet27/1 + + +LineCardSku +7060-32CDQS-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +27 + + +InterfaceGroupIndex +0:1:0:27 + + +InterfaceSubGroupIndex +1 + + +InterfaceMemoryBufferInfo +DeviceHardwareModeling.DeviceSkuConstructs.MemoryBufferInfo + + + + +Ethernet28/1 + + +LineCardSku +7060-32CDQS-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +28 + + +InterfaceGroupIndex +0:1:0:28 + + +InterfaceSubGroupIndex +1 + + +InterfaceMemoryBufferInfo +DeviceHardwareModeling.DeviceSkuConstructs.MemoryBufferInfo + + + + +Ethernet29/1 + + +LineCardSku +7060-32CDQS-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +29 + + +InterfaceGroupIndex +0:1:0:29 + + +InterfaceSubGroupIndex +1 + + +InterfaceMemoryBufferInfo +DeviceHardwareModeling.DeviceSkuConstructs.MemoryBufferInfo + + + + +Ethernet30/1 + + +LineCardSku +7060-32CDQS-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +30 + + +InterfaceGroupIndex +0:1:0:30 + + +InterfaceSubGroupIndex +1 + + +InterfaceMemoryBufferInfo +DeviceHardwareModeling.DeviceSkuConstructs.MemoryBufferInfo + + + + +Ethernet6/1 + + +LineCardSku +7060-32CDQS-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +6 + + +InterfaceGroupIndex +0:1:0:6 + + +InterfaceSubGroupIndex +1 + + +InterfaceMemoryBufferInfo +DeviceHardwareModeling.DeviceSkuConstructs.MemoryBufferInfo + + + + +Ethernet16/1 + + +LineCardSku +7060-32CDQS-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +16 + + +InterfaceGroupIndex +0:1:0:16 + + +InterfaceSubGroupIndex +1 + + +InterfaceMemoryBufferInfo +DeviceHardwareModeling.DeviceSkuConstructs.MemoryBufferInfo + + + + +Ethernet21/1 + + +LineCardSku +7060-32CDQS-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +21 + + +InterfaceGroupIndex +0:1:0:21 + + +InterfaceSubGroupIndex +1 + + +InterfaceMemoryBufferInfo +DeviceHardwareModeling.DeviceSkuConstructs.MemoryBufferInfo + + + + +Ethernet22/1 + + +LineCardSku +7060-32CDQS-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +22 + + +InterfaceGroupIndex +0:1:0:22 + + +InterfaceSubGroupIndex +1 + + +InterfaceMemoryBufferInfo +DeviceHardwareModeling.DeviceSkuConstructs.MemoryBufferInfo + + + + +Ethernet31/1 + + +LineCardSku +7060-32CDQS-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +31 + + +InterfaceGroupIndex +0:1:0:31 + + +InterfaceSubGroupIndex +1 + + +InterfaceMemoryBufferInfo +DeviceHardwareModeling.DeviceSkuConstructs.MemoryBufferInfo + + + + +Ethernet32/1 + + +LineCardSku +7060-32CDQS-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +32 + + +InterfaceGroupIndex +0:1:0:32 + + +InterfaceSubGroupIndex +1 + + +InterfaceMemoryBufferInfo +DeviceHardwareModeling.DeviceSkuConstructs.MemoryBufferInfo + + + + +Ethernet7/1 + + +LineCardSku +7060-32CDQS-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +7 + + +InterfaceGroupIndex +0:1:0:7 + + +InterfaceSubGroupIndex +1 + + +InterfaceMemoryBufferInfo +DeviceHardwareModeling.DeviceSkuConstructs.MemoryBufferInfo + + + + +Ethernet8/1 + + +LineCardSku +7060-32CDQS-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +8 + + +InterfaceGroupIndex +0:1:0:8 + + +InterfaceSubGroupIndex +1 + + +InterfaceMemoryBufferInfo +DeviceHardwareModeling.DeviceSkuConstructs.MemoryBufferInfo + + + + +Ethernet9/1 + + +LineCardSku +7060-32CDQS-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +9 + + +InterfaceGroupIndex +0:1:0:9 + + +InterfaceSubGroupIndex +1 + + +InterfaceMemoryBufferInfo +DeviceHardwareModeling.DeviceSkuConstructs.MemoryBufferInfo + + + + +Ethernet10/1 + + +LineCardSku +7060-32CDQS-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +10 + + +InterfaceGroupIndex +0:1:0:10 + + +InterfaceSubGroupIndex +1 + + +InterfaceMemoryBufferInfo +DeviceHardwareModeling.DeviceSkuConstructs.MemoryBufferInfo + + + + +Ethernet23/1 + + +LineCardSku +7060-32CDQS-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +23 + + +InterfaceGroupIndex +0:1:0:23 + + +InterfaceSubGroupIndex +1 + + +InterfaceMemoryBufferInfo +DeviceHardwareModeling.DeviceSkuConstructs.MemoryBufferInfo + + + + +Ethernet24/1 + + +LineCardSku +7060-32CDQS-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +24 + + +InterfaceGroupIndex +0:1:0:24 + + +InterfaceSubGroupIndex +1 + + +InterfaceMemoryBufferInfo +DeviceHardwareModeling.DeviceSkuConstructs.MemoryBufferInfo + + + + +Ethernet25/1 + + +LineCardSku +7060-32CDQS-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +25 + + +InterfaceGroupIndex +0:1:0:25 + + +InterfaceSubGroupIndex +1 + + +InterfaceMemoryBufferInfo +DeviceHardwareModeling.DeviceSkuConstructs.MemoryBufferInfo + + + + +Ethernet26/1 + + +LineCardSku +7060-32CDQS-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +26 + + +InterfaceGroupIndex +0:1:0:26 + + +InterfaceSubGroupIndex +1 + + +InterfaceMemoryBufferInfo +DeviceHardwareModeling.DeviceSkuConstructs.MemoryBufferInfo + + + + + + +DeviceInterface + +true +1 +Management1 +false +mgmt0 + +1000 + + + + + +DeviceInterface + +true +1 +power0 +false + + +0 + +C13 +C13 +false + + +DeviceInterface + +true +2 +power1 +false + + +0 + +C13 +C13 +true + + + + +DeviceInterface + +true +1 +console +false +console + +9600 + + + + +Arista + + + +N9K-C9232C +Nexus-9232 + + +DeviceInterface +40000 +true +1 +Ethernet1/1 +false +1 +Ethernet0 +100000 + + +DeviceInterface +40000 +true +2 +Ethernet1/2 +false +2 +Ethernet4 +100000 + + +DeviceInterface +40000 +true +3 +Ethernet1/3 +false +3 +Ethernet8 +100000 + + +DeviceInterface +40000 +true +4 +Ethernet1/4 +false +4 +Ethernet12 +100000 + + +DeviceInterface +40000 +true +5 +Ethernet1/5 +false +5 +Ethernet16 +100000 + + +DeviceInterface +40000 +true +6 +Ethernet1/6 +false +6 +Ethernet20 +100000 + + +DeviceInterface +40000 +true +7 +Ethernet1/7 +false +7 +Ethernet24 +100000 + + +DeviceInterface +40000 +true +8 +Ethernet1/8 +false +8 +Ethernet28 +100000 + + +DeviceInterface +40000 +true +9 +Ethernet1/9 +false +9 +Ethernet32 +100000 + + +DeviceInterface +40000 +true +10 +Ethernet1/10 +false +10 +Ethernet36 +100000 + + +DeviceInterface +40000 +true +11 +Ethernet1/11 +false +11 +Ethernet40 +100000 + + +DeviceInterface +40000 +true +12 +Ethernet1/12 +false +12 +Ethernet44 +100000 + + +DeviceInterface +40000 +true +13 +Ethernet1/13 +false +13 +Ethernet48 +100000 + + +DeviceInterface +40000 +true +14 +Ethernet1/14 +false +14 +Ethernet52 +100000 + + +DeviceInterface +40000 +true +15 +Ethernet1/15 +false +15 +Ethernet56 +100000 + + +DeviceInterface +40000 +true +16 +Ethernet1/16 +false +16 +Ethernet60 +100000 + + +DeviceInterface +40000 +true +17 +Ethernet1/17 +false +17 +Ethernet64 +100000 + + +DeviceInterface +40000 +true +18 +Ethernet1/18 +false +18 +Ethernet68 +100000 + + +DeviceInterface +40000 +true +19 +Ethernet1/19 +false +19 +Ethernet72 +100000 + + +DeviceInterface +40000 +true +20 +Ethernet1/20 +false +20 +Ethernet76 +100000 + + +DeviceInterface +40000 +true +21 +Ethernet1/21 +false +21 +Ethernet80 +100000 + + +DeviceInterface +40000 +true +22 +Ethernet1/22 +false +22 +Ethernet84 +100000 + + +DeviceInterface +40000 +true +23 +Ethernet1/23 +false +23 +Ethernet88 +100000 + + +DeviceInterface +40000 +true +24 +Ethernet1/24 +false +24 +Ethernet92 +100000 + + +DeviceInterface +40000 +true +25 +Ethernet1/25 +false +25 +Ethernet96 +100000 + + +DeviceInterface +40000 +true +26 +Ethernet1/26 +false +26 +Ethernet100 +100000 + + +DeviceInterface +40000 +true +27 +Ethernet1/27 +false +27 +Ethernet104 +100000 + + +DeviceInterface +40000 +true +28 +Ethernet1/28 +false +28 +Ethernet108 +100000 + + +DeviceInterface +40000 +true +29 +Ethernet1/29 +false +29 +Ethernet112 +100000 + + +DeviceInterface +40000 +true +30 +Ethernet1/30 +false +30 +Ethernet116 +100000 + + +DeviceInterface +40000 +true +31 +Ethernet1/31 +false +31 +Ethernet120 +100000 + + +DeviceInterface +40000 +true +32 +Ethernet1/32 +false +32 +Ethernet124 +100000 + + +true +0 +Nexus-9232C + + +Ethernet1/1 + + +LineCardSku +N9K-C9232C-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +1 + + +InterfaceGroupIndex +0:1:0:1 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet1/2 + + +LineCardSku +N9K-C9232C-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +2 + + +InterfaceGroupIndex +0:1:0:2 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet1/3 + + +LineCardSku +N9K-C9232C-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +3 + + +InterfaceGroupIndex +0:1:0:3 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet1/4 + + +LineCardSku +N9K-C9232C-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +4 + + +InterfaceGroupIndex +0:1:0:4 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet1/5 + + +LineCardSku +N9K-C9232C-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +5 + + +InterfaceGroupIndex +0:1:0:5 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet1/6 + + +LineCardSku +N9K-C9232C-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +6 + + +InterfaceGroupIndex +0:1:0:6 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet1/7 + + +LineCardSku +N9K-C9232C-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +7 + + +InterfaceGroupIndex +0:1:0:7 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet1/8 + + +LineCardSku +N9K-C9232C-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +8 + + +InterfaceGroupIndex +0:1:0:8 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet1/9 + + +LineCardSku +N9K-C9232C-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +9 + + +InterfaceGroupIndex +0:1:0:9 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet1/10 + + +LineCardSku +N9K-C9232C-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +10 + + +InterfaceGroupIndex +0:1:0:10 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet1/11 + + +LineCardSku +N9K-C9232C-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +11 + + +InterfaceGroupIndex +0:1:0:11 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet1/12 + + +LineCardSku +N9K-C9232C-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +12 + + +InterfaceGroupIndex +0:1:0:12 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet1/13 + + +LineCardSku +N9K-C9232C-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +13 + + +InterfaceGroupIndex +0:1:0:13 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet1/14 + + +LineCardSku +N9K-C9232C-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +14 + + +InterfaceGroupIndex +0:1:0:14 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet1/15 + + +LineCardSku +N9K-C9232C-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +15 + + +InterfaceGroupIndex +0:1:0:15 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet1/16 + + +LineCardSku +N9K-C9232C-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +16 + + +InterfaceGroupIndex +0:1:0:16 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet1/17 + + +LineCardSku +N9K-C9232C-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +17 + + +InterfaceGroupIndex +0:1:0:17 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet1/18 + + +LineCardSku +N9K-C9232C-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +18 + + +InterfaceGroupIndex +0:1:0:18 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet1/19 + + +LineCardSku +N9K-C9232C-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +19 + + +InterfaceGroupIndex +0:1:0:19 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet1/20 + + +LineCardSku +N9K-C9232C-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +20 + + +InterfaceGroupIndex +0:1:0:20 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet1/21 + + +LineCardSku +N9K-C9232C-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +21 + + +InterfaceGroupIndex +0:1:0:21 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet1/22 + + +LineCardSku +N9K-C9232C-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +22 + + +InterfaceGroupIndex +0:1:0:22 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet1/23 + + +LineCardSku +N9K-C9232C-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +23 + + +InterfaceGroupIndex +0:1:0:23 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet1/24 + + +LineCardSku +N9K-C9232C-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +24 + + +InterfaceGroupIndex +0:1:0:24 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet1/25 + + +LineCardSku +N9K-C9232C-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +25 + + +InterfaceGroupIndex +0:1:0:25 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet1/26 + + +LineCardSku +N9K-C9232C-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +26 + + +InterfaceGroupIndex +0:1:0:26 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet1/27 + + +LineCardSku +N9K-C9232C-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +27 + + +InterfaceGroupIndex +0:1:0:27 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet1/28 + + +LineCardSku +N9K-C9232C-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +28 + + +InterfaceGroupIndex +0:1:0:28 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet1/29 + + +LineCardSku +N9K-C9232C-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +29 + + +InterfaceGroupIndex +0:1:0:29 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet1/30 + + +LineCardSku +N9K-C9232C-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +30 + + +InterfaceGroupIndex +0:1:0:30 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet1/31 + + +LineCardSku +N9K-C9232C-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +31 + + +InterfaceGroupIndex +0:1:0:31 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet1/32 + + +LineCardSku +N9K-C9232C-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +32 + + +InterfaceGroupIndex +0:1:0:32 + + +InterfaceSubGroupIndex +1 + + + + + + +DeviceInterface + +true +1 +mgmt0 +false +mgmt0 + +1000 + + + + + +DeviceInterface + +true +1 +power0 +false + + +0 + +C13 +C13 +false + + +DeviceInterface + +true +2 +power1 +false + + +0 + +C13 +C13 +false + + + + +DeviceInterface + +true +1 +console +false +console + +9600 + + + + +Cisco + + + +DCS-7170-64C + + + +DeviceInterface + +true +1 +Ethernet1/1 +false +1/1 + +100000 + + +DeviceInterface + +true +2 +Ethernet2/1 +false +2/1 + +100000 + + +DeviceInterface + +true +3 +Ethernet3/1 +false +3/1 + +100000 + + +DeviceInterface + +true +4 +Ethernet4/1 +false +4/1 + +100000 + + +DeviceInterface + +true +5 +Ethernet5/1 +false +5/1 + +100000 + + +DeviceInterface + +true +6 +Ethernet6/1 +false +6/1 + +100000 + + +DeviceInterface + +true +7 +Ethernet7/1 +false +7/1 + +100000 + + +DeviceInterface + +true +8 +Ethernet8/1 +false +8/1 + +100000 + + +DeviceInterface + +true +9 +Ethernet9/1 +false +9/1 + +100000 + + +DeviceInterface + +true +10 +Ethernet10/1 +false +10/1 + +100000 + + +DeviceInterface + +true +11 +Ethernet11/1 +false +11/1 + +100000 + + +DeviceInterface + +true +12 +Ethernet12/1 +false +12/1 + +100000 + + +DeviceInterface + +true +13 +Ethernet13/1 +false +13/1 + +100000 + + +DeviceInterface + +true +14 +Ethernet14/1 +false +14/1 + +100000 + + +DeviceInterface + +true +15 +Ethernet15/1 +false +15/1 + +100000 + + +DeviceInterface + +true +16 +Ethernet16/1 +false +16/1 + +100000 + + +DeviceInterface + +true +17 +Ethernet17/1 +false +17/1 + +100000 + + +DeviceInterface + +true +18 +Ethernet18/1 +false +18/1 + +100000 + + +DeviceInterface + +true +19 +Ethernet19/1 +false +19/1 + +100000 + + +DeviceInterface + +true +20 +Ethernet20/1 +false +20/1 + +100000 + + +DeviceInterface + +true +21 +Ethernet21/1 +false +21/1 + +100000 + + +DeviceInterface + +true +22 +Ethernet22/1 +false +22/1 + +100000 + + +DeviceInterface + +true +23 +Ethernet23/1 +false +23/1 + +100000 + + +DeviceInterface + +true +24 +Ethernet24/1 +false +24/1 + +100000 + + +DeviceInterface + +true +25 +Ethernet25/1 +false +25/1 + +100000 + + +DeviceInterface + +true +26 +Ethernet26/1 +false +26/1 + +100000 + + +DeviceInterface + +true +27 +Ethernet27/1 +false +27/1 + +100000 + + +DeviceInterface + +true +28 +Ethernet28/1 +false +28/1 + +100000 + + +DeviceInterface + +true +29 +Ethernet29/1 +false +29/1 + +100000 + + +DeviceInterface + +true +30 +Ethernet30/1 +false +30/1 + +100000 + + +DeviceInterface + +true +31 +Ethernet31/1 +false +31/1 + +100000 + + +DeviceInterface + +true +32 +Ethernet32/1 +false +32/1 + +100000 + + +DeviceInterface + +true +33 +Ethernet33/1 +false +33/1 + +100000 + + +DeviceInterface + +true +34 +Ethernet34/1 +false +34/1 + +100000 + + +DeviceInterface + +true +35 +Ethernet35/1 +false +35/1 + +100000 + + +DeviceInterface + +true +36 +Ethernet36/1 +false +36/1 + +100000 + + +DeviceInterface + +true +37 +Ethernet37/1 +false +37/1 + +100000 + + +DeviceInterface + +true +38 +Ethernet38/1 +false +38/1 + +100000 + + +DeviceInterface + +true +39 +Ethernet39/1 +false +39/1 + +100000 + + +DeviceInterface + +true +40 +Ethernet40/1 +false +40/1 + +100000 + + +DeviceInterface + +true +41 +Ethernet41/1 +false +41/1 + +100000 + + +DeviceInterface + +true +42 +Ethernet42/1 +false +42/1 + +100000 + + +DeviceInterface + +true +43 +Ethernet43/1 +false +43/1 + +100000 + + +DeviceInterface + +true +44 +Ethernet44/1 +false +44/1 + +100000 + + +DeviceInterface + +true +45 +Ethernet45/1 +false +45/1 + +100000 + + +DeviceInterface + +true +46 +Ethernet46/1 +false +46/1 + +100000 + + +DeviceInterface + +true +47 +Ethernet47/1 +false +47/1 + +100000 + + +DeviceInterface + +true +48 +Ethernet48/1 +false +48/1 + +100000 + + +DeviceInterface + +true +49 +Ethernet49/1 +false +49/1 + +100000 + + +DeviceInterface + +true +50 +Ethernet50/1 +false +50/1 + +100000 + + +DeviceInterface + +true +51 +Ethernet51/1 +false +51/1 + +100000 + + +DeviceInterface + +true +52 +Ethernet52/1 +false +52/1 + +100000 + + +DeviceInterface + +true +53 +Ethernet53/1 +false +53/1 + +100000 + + +DeviceInterface + +true +54 +Ethernet54/1 +false +54/1 + +100000 + + +DeviceInterface + +true +55 +Ethernet55/1 +false +55/1 + +100000 + + +DeviceInterface + +true +56 +Ethernet56/1 +false +56/1 + +100000 + + +DeviceInterface + +true +57 +Ethernet57/1 +false +57/1 + +100000 + + +DeviceInterface + +true +58 +Ethernet58/1 +false +58/1 + +100000 + + +DeviceInterface + +true +59 +Ethernet59/1 +false +59/1 + +100000 + + +DeviceInterface + +true +60 +Ethernet60/1 +false +60/1 + +100000 + + +DeviceInterface + +true +61 +Ethernet61/1 +false +61/1 + +100000 + + +DeviceInterface + +true +62 +Ethernet62/1 +false +62/1 + +100000 + + +DeviceInterface + +true +63 +Ethernet63/1 +false +63/1 + +100000 + + +DeviceInterface + +true +64 +Ethernet64/1 +false +64/1 + +100000 + + +DeviceInterface +1000 +true +65 +Ethernet65 +false +65 + +10000 + + +DeviceInterface +1000 +true +66 +Ethernet66 +false +66 + +10000 + + +true +0 +Arista-7170-66CY-F + + +Ethernet1/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +1 + + +InterfaceGroupIndex +0:1:0:1 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet2/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +2 + + +InterfaceGroupIndex +0:1:0:2 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet3/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +3 + + +InterfaceGroupIndex +0:1:0:3 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet4/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +4 + + +InterfaceGroupIndex +0:1:0:4 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet5/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +5 + + +InterfaceGroupIndex +0:1:0:5 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet6/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +6 + + +InterfaceGroupIndex +0:1:0:6 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet7/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +7 + + +InterfaceGroupIndex +0:1:0:7 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet8/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +8 + + +InterfaceGroupIndex +0:1:0:8 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet9/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +9 + + +InterfaceGroupIndex +0:1:0:9 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet10/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +10 + + +InterfaceGroupIndex +0:1:0:10 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet11/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +11 + + +InterfaceGroupIndex +0:1:0:11 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet12/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +12 + + +InterfaceGroupIndex +0:1:0:12 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet13/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +13 + + +InterfaceGroupIndex +0:1:0:13 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet14/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +14 + + +InterfaceGroupIndex +0:1:0:14 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet15/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +15 + + +InterfaceGroupIndex +0:1:0:15 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet16/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +16 + + +InterfaceGroupIndex +0:1:0:16 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet17/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +17 + + +InterfaceGroupIndex +0:1:0:17 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet18/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +18 + + +InterfaceGroupIndex +0:1:0:18 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet19/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +19 + + +InterfaceGroupIndex +0:1:0:19 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet20/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +20 + + +InterfaceGroupIndex +0:1:0:20 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet21/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +21 + + +InterfaceGroupIndex +0:1:0:21 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet22/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +22 + + +InterfaceGroupIndex +0:1:0:22 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet23/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +23 + + +InterfaceGroupIndex +0:1:0:23 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet24/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +24 + + +InterfaceGroupIndex +0:1:0:24 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet25/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +25 + + +InterfaceGroupIndex +0:1:0:25 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet26/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +26 + + +InterfaceGroupIndex +0:1:0:26 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet27/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +27 + + +InterfaceGroupIndex +0:1:0:27 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet28/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +28 + + +InterfaceGroupIndex +0:1:0:28 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet29/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +29 + + +InterfaceGroupIndex +0:1:0:29 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet30/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +30 + + +InterfaceGroupIndex +0:1:0:30 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet31/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +31 + + +InterfaceGroupIndex +0:1:0:31 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet32/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +32 + + +InterfaceGroupIndex +0:1:0:32 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet33/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +33 + + +InterfaceGroupIndex +0:1:0:33 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet34/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +34 + + +InterfaceGroupIndex +0:1:0:34 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet35/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +35 + + +InterfaceGroupIndex +0:1:0:35 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet36/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +36 + + +InterfaceGroupIndex +0:1:0:36 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet37/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +37 + + +InterfaceGroupIndex +0:1:0:37 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet38/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +38 + + +InterfaceGroupIndex +0:1:0:38 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet39/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +39 + + +InterfaceGroupIndex +0:1:0:39 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet40/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +40 + + +InterfaceGroupIndex +0:1:0:40 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet41/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +41 + + +InterfaceGroupIndex +0:1:0:41 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet42/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +42 + + +InterfaceGroupIndex +0:1:0:42 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet43/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +43 + + +InterfaceGroupIndex +0:1:0:43 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet44/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +44 + + +InterfaceGroupIndex +0:1:0:44 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet45/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +45 + + +InterfaceGroupIndex +0:1:0:45 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet46/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +46 + + +InterfaceGroupIndex +0:1:0:46 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet47/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +47 + + +InterfaceGroupIndex +0:1:0:47 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet48/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +48 + + +InterfaceGroupIndex +0:1:0:48 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet49/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +49 + + +InterfaceGroupIndex +0:1:0:49 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet50/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +50 + + +InterfaceGroupIndex +0:1:0:50 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet51/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +51 + + +InterfaceGroupIndex +0:1:0:51 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet52/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +52 + + +InterfaceGroupIndex +0:1:0:52 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet53/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +53 + + +InterfaceGroupIndex +0:1:0:53 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet54/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +54 + + +InterfaceGroupIndex +0:1:0:54 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet55/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +55 + + +InterfaceGroupIndex +0:1:0:55 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet56/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +56 + + +InterfaceGroupIndex +0:1:0:56 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet57/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +57 + + +InterfaceGroupIndex +0:1:0:57 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet58/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +58 + + +InterfaceGroupIndex +0:1:0:58 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet59/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +59 + + +InterfaceGroupIndex +0:1:0:59 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet60/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +60 + + +InterfaceGroupIndex +0:1:0:60 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet61/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +61 + + +InterfaceGroupIndex +0:1:0:61 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet62/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +62 + + +InterfaceGroupIndex +0:1:0:62 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet63/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +63 + + +InterfaceGroupIndex +0:1:0:63 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet64/1 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +64 + + +InterfaceGroupIndex +0:1:0:64 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet65 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +65 + + +InterfaceGroupIndex +0:1:0:65 + + +InterfaceSubGroupIndex +1 + + + + +Ethernet66 + + +LineCardSku +Arista-7170-64CQ-2Y-LC + + +SlotIndex +1 + + +ChassisIndex +0 + + +PortIndex +66 + + +InterfaceGroupIndex +0:1:0:66 + + +InterfaceSubGroupIndex +1 + + + + + + +DeviceInterface + +true +1 +Management1 +false +mgmt1 + +1000 + + + + + +DeviceInterface + +true +1 +power0 +false + + +0 + +C13 +C13 +false + + +DeviceInterface + +true +2 +power1 +false + + +0 + +C13 +C13 +true + + + + +DeviceInterface + +true +1 +console +false +console + +9600 + + + + +Arista + + + +Cisco-2901 +Cisco-2901 + + +DeviceInterface + +true +1 +GigabitEthernet0/0 +false +0,0 + +1000 + + +DeviceInterface + +true +2 +GigabitEthernet0/1 +false +0,1 + +1000 + + +true +0 +Cisco-2901 + + + + + +DeviceInterface + +true +1 +power0 +false +power0 + +0 + +C13 +C13 +false + + + + +DeviceInterface + +true +1 +console +false +0 + +9600 + + + +DeviceInterface + +true +2 +0/0/0 +false +3 + +9600 +2003 + + +DeviceInterface + +true +3 +0/0/1 +false +4 + +9600 +2004 + + +DeviceInterface + +true +4 +0/0/2 +false +5 + +9600 +2005 + + +DeviceInterface + +true +5 +0/0/3 +false +6 + +9600 +2006 + + +DeviceInterface + +true +6 +0/0/4 +false +7 + +9600 +2007 + + +DeviceInterface + +true +7 +0/0/5 +false +8 + +9600 +2008 + + +DeviceInterface + +true +8 +0/0/6 +false +9 + +9600 +2009 + + +DeviceInterface + +true +9 +0/0/7 +false +10 + +9600 +2010 + + +DeviceInterface + +true +10 +0/0/8 +false +11 + +9600 +2011 + + +DeviceInterface + +true +11 +0/0/9 +false +12 + +9600 +2012 + + +DeviceInterface + +true +12 +0/0/10 +false +13 + +9600 +2013 + + +DeviceInterface + +true +13 +0/0/11 +false +14 + +9600 +2014 + + +DeviceInterface + +true +14 +0/0/12 +false +15 + +9600 +2015 + + +DeviceInterface + +true +15 +0/0/13 +false +16 + +9600 +2016 + + +DeviceInterface + +true +16 +0/0/14 +false +17 + +9600 +2017 + + +DeviceInterface + +true +17 +0/0/15 +false +18 + +9600 +2018 + + +DeviceInterface + +true +18 +0/1/0 +false +19 + +9600 +2019 + + +DeviceInterface + +true +19 +0/1/1 +false +20 + +9600 +2020 + + +DeviceInterface + +true +20 +0/1/2 +false +21 + +9600 +2021 + + +DeviceInterface + +true +21 +0/1/3 +false +22 + +9600 +2022 + + +DeviceInterface + +true +22 +0/1/4 +false +23 + +9600 +2023 + + +DeviceInterface + +true +23 +0/1/5 +false +24 + +9600 +2024 + + +DeviceInterface + +true +24 +0/1/6 +false +25 + +9600 +2025 + + +DeviceInterface + +true +25 +0/1/7 +false +26 + +9600 +2026 + + +DeviceInterface + +true +26 +0/1/8 +false +27 + +9600 +2027 + + +DeviceInterface + +true +27 +0/1/9 +false +28 + +9600 +2028 + + +DeviceInterface + +true +28 +0/1/10 +false +29 + +9600 +2029 + + +DeviceInterface + +true +29 +0/1/11 +false +30 + +9600 +2030 + + +DeviceInterface + +true +30 +0/1/12 +false +31 + +9600 +2031 + + +DeviceInterface + +true +31 +0/1/13 +false +32 + +9600 +2032 + + +DeviceInterface + +true +32 +0/1/14 +false +33 + +9600 +2033 + + +DeviceInterface + +true +33 +0/1/15 +false +34 + +9600 +2034 + + +DeviceInterface + +true +34 +0/2/0 +false +35 + +9600 +2035 + + +DeviceInterface + +true +35 +0/2/1 +false +36 + +9600 +2036 + + +DeviceInterface + +true +36 +0/2/2 +false +37 + +9600 +2037 + + +DeviceInterface + +true +37 +0/2/3 +false +38 + +9600 +2038 + + +DeviceInterface + +true +38 +0/2/4 +false +39 + +9600 +2039 + + +DeviceInterface + +true +39 +0/2/5 +false +40 + +9600 +2040 + + +DeviceInterface + +true +40 +0/2/6 +false +41 + +9600 +2041 + + +DeviceInterface + +true +41 +0/2/7 +false +42 + +9600 +2042 + + +DeviceInterface + +true +42 +0/2/8 +false +43 + +9600 +2043 + + +DeviceInterface + +true +43 +0/2/9 +false +44 + +9600 +2044 + + +DeviceInterface + +true +44 +0/2/10 +false +45 + +9600 +2045 + + +DeviceInterface + +true +45 +0/2/11 +false +46 + +9600 +2046 + + +DeviceInterface + +true +46 +0/2/12 +false +47 + +9600 +2047 + + +DeviceInterface + +true +47 +0/2/13 +false +48 + +9600 +2048 + + +DeviceInterface + +true +48 +0/2/14 +false +49 + +9600 +2049 + + +DeviceInterface + +true +49 +0/2/15 +false +50 + +9600 +2050 + + +DeviceInterface + +true +50 +0/3/0 +false +51 + +9600 +2051 + + +DeviceInterface + +true +51 +0/3/1 +false +52 + +9600 +2052 + + +DeviceInterface + +true +52 +0/3/2 +false +53 + +9600 +2053 + + +DeviceInterface + +true +53 +0/3/3 +false +54 + +9600 +2054 + + +DeviceInterface + +true +54 +0/3/4 +false +55 + +9600 +2055 + + +DeviceInterface + +true +55 +0/3/5 +false +56 + +9600 +2056 + + +DeviceInterface + +true +56 +0/3/6 +false +57 + +9600 +2057 + + +DeviceInterface + +true +57 +0/3/7 +false +58 + +9600 +2058 + + +DeviceInterface + +true +58 +0/3/8 +false +59 + +9600 +2059 + + +DeviceInterface + +true +59 +0/3/9 +false +60 + +9600 +2060 + + +DeviceInterface + +true +60 +0/3/10 +false +61 + +9600 +2061 + + +DeviceInterface + +true +61 +0/3/11 +false +62 + +9600 +2062 + + +DeviceInterface + +true +62 +0/3/12 +false +63 + +9600 +2063 + + +DeviceInterface + +true +63 +0/3/13 +false +64 + +9600 +2064 + + +DeviceInterface + +true +64 +0/3/14 +false +65 + +9600 +2065 + + +DeviceInterface + +true +65 +0/3/15 +false +66 + +9600 +2066 + + +DeviceInterface + +true +66 +1/0 +false +67 + +9600 +2067 + + +DeviceInterface + +true +67 +1/1 +false +68 + +9600 +2068 + + +DeviceInterface + +true +68 +1/2 +false +69 + +9600 +2069 + + +DeviceInterface + +true +69 +1/3 +false +70 + +9600 +2070 + + +DeviceInterface + +true +70 +1/4 +false +71 + +9600 +2071 + + +DeviceInterface + +true +71 +1/5 +false +72 + +9600 +2072 + + +DeviceInterface + +true +72 +1/6 +false +73 + +9600 +2073 + + +DeviceInterface + +true +73 +1/7 +false +74 + +9600 +2074 + + +DeviceInterface + +true +74 +1/8 +false +75 + +9600 +2075 + + +DeviceInterface + +true +75 +1/9 +false +76 + +9600 +2076 + + +DeviceInterface + +true +76 +1/10 +false +77 + +9600 +2077 + + +DeviceInterface + +true +77 +1/11 +false +78 + +9600 +2078 + + +DeviceInterface + +true +78 +1/12 +false +79 + +9600 +2079 + + +DeviceInterface + +true +79 +1/13 +false +80 + +9600 +2080 + + +DeviceInterface + +true +80 +1/14 +false +81 + +9600 +2081 + + +DeviceInterface + +true +81 +1/15 +false +82 + +9600 +2082 + + +DeviceInterface + +true +82 +1/16 +false +83 + +9600 +2083 + + +DeviceInterface + +true +83 +1/17 +false +84 + +9600 +2084 + + +DeviceInterface + +true +84 +1/18 +false +85 + +9600 +2085 + + +DeviceInterface + +true +85 +1/19 +false +86 + +9600 +2086 + + +DeviceInterface + +true +86 +1/20 +false +87 + +9600 +2087 + + +DeviceInterface + +true +87 +1/21 +false +88 + +9600 +2088 + + +DeviceInterface + +true +88 +1/22 +false +89 + +9600 +2089 + + +DeviceInterface + +true +89 +1/23 +false +90 + +9600 +2090 + + +DeviceInterface + +true +90 +1/24 +false +91 + +9600 +2091 + + +DeviceInterface + +true +91 +1/25 +false +92 + +9600 +2092 + + +DeviceInterface + +true +92 +1/26 +false +93 + +9600 +2093 + + +DeviceInterface + +true +93 +1/27 +false +94 + +9600 +2094 + + +DeviceInterface + +true +94 +1/28 +false +95 + +9600 +2095 + + +DeviceInterface + +true +95 +1/29 +false +96 + +9600 +2096 + + +DeviceInterface + +true +96 +1/30 +false +97 + +9600 +2097 + + +DeviceInterface + +true +97 +1/31 +false +98 + +9600 +2098 + + + +Cisco + + + + + + + +LoopbackInterface +HostIP +Loopback0 + +100.3.152.32/32 + +100.3.152.32/32 + + +LoopbackInterface +HostIP1 +Loopback0 + +dfc0:100:3:11::/128 + +dfc0:100:3:11::/128 + + +LoopbackInterface +HostIP2 +Loopback1 + +100.3.162.199/32 + +100.3.162.199/32 + + + + +ManagementInterface +ManagementIP +mgmt0 + +10.3.152.32/24 + +10.3.152.32/24 + + + + + + +str-dcfx-t0-1-06 + + +PortChannelInterface +PortChannel1 +etp29;etp30;etp31;etp32 + + + +PortChannelInterface +PortChannel2 +etp23;etp24;etp21;etp22 + + + +PortChannelInterface +PortChannel3 +etp17;etp18;etp19;etp20 + + + +PortChannelInterface +PortChannel4 +etp57;etp58;etp59;etp60 + + + + + + + +IPInterface + +PortChannel1 +20.152.11.9/31 + + +IPInterface + +PortChannel1 +dfc0::20:0:0:16/126 + + +IPInterface + +PortChannel2 +20.152.11.69/31 + + +IPInterface + +PortChannel2 +dfc0::20:0:0:10e/126 + + +IPInterface + +PortChannel3 +20.152.11.137/31 + + +IPInterface + +PortChannel3 +dfc0::20:0:0:216/126 + + +IPInterface + +PortChannel4 +20.152.11.201/31 + + +IPInterface + +PortChannel4 +dfc0::20:0:0:316/126 + + + + + +DataAcl + +ERSPAN +everflow +Everflow + + + +DataAcl + +ERSPANv6 +everflowV6 +Everflow + + + +DataAcl + +SNMP +IPV6-SNMP_ACL +SNMP + + + +DataAcl + +SNMP +SNMP_ACL +SNMP + + + +DataAcl + +VTY_LINE +ipv6-ssh-only +SSH + + + +DataAcl + +VTY_LINE +ssh-only +SSH + + + + + + + + + + + + + + + +str-dcfx-t0-1-06 + + +AclTemplate + +SonicAzMgmtAcl.xml + + +CloudType + +Public + + +ConfigDbAclFile + +SonicNativeAzAcl.liquid + + +ConfigTemplateFile + +Sonic.xml + + +DcCode + +STR + + +DeploymentId + +2 + + +ErspanDestinationIpv4 + +10.20.6.4 + + +FirmwareProfile + +SONiC-Mellanox-2700 + + +Function + +LabTest + + +GlobalUtilityNodeRanges + +10.48.64.0/20 + + +GNSDefaultRanges + +10.20.0.0/19;10.20.192.0/18 + + +Group + +str:-686395378:2 + + +InitConfigTemplateFile + +Sonic.init.xml + + +Location + +STR + + +NtpResources + +10.20.8.129;10.20.8.130 + + +RemoteAuthenticationProtocol + +Tacacs + + +RootAccountSecretSecurityLevel + +5 + + +SnmpResources + +10.52.180.165;10.3.157.12 + + +SonicConfigTemplateFile + +Sonic.xml + + +SonicEnabled + +True + + +SyslogResources + +10.20.6.16;10.3.157.12 + + +TacacsSecurityLevel + +7 + + +TacacsServer + +10.3.145.15;10.3.145.14 + + +UtilityNodeRanges + +10.208.239.0/25 + + +WaNetMonServerIPs + +10.203.65.200/32;10.203.65.201/32 + + +OsVersion + +SONiC.20181130.74 + + + + + + + + + +DeviceInterfaceLink +100000 +false +str-dcfx-t1-1-01 +Ethernet26/1 +true +str-dcfx-t0-1-06 +etp29 +true + + +DeviceInterfaceLink +100000 +false +str-dcfx-t1-1-01 +Ethernet27/1 +true +str-dcfx-t0-1-06 +etp30 +true + + +DeviceInterfaceLink +100000 +false +str-dcfx-t1-1-01 +Ethernet28/1 +true +str-dcfx-t0-1-06 +etp31 +true + + +DeviceInterfaceLink +100000 +false +str-dcfx-t1-1-01 +Ethernet29/1 +true +str-dcfx-t0-1-06 +etp32 +true + + +DeviceInterfaceLink +100000 +false +str-dcfx-t1-1-02 +Ethernet25/1 +true +str-dcfx-t0-1-06 +etp21 +true + + +DeviceInterfaceLink +100000 +false +str-dcfx-t1-1-02 +Ethernet26/1 +true +str-dcfx-t0-1-06 +etp22 +true + + +DeviceInterfaceLink +100000 +false +str-dcfx-t1-1-02 +Ethernet27/1 +true +str-dcfx-t0-1-06 +etp23 +true + + +DeviceInterfaceLink +100000 +false +str-dcfx-t1-1-02 +Ethernet28/1 +true +str-dcfx-t0-1-06 +etp24 +true + + +DeviceInterfaceLink +100000 +false +str-dcfx-t1-1-03 +Ethernet1/27 +true +str-dcfx-t0-1-06 +etp17 +true + + +DeviceInterfaceLink +100000 +false +str-dcfx-t1-1-03 +Ethernet1/28 +true +str-dcfx-t0-1-06 +etp18 +true + + +DeviceInterfaceLink +100000 +false +str-dcfx-t1-1-03 +Ethernet1/29 +true +str-dcfx-t0-1-06 +etp19 +true + + +DeviceInterfaceLink +100000 +false +str-dcfx-t1-1-03 +Ethernet1/30 +true +str-dcfx-t0-1-06 +etp20 +true + + +DeviceInterfaceLink +100000 +false +str-dcfx-t1-1-05 +Ethernet25/1 +true +str-dcfx-t0-1-06 +etp57 +true + + +DeviceInterfaceLink +100000 +false +str-dcfx-t1-1-05 +Ethernet26/1 +true +str-dcfx-t0-1-06 +etp58 +true + + +DeviceInterfaceLink +100000 +false +str-dcfx-t1-1-05 +Ethernet27/1 +true +str-dcfx-t0-1-06 +etp59 +true + + +DeviceInterfaceLink +100000 +false +str-dcfx-t1-1-05 +Ethernet28/1 +true +str-dcfx-t0-1-06 +etp60 +true + + +DeviceSerialLink +9600 +false +str-ts202-be05 +0/1/2 +true +str-dcfx-t0-1-06 +ttyS0 +true +2021 + + + + +ToRRouter +
+100.3.152.32/32 +
+ +dfc0:100:3:11::/128 + + +Unprovisioned +None + +2 + +STR + +10.3.152.32/24 + + +::/0 + + +str-dcfx-t0-1-06 +Mellanox-SN3800-D28C50_NEW +
+ +LeafRouter +
+100.3.152.57/32 +
+ +dfc0:100:3:1::/128 + + +StarLab2 +None + +2 + +STR + +10.3.152.57/24 + + +::/0 + + +str-dcfx-t1-1-01 +Arista-7260CX3-C64 +
+ +LeafRouter +
+100.3.152.55/32 +
+ +dfc0:100:3:3::/128 + + +StarLab2 +None + +2 + +STR + +10.3.152.55/24 + + +::/0 + +SGD19341484 +str-dcfx-t1-1-02 +Arista-7060CX-32S-C32 +
+ +LeafRouter +
+100.3.152.53/32 +
+ +dfc0:100:3:5::/128 + + +Unprovisioned +None + +2 + +STR + +10.3.152.53/24 + + +::/0 + + +str-dcfx-t1-1-03 +Nexus-9232C +
+ +LeafRouter +
+100.3.152.104/32 +
+ +dfc0:100:3:8::/128 + + +Unprovisioned +None + +2 + +STR + +10.3.152.104/24 + + +::/0 + + +str-dcfx-t1-1-05 +Arista-7170-66CY-F +
+ +MiniTs +
+10.3.159.202/32 +
+ +::/0 + + +Unprovisioned +None + +3 + +STR + +0.0.0.0/0 + + +::/0 + +FTX1804800N +str-ts202-be05 +Cisco-2901 +
+
+
+str-dcfx-t0-1-06 +Mellanox-SN3800-D28C50_NEW +
diff --git a/tests/sku_create_input/ACS-MSN2700/pg_profile_lookup.ini b/tests/sku_create_input/ACS-MSN2700/pg_profile_lookup.ini deleted file mode 100644 index b66b129fe43f..000000000000 --- a/tests/sku_create_input/ACS-MSN2700/pg_profile_lookup.ini +++ /dev/null @@ -1,17 +0,0 @@ -# PG lossless profiles. -# speed cable size xon xoff threshold - 10000 5m 34816 18432 16384 0 - 25000 5m 34816 18432 16384 0 - 40000 5m 34816 18432 16384 0 - 50000 5m 34816 18432 16384 0 - 100000 5m 36864 18432 18432 0 - 10000 40m 36864 18432 18432 0 - 25000 40m 39936 18432 21504 0 - 40000 40m 41984 18432 23552 0 - 50000 40m 41984 18432 23552 0 - 100000 40m 54272 18432 35840 0 - 10000 300m 49152 18432 30720 0 - 25000 300m 71680 18432 53248 0 - 40000 300m 94208 18432 75776 0 - 50000 300m 94208 18432 75776 0 - 100000 300m 184320 18432 165888 0 diff --git a/tests/sku_create_input/ACS-MSN2700/port_config.ini b/tests/sku_create_input/ACS-MSN2700/port_config.ini deleted file mode 100644 index 1e1906ff0ef5..000000000000 --- a/tests/sku_create_input/ACS-MSN2700/port_config.ini +++ /dev/null @@ -1,33 +0,0 @@ -# name lanes alias -Ethernet0 0,1,2,3 etp1 -Ethernet4 4,5,6,7 etp2 -Ethernet8 8,9,10,11 etp3 -Ethernet12 12,13,14,15 etp4 -Ethernet16 16,17,18,19 etp5 -Ethernet20 20,21,22,23 etp6 -Ethernet24 24,25,26,27 etp7 -Ethernet28 28,29,30,31 etp8 -Ethernet32 32,33,34,35 etp9 -Ethernet36 36,37,38,39 etp10 -Ethernet40 40,41,42,43 etp11 -Ethernet44 44,45,46,47 etp12 -Ethernet48 48,49,50,51 etp13 -Ethernet52 52,53,54,55 etp14 -Ethernet56 56,57,58,59 etp15 -Ethernet60 60,61,62,63 etp16 -Ethernet64 64,65,66,67 etp17 -Ethernet68 68,69,70,71 etp18 -Ethernet72 72,73,74,75 etp19 -Ethernet76 76,77,78,79 etp20 -Ethernet80 80,81,82,83 etp21 -Ethernet84 84,85,86,87 etp22 -Ethernet88 88,89,90,91 etp23 -Ethernet92 92,93,94,95 etp24 -Ethernet96 96,97,98,99 etp25 -Ethernet100 100,101,102,103 etp26 -Ethernet104 104,105,106,107 etp27 -Ethernet108 108,109,110,111 etp28 -Ethernet112 112,113,114,115 etp29 -Ethernet116 116,117,118,119 etp30 -Ethernet120 120,121,122,123 etp31 -Ethernet124 124,125,126,127 etp32 diff --git a/tests/sku_create_input/ACS-MSN2700/qos.json b/tests/sku_create_input/ACS-MSN2700/qos.json deleted file mode 100644 index 3e01af3f2c64..000000000000 --- a/tests/sku_create_input/ACS-MSN2700/qos.json +++ /dev/null @@ -1,166 +0,0 @@ -{ - "TC_TO_PRIORITY_GROUP_MAP": { - "AZURE": { - "0": "0", - "1": "1", - "3": "3", - "4": "4" - } - }, - "MAP_PFC_PRIORITY_TO_QUEUE": { - "AZURE": { - "0": "0", - "1": "1", - "3": "3", - "4": "4" - } - }, - "TC_TO_QUEUE_MAP": { - "AZURE": { - "0": "0", - "1": "1", - "3": "3", - "4": "4" - } - }, - "DSCP_TO_TC_MAP": { - "AZURE": { - "0":"0", - "1":"0", - "2":"0", - "3":"3", - "4":"4", - "5":"0", - "6":"0", - "7":"0", - "8":"1", - "9":"0", - "10":"0", - "11":"0", - "12":"0", - "13":"0", - "14":"0", - "15":"0", - "16":"0", - "17":"0", - "18":"0", - "19":"0", - "20":"0", - "21":"0", - "22":"0", - "23":"0", - "24":"0", - "25":"0", - "26":"0", - "27":"0", - "28":"0", - "29":"0", - "30":"0", - "31":"0", - "32":"0", - "33":"0", - "34":"0", - "35":"0", - "36":"0", - "37":"0", - "38":"0", - "39":"0", - "40":"0", - "41":"0", - "42":"0", - "43":"0", - "44":"0", - "45":"0", - "46":"0", - "47":"0", - "48":"0", - "49":"0", - "50":"0", - "51":"0", - "52":"0", - "53":"0", - "54":"0", - "55":"0", - "56":"0", - "57":"0", - "58":"0", - "59":"0", - "60":"0", - "61":"0", - "62":"0", - "63":"0" - } - }, - "SCHEDULER": { - "scheduler.0": { - "type":"DWRR", - "weight": "25" - }, - "scheduler.1": { - "type":"DWRR", - "weight": "30" - }, - "scheduler.2": { - "type":"DWRR", - "weight": "20" - } - }, - "PFC_PRIORITY_TO_PRIORITY_GROUP_MAP": { - "AZURE": { - "0": "0", - "1": "1", - "3": "3", - "4": "4" - } - }, - "PORT_QOS_MAP": { - "Ethernet0,Ethernet4,Ethernet8,Ethernet12,Ethernet16,Ethernet20,Ethernet24,Ethernet28,Ethernet32,Ethernet36,Ethernet40,Ethernet44,Ethernet48,Ethernet52,Ethernet56,Ethernet60,Ethernet64,Ethernet68,Ethernet72,Ethernet76,Ethernet80,Ethernet84,Ethernet88,Ethernet92,Ethernet96,Ethernet100,Ethernet104,Ethernet108,Ethernet112,Ethernet116,Ethernet120,Ethernet124": { - "dscp_to_tc_map" : "[DSCP_TO_TC_MAP|AZURE]", - "tc_to_queue_map" : "[TC_TO_QUEUE_MAP|AZURE]", - "tc_to_pg_map" : "[TC_TO_PRIORITY_GROUP_MAP|AZURE]", - "pfc_to_queue_map": "[MAP_PFC_PRIORITY_TO_QUEUE|AZURE]", - "pfc_to_pg_map" : "[PFC_PRIORITY_TO_PRIORITY_GROUP_MAP|AZURE]", - "pfc_enable": "3,4" - } - }, - "WRED_PROFILE": { - "AZURE_LOSSY": { - "wred_green_enable":"true", - "wred_yellow_enable":"true", - "ecn":"ecn_all", - "red_max_threshold":"516096", - "red_min_threshold":"516096", - "yellow_max_threshold":"516096", - "yellow_min_threshold":"516096", - "green_max_threshold": "184320", - "green_min_threshold": "184320" - }, - "AZURE_LOSSLESS": { - "wred_green_enable":"true", - "wred_yellow_enable":"true", - "ecn":"ecn_all", - "red_max_threshold":"516096", - "red_min_threshold":"516096", - "yellow_max_threshold":"516096", - "yellow_min_threshold":"516096", - "green_max_threshold": "184320", - "green_min_threshold": "184320" - } - }, - "QUEUE": { - "Ethernet0,Ethernet4,Ethernet8,Ethernet12,Ethernet16,Ethernet20,Ethernet24,Ethernet28,Ethernet32,Ethernet36,Ethernet40,Ethernet44,Ethernet48,Ethernet52,Ethernet56,Ethernet60,Ethernet64,Ethernet68,Ethernet72,Ethernet76,Ethernet80,Ethernet84,Ethernet88,Ethernet92,Ethernet96,Ethernet100,Ethernet104,Ethernet108,Ethernet112,Ethernet116,Ethernet120,Ethernet124|0": { - "scheduler" : "[SCHEDULER|scheduler.1]" - }, - "Ethernet0,Ethernet4,Ethernet8,Ethernet12,Ethernet16,Ethernet20,Ethernet24,Ethernet28,Ethernet32,Ethernet36,Ethernet40,Ethernet44,Ethernet48,Ethernet52,Ethernet56,Ethernet60,Ethernet64,Ethernet68,Ethernet72,Ethernet76,Ethernet80,Ethernet84,Ethernet88,Ethernet92,Ethernet96,Ethernet100,Ethernet104,Ethernet108,Ethernet112,Ethernet116,Ethernet120,Ethernet124|1": { - "scheduler" : "[SCHEDULER|scheduler.2]" - }, - "Ethernet0,Ethernet4,Ethernet8,Ethernet12,Ethernet16,Ethernet20,Ethernet24,Ethernet28,Ethernet32,Ethernet36,Ethernet40,Ethernet44,Ethernet48,Ethernet52,Ethernet56,Ethernet60,Ethernet64,Ethernet68,Ethernet72,Ethernet76,Ethernet80,Ethernet84,Ethernet88,Ethernet92,Ethernet96,Ethernet100,Ethernet104,Ethernet108,Ethernet112,Ethernet116,Ethernet120,Ethernet124|0-1": { - "wred_profile" : "[WRED_PROFILE|AZURE_LOSSY]" - }, - "Ethernet0,Ethernet4,Ethernet8,Ethernet12,Ethernet16,Ethernet20,Ethernet24,Ethernet28,Ethernet32,Ethernet36,Ethernet40,Ethernet44,Ethernet48,Ethernet52,Ethernet56,Ethernet60,Ethernet64,Ethernet68,Ethernet72,Ethernet76,Ethernet80,Ethernet84,Ethernet88,Ethernet92,Ethernet96,Ethernet100,Ethernet104,Ethernet108,Ethernet112,Ethernet116,Ethernet120,Ethernet124|3-4": { - "scheduler" : "[SCHEDULER|scheduler.0]", - "wred_profile" : "[WRED_PROFILE|AZURE_LOSSLESS]" - } - } -} - diff --git a/tests/sku_create_input/ACS-MSN2700/sai.profile b/tests/sku_create_input/ACS-MSN2700/sai.profile deleted file mode 100644 index 9a9a38aeb068..000000000000 --- a/tests/sku_create_input/ACS-MSN2700/sai.profile +++ /dev/null @@ -1 +0,0 @@ -SAI_INIT_CONFIG_FILE=/usr/share/sai_2700.xml diff --git a/tests/sku_create_input/Mellanox-SN2700-D48C8/pg_profile_lookup.ini b/tests/sku_create_input/Mellanox-SN2700-D48C8/pg_profile_lookup.ini deleted file mode 100644 index b66b129fe43f..000000000000 --- a/tests/sku_create_input/Mellanox-SN2700-D48C8/pg_profile_lookup.ini +++ /dev/null @@ -1,17 +0,0 @@ -# PG lossless profiles. -# speed cable size xon xoff threshold - 10000 5m 34816 18432 16384 0 - 25000 5m 34816 18432 16384 0 - 40000 5m 34816 18432 16384 0 - 50000 5m 34816 18432 16384 0 - 100000 5m 36864 18432 18432 0 - 10000 40m 36864 18432 18432 0 - 25000 40m 39936 18432 21504 0 - 40000 40m 41984 18432 23552 0 - 50000 40m 41984 18432 23552 0 - 100000 40m 54272 18432 35840 0 - 10000 300m 49152 18432 30720 0 - 25000 300m 71680 18432 53248 0 - 40000 300m 94208 18432 75776 0 - 50000 300m 94208 18432 75776 0 - 100000 300m 184320 18432 165888 0 diff --git a/tests/sku_create_input/Mellanox-SN2700-D48C8/port_config.ini b/tests/sku_create_input/Mellanox-SN2700-D48C8/port_config.ini deleted file mode 100644 index f9f465f1a3ea..000000000000 --- a/tests/sku_create_input/Mellanox-SN2700-D48C8/port_config.ini +++ /dev/null @@ -1,57 +0,0 @@ -# name lanes alias index speed -Ethernet0 0,1 etp1a 0 50000 -Ethernet2 2,3 etp1b 0 50000 -Ethernet4 4,5 etp2a 1 50000 -Ethernet6 6,7 etp2b 1 50000 -Ethernet8 8,9 etp3a 2 50000 -Ethernet10 10,11 etp3b 2 50000 -Ethernet12 12,13 etp4a 3 50000 -Ethernet14 14,15 etp4b 3 50000 -Ethernet16 16,17 etp5a 4 50000 -Ethernet18 18,19 etp5b 4 50000 -Ethernet20 20,21 etp6a 5 50000 -Ethernet22 22,23 etp6b 5 50000 -Ethernet24 24,25,26,27 etp7 6 100000 -Ethernet28 28,29,30,31 etp8 7 100000 -Ethernet32 32,33,34,35 etp9 8 100000 -Ethernet36 36,37,38,39 etp10 9 100000 -Ethernet40 40,41 etp11a 10 50000 -Ethernet42 42,43 etp11b 10 50000 -Ethernet44 44,45 etp12a 11 50000 -Ethernet46 46,47 etp12b 11 50000 -Ethernet48 48,49 etp13a 12 50000 -Ethernet50 50,51 etp13b 12 50000 -Ethernet52 52,53 etp14a 13 50000 -Ethernet54 54,55 etp14b 13 50000 -Ethernet56 56,57 etp15a 14 50000 -Ethernet58 58,59 etp15b 14 50000 -Ethernet60 60,61 etp16a 15 50000 -Ethernet62 62,63 etp16b 15 50000 -Ethernet64 64,65 etp17a 16 50000 -Ethernet66 66,67 etp17b 16 50000 -Ethernet68 68,69 etp18a 17 50000 -Ethernet70 70,71 etp18b 17 50000 -Ethernet72 72,73 etp19a 18 50000 -Ethernet74 74,75 etp19b 18 50000 -Ethernet76 76,77 etp20a 19 50000 -Ethernet78 78,79 etp20b 19 50000 -Ethernet80 80,81 etp21a 20 50000 -Ethernet82 82,83 etp21b 20 50000 -Ethernet84 84,85 etp22a 21 50000 -Ethernet86 86,87 etp22b 21 50000 -Ethernet88 88,89,90,91 etp23 22 100000 -Ethernet92 92,93,94,95 etp24 23 100000 -Ethernet96 96,97,98,99 etp25 24 100000 -Ethernet100 100,101,102,103 etp26 25 100000 -Ethernet104 104,105 etp27a 26 50000 -Ethernet106 106,107 etp27b 26 50000 -Ethernet108 108,109 etp28a 27 50000 -Ethernet110 110,111 etp28b 27 50000 -Ethernet112 112,113 etp29a 28 50000 -Ethernet114 114,115 etp29b 28 50000 -Ethernet116 116,117 etp30a 29 50000 -Ethernet118 118,119 etp30b 29 50000 -Ethernet120 120,121 etp31a 30 50000 -Ethernet122 122,123 etp31b 30 50000 -Ethernet124 124,125 etp32a 31 50000 -Ethernet126 126,127 etp32b 31 50000 diff --git a/tests/sku_create_input/Mellanox-SN2700-D48C8/port_config.ini.bak b/tests/sku_create_input/Mellanox-SN2700-D48C8/port_config.ini.bak deleted file mode 100644 index f9f465f1a3ea..000000000000 --- a/tests/sku_create_input/Mellanox-SN2700-D48C8/port_config.ini.bak +++ /dev/null @@ -1,57 +0,0 @@ -# name lanes alias index speed -Ethernet0 0,1 etp1a 0 50000 -Ethernet2 2,3 etp1b 0 50000 -Ethernet4 4,5 etp2a 1 50000 -Ethernet6 6,7 etp2b 1 50000 -Ethernet8 8,9 etp3a 2 50000 -Ethernet10 10,11 etp3b 2 50000 -Ethernet12 12,13 etp4a 3 50000 -Ethernet14 14,15 etp4b 3 50000 -Ethernet16 16,17 etp5a 4 50000 -Ethernet18 18,19 etp5b 4 50000 -Ethernet20 20,21 etp6a 5 50000 -Ethernet22 22,23 etp6b 5 50000 -Ethernet24 24,25,26,27 etp7 6 100000 -Ethernet28 28,29,30,31 etp8 7 100000 -Ethernet32 32,33,34,35 etp9 8 100000 -Ethernet36 36,37,38,39 etp10 9 100000 -Ethernet40 40,41 etp11a 10 50000 -Ethernet42 42,43 etp11b 10 50000 -Ethernet44 44,45 etp12a 11 50000 -Ethernet46 46,47 etp12b 11 50000 -Ethernet48 48,49 etp13a 12 50000 -Ethernet50 50,51 etp13b 12 50000 -Ethernet52 52,53 etp14a 13 50000 -Ethernet54 54,55 etp14b 13 50000 -Ethernet56 56,57 etp15a 14 50000 -Ethernet58 58,59 etp15b 14 50000 -Ethernet60 60,61 etp16a 15 50000 -Ethernet62 62,63 etp16b 15 50000 -Ethernet64 64,65 etp17a 16 50000 -Ethernet66 66,67 etp17b 16 50000 -Ethernet68 68,69 etp18a 17 50000 -Ethernet70 70,71 etp18b 17 50000 -Ethernet72 72,73 etp19a 18 50000 -Ethernet74 74,75 etp19b 18 50000 -Ethernet76 76,77 etp20a 19 50000 -Ethernet78 78,79 etp20b 19 50000 -Ethernet80 80,81 etp21a 20 50000 -Ethernet82 82,83 etp21b 20 50000 -Ethernet84 84,85 etp22a 21 50000 -Ethernet86 86,87 etp22b 21 50000 -Ethernet88 88,89,90,91 etp23 22 100000 -Ethernet92 92,93,94,95 etp24 23 100000 -Ethernet96 96,97,98,99 etp25 24 100000 -Ethernet100 100,101,102,103 etp26 25 100000 -Ethernet104 104,105 etp27a 26 50000 -Ethernet106 106,107 etp27b 26 50000 -Ethernet108 108,109 etp28a 27 50000 -Ethernet110 110,111 etp28b 27 50000 -Ethernet112 112,113 etp29a 28 50000 -Ethernet114 114,115 etp29b 28 50000 -Ethernet116 116,117 etp30a 29 50000 -Ethernet118 118,119 etp30b 29 50000 -Ethernet120 120,121 etp31a 30 50000 -Ethernet122 122,123 etp31b 30 50000 -Ethernet124 124,125 etp32a 31 50000 -Ethernet126 126,127 etp32b 31 50000 diff --git a/tests/sku_create_input/Mellanox-SN2700-D48C8/port_config.ini.new b/tests/sku_create_input/Mellanox-SN2700-D48C8/port_config.ini.new deleted file mode 100644 index 49322c57cca9..000000000000 --- a/tests/sku_create_input/Mellanox-SN2700-D48C8/port_config.ini.new +++ /dev/null @@ -1,60 +0,0 @@ -# name lanes alias index speed -Ethernet0 0,1 etp1a 0 50000 -Ethernet2 2,3 etp1b 0 50000 -Ethernet4 4,5 etp2a 1 50000 -Ethernet6 6,7 etp2b 1 50000 -Ethernet8 8,9 etp3a 2 50000 -Ethernet10 10,11 etp3b 2 50000 -Ethernet12 12,13 etp4a 3 50000 -Ethernet14 14,15 etp4b 3 50000 -Ethernet16 16,17 etp5a 4 50000 -Ethernet18 18,19 etp5b 4 50000 -Ethernet20 20,21 etp6a 5 50000 -Ethernet22 22,23 etp6b 5 50000 -Ethernet24 24,25,26,27 etp7 6 100000 -Ethernet28 28,29,30,31 etp8 7 100000 -Ethernet32 32 etp9a 8 25000 -Ethernet33 33 etp9b 8 25000 -Ethernet34 34 etp9c 8 25000 -Ethernet35 35 etp9d 8 25000 -Ethernet36 36,37,38,39 etp10 9 100000 -Ethernet40 40,41 etp11a 10 50000 -Ethernet42 42,43 etp11b 10 50000 -Ethernet44 44,45 etp12a 11 50000 -Ethernet46 46,47 etp12b 11 50000 -Ethernet48 48,49 etp13a 12 50000 -Ethernet50 50,51 etp13b 12 50000 -Ethernet52 52,53 etp14a 13 50000 -Ethernet54 54,55 etp14b 13 50000 -Ethernet56 56,57 etp15a 14 50000 -Ethernet58 58,59 etp15b 14 50000 -Ethernet60 60,61 etp16a 15 50000 -Ethernet62 62,63 etp16b 15 50000 -Ethernet64 64,65 etp17a 16 50000 -Ethernet66 66,67 etp17b 16 50000 -Ethernet68 68,69 etp18a 17 50000 -Ethernet70 70,71 etp18b 17 50000 -Ethernet72 72,73 etp19a 18 50000 -Ethernet74 74,75 etp19b 18 50000 -Ethernet76 76,77 etp20a 19 50000 -Ethernet78 78,79 etp20b 19 50000 -Ethernet80 80,81 etp21a 20 50000 -Ethernet82 82,83 etp21b 20 50000 -Ethernet84 84,85 etp22a 21 50000 -Ethernet86 86,87 etp22b 21 50000 -Ethernet88 88,89,90,91 etp23 22 100000 -Ethernet92 92,93,94,95 etp24 23 100000 -Ethernet96 96,97,98,99 etp25 24 100000 -Ethernet100 100,101,102,103 etp26 25 100000 -Ethernet104 104,105 etp27a 26 50000 -Ethernet106 106,107 etp27b 26 50000 -Ethernet108 108,109 etp28a 27 50000 -Ethernet110 110,111 etp28b 27 50000 -Ethernet112 112,113 etp29a 28 50000 -Ethernet114 114,115 etp29b 28 50000 -Ethernet116 116,117 etp30a 29 50000 -Ethernet118 118,119 etp30b 29 50000 -Ethernet120 120,121 etp31a 30 50000 -Ethernet122 122,123 etp31b 30 50000 -Ethernet124 124,125 etp32a 31 50000 -Ethernet126 126,127 etp32b 31 50000 diff --git a/tests/sku_create_input/Mellanox-SN2700-D48C8/port_config.ini.orig b/tests/sku_create_input/Mellanox-SN2700-D48C8/port_config.ini.orig deleted file mode 100644 index f9f465f1a3ea..000000000000 --- a/tests/sku_create_input/Mellanox-SN2700-D48C8/port_config.ini.orig +++ /dev/null @@ -1,57 +0,0 @@ -# name lanes alias index speed -Ethernet0 0,1 etp1a 0 50000 -Ethernet2 2,3 etp1b 0 50000 -Ethernet4 4,5 etp2a 1 50000 -Ethernet6 6,7 etp2b 1 50000 -Ethernet8 8,9 etp3a 2 50000 -Ethernet10 10,11 etp3b 2 50000 -Ethernet12 12,13 etp4a 3 50000 -Ethernet14 14,15 etp4b 3 50000 -Ethernet16 16,17 etp5a 4 50000 -Ethernet18 18,19 etp5b 4 50000 -Ethernet20 20,21 etp6a 5 50000 -Ethernet22 22,23 etp6b 5 50000 -Ethernet24 24,25,26,27 etp7 6 100000 -Ethernet28 28,29,30,31 etp8 7 100000 -Ethernet32 32,33,34,35 etp9 8 100000 -Ethernet36 36,37,38,39 etp10 9 100000 -Ethernet40 40,41 etp11a 10 50000 -Ethernet42 42,43 etp11b 10 50000 -Ethernet44 44,45 etp12a 11 50000 -Ethernet46 46,47 etp12b 11 50000 -Ethernet48 48,49 etp13a 12 50000 -Ethernet50 50,51 etp13b 12 50000 -Ethernet52 52,53 etp14a 13 50000 -Ethernet54 54,55 etp14b 13 50000 -Ethernet56 56,57 etp15a 14 50000 -Ethernet58 58,59 etp15b 14 50000 -Ethernet60 60,61 etp16a 15 50000 -Ethernet62 62,63 etp16b 15 50000 -Ethernet64 64,65 etp17a 16 50000 -Ethernet66 66,67 etp17b 16 50000 -Ethernet68 68,69 etp18a 17 50000 -Ethernet70 70,71 etp18b 17 50000 -Ethernet72 72,73 etp19a 18 50000 -Ethernet74 74,75 etp19b 18 50000 -Ethernet76 76,77 etp20a 19 50000 -Ethernet78 78,79 etp20b 19 50000 -Ethernet80 80,81 etp21a 20 50000 -Ethernet82 82,83 etp21b 20 50000 -Ethernet84 84,85 etp22a 21 50000 -Ethernet86 86,87 etp22b 21 50000 -Ethernet88 88,89,90,91 etp23 22 100000 -Ethernet92 92,93,94,95 etp24 23 100000 -Ethernet96 96,97,98,99 etp25 24 100000 -Ethernet100 100,101,102,103 etp26 25 100000 -Ethernet104 104,105 etp27a 26 50000 -Ethernet106 106,107 etp27b 26 50000 -Ethernet108 108,109 etp28a 27 50000 -Ethernet110 110,111 etp28b 27 50000 -Ethernet112 112,113 etp29a 28 50000 -Ethernet114 114,115 etp29b 28 50000 -Ethernet116 116,117 etp30a 29 50000 -Ethernet118 118,119 etp30b 29 50000 -Ethernet120 120,121 etp31a 30 50000 -Ethernet122 122,123 etp31b 30 50000 -Ethernet124 124,125 etp32a 31 50000 -Ethernet126 126,127 etp32b 31 50000 diff --git a/tests/sku_create_input/Mellanox-SN2700-D48C8/qos.json b/tests/sku_create_input/Mellanox-SN2700-D48C8/qos.json deleted file mode 100644 index d35f614de635..000000000000 --- a/tests/sku_create_input/Mellanox-SN2700-D48C8/qos.json +++ /dev/null @@ -1,166 +0,0 @@ -{ - "TC_TO_PRIORITY_GROUP_MAP": { - "AZURE": { - "0": "0", - "1": "1", - "3": "3", - "4": "4" - } - }, - "MAP_PFC_PRIORITY_TO_QUEUE": { - "AZURE": { - "0": "0", - "1": "1", - "3": "3", - "4": "4" - } - }, - "TC_TO_QUEUE_MAP": { - "AZURE": { - "0": "0", - "1": "1", - "3": "3", - "4": "4" - } - }, - "DSCP_TO_TC_MAP": { - "AZURE": { - "0":"0", - "1":"0", - "2":"0", - "3":"3", - "4":"4", - "5":"0", - "6":"0", - "7":"0", - "8":"1", - "9":"0", - "10":"0", - "11":"0", - "12":"0", - "13":"0", - "14":"0", - "15":"0", - "16":"0", - "17":"0", - "18":"0", - "19":"0", - "20":"0", - "21":"0", - "22":"0", - "23":"0", - "24":"0", - "25":"0", - "26":"0", - "27":"0", - "28":"0", - "29":"0", - "30":"0", - "31":"0", - "32":"0", - "33":"0", - "34":"0", - "35":"0", - "36":"0", - "37":"0", - "38":"0", - "39":"0", - "40":"0", - "41":"0", - "42":"0", - "43":"0", - "44":"0", - "45":"0", - "46":"0", - "47":"0", - "48":"0", - "49":"0", - "50":"0", - "51":"0", - "52":"0", - "53":"0", - "54":"0", - "55":"0", - "56":"0", - "57":"0", - "58":"0", - "59":"0", - "60":"0", - "61":"0", - "62":"0", - "63":"0" - } - }, - "SCHEDULER": { - "scheduler.0": { - "type":"DWRR", - "weight": "25" - }, - "scheduler.1": { - "type":"DWRR", - "weight": "30" - }, - "scheduler.2": { - "type":"DWRR", - "weight": "20" - } - }, - "PFC_PRIORITY_TO_PRIORITY_GROUP_MAP": { - "AZURE": { - "0": "0", - "1": "1", - "3": "3", - "4": "4" - } - }, - "PORT_QOS_MAP": { - "Ethernet8,Ethernet2,Ethernet0,Ethernet6,Ethernet4,Ethernet108,Ethernet100,Ethernet104,Ethernet106,Ethernet58,Ethernet126,Ethernet96,Ethernet124,Ethernet122,Ethernet92,Ethernet120,Ethernet50,Ethernet52,Ethernet54,Ethernet56,Ethernet76,Ethernet74,Ethernet18,Ethernet70,Ethernet32,Ethernet72,Ethernet16,Ethernet36,Ethernet78,Ethernet60,Ethernet28,Ethernet62,Ethernet14,Ethernet88,Ethernet118,Ethernet24,Ethernet116,Ethernet82,Ethernet114,Ethernet80,Ethernet112,Ethernet86,Ethernet110,Ethernet84,Ethernet48,Ethernet10,Ethernet44,Ethernet42,Ethernet40,Ethernet64,Ethernet66,Ethernet12,Ethernet46,Ethernet20,Ethernet22,Ethernet68": { - "dscp_to_tc_map" : "[DSCP_TO_TC_MAP|AZURE]", - "tc_to_queue_map" : "[TC_TO_QUEUE_MAP|AZURE]", - "tc_to_pg_map" : "[TC_TO_PRIORITY_GROUP_MAP|AZURE]", - "pfc_to_queue_map": "[MAP_PFC_PRIORITY_TO_QUEUE|AZURE]", - "pfc_to_pg_map" : "[PFC_PRIORITY_TO_PRIORITY_GROUP_MAP|AZURE]", - "pfc_enable": "3,4" - } - }, - "WRED_PROFILE": { - "AZURE_LOSSY": { - "wred_green_enable":"true", - "wred_yellow_enable":"true", - "ecn":"ecn_all", - "red_max_threshold":"516096", - "red_min_threshold":"516096", - "yellow_max_threshold":"516096", - "yellow_min_threshold":"516096", - "green_max_threshold": "184320", - "green_min_threshold": "184320" - }, - "AZURE_LOSSLESS": { - "wred_green_enable":"true", - "wred_yellow_enable":"true", - "ecn":"ecn_all", - "red_max_threshold":"516096", - "red_min_threshold":"516096", - "yellow_max_threshold":"516096", - "yellow_min_threshold":"516096", - "green_max_threshold": "184320", - "green_min_threshold": "184320" - } - }, - "QUEUE": { - "Ethernet8,Ethernet2,Ethernet0,Ethernet6,Ethernet4,Ethernet108,Ethernet100,Ethernet104,Ethernet106,Ethernet58,Ethernet126,Ethernet96,Ethernet124,Ethernet122,Ethernet92,Ethernet120,Ethernet50,Ethernet52,Ethernet54,Ethernet56,Ethernet76,Ethernet74,Ethernet18,Ethernet70,Ethernet32,Ethernet72,Ethernet16,Ethernet36,Ethernet78,Ethernet60,Ethernet28,Ethernet62,Ethernet14,Ethernet88,Ethernet118,Ethernet24,Ethernet116,Ethernet82,Ethernet114,Ethernet80,Ethernet112,Ethernet86,Ethernet110,Ethernet84,Ethernet48,Ethernet10,Ethernet44,Ethernet42,Ethernet40,Ethernet64,Ethernet66,Ethernet12,Ethernet46,Ethernet20,Ethernet22,Ethernet68|0": { - "scheduler" : "[SCHEDULER|scheduler.1]" - }, - "Ethernet8,Ethernet2,Ethernet0,Ethernet6,Ethernet4,Ethernet108,Ethernet100,Ethernet104,Ethernet106,Ethernet58,Ethernet126,Ethernet96,Ethernet124,Ethernet122,Ethernet92,Ethernet120,Ethernet50,Ethernet52,Ethernet54,Ethernet56,Ethernet76,Ethernet74,Ethernet18,Ethernet70,Ethernet32,Ethernet72,Ethernet16,Ethernet36,Ethernet78,Ethernet60,Ethernet28,Ethernet62,Ethernet14,Ethernet88,Ethernet118,Ethernet24,Ethernet116,Ethernet82,Ethernet114,Ethernet80,Ethernet112,Ethernet86,Ethernet110,Ethernet84,Ethernet48,Ethernet10,Ethernet44,Ethernet42,Ethernet40,Ethernet64,Ethernet66,Ethernet12,Ethernet46,Ethernet20,Ethernet22,Ethernet68|1": { - "scheduler" : "[SCHEDULER|scheduler.2]" - }, - "Ethernet0,Ethernet4,Ethernet8,Ethernet12,Ethernet16,Ethernet20,Ethernet24,Ethernet28,Ethernet32,Ethernet36,Ethernet40,Ethernet44,Ethernet48,Ethernet52,Ethernet56,Ethernet60,Ethernet64,Ethernet68,Ethernet72,Ethernet76,Ethernet80,Ethernet84,Ethernet88,Ethernet92,Ethernet96,Ethernet100,Ethernet104,Ethernet108,Ethernet112,Ethernet116,Ethernet120,Ethernet124|0-1": { - "wred_profile" : "[WRED_PROFILE|AZURE_LOSSY]" - }, - "Ethernet8,Ethernet2,Ethernet0,Ethernet6,Ethernet4,Ethernet108,Ethernet100,Ethernet104,Ethernet106,Ethernet58,Ethernet126,Ethernet96,Ethernet124,Ethernet122,Ethernet92,Ethernet120,Ethernet50,Ethernet52,Ethernet54,Ethernet56,Ethernet76,Ethernet74,Ethernet18,Ethernet70,Ethernet32,Ethernet72,Ethernet16,Ethernet36,Ethernet78,Ethernet60,Ethernet28,Ethernet62,Ethernet14,Ethernet88,Ethernet118,Ethernet24,Ethernet116,Ethernet82,Ethernet114,Ethernet80,Ethernet112,Ethernet86,Ethernet110,Ethernet84,Ethernet48,Ethernet10,Ethernet44,Ethernet42,Ethernet40,Ethernet64,Ethernet66,Ethernet12,Ethernet46,Ethernet20,Ethernet22,Ethernet68|3-4": { - "scheduler" : "[SCHEDULER|scheduler.0]", - "wred_profile" : "[WRED_PROFILE|AZURE_LOSSLESS]" - } - } -} - diff --git a/tests/sku_create_input/port_split_files/test b/tests/sku_create_input/port_split_files/test new file mode 100644 index 000000000000..a49b65d26dd1 --- /dev/null +++ b/tests/sku_create_input/port_split_files/test @@ -0,0 +1 @@ +this is a test file for maintaining the port_split_files directory in git diff --git a/tests/sku_create_input/port_unsplit_files/test b/tests/sku_create_input/port_unsplit_files/test new file mode 100644 index 000000000000..1b8a1eae2297 --- /dev/null +++ b/tests/sku_create_input/port_unsplit_files/test @@ -0,0 +1 @@ +this is a test file for maintaining port_unsplit_files directory in git diff --git a/tests/sku_create_test.py b/tests/sku_create_test.py index a948b26a1e67..27e65bb0f573 100644 --- a/tests/sku_create_test.py +++ b/tests/sku_create_test.py @@ -1,3 +1,4 @@ +import json import os import re import shutil @@ -9,12 +10,30 @@ test_path = os.path.dirname(os.path.abspath(__file__)) modules_path = os.path.dirname(test_path) scripts_path = os.path.join(modules_path, "scripts") -input_path = os.path.join(modules_path, "tests/sku_create_input") -output_dir_path = os.path.join(modules_path, "tests/sku_create_input/Mellanox-SN2700-D48C8_NEW") -sku_def_file = os.path.join(input_path, "Mellanox-SN2700-D48C8.xml") +xml_input_path = os.path.join(modules_path, "tests/sku_create_input/2700_files") +output_xml_dir_path = os.path.join(modules_path, "tests/sku_create_input/2700_files/Mellanox-SN2700-D48C8_NEW/") +sku_def_file = os.path.join(xml_input_path, "Mellanox-SN2700-D48C8.xml") +output_xml_file_path = os.path.join(modules_path, "tests/sku_create_input/2700_files/Mellanox-SN2700-D48C8_NEW/port_config.ini") +model_xml_file_path = os.path.join(modules_path, "tests/sku_create_input/2700_files/Mellanox-SN2700-D48C8/port_config.ini") +minigraph_input_path = os.path.join(modules_path, "tests/sku_create_input/3800_files") +output_minigraph_dir_path = os.path.join(modules_path, "tests/sku_create_input/3800_files/Mellanox-SN3800-D28C50_NEW/") +minigraph_file = os.path.join(minigraph_input_path, "t0-1-06-minigraph.xml") +output_minigraph_file_path = os.path.join(modules_path, "tests/sku_create_input/3800_files/Mellanox-SN3800-D28C50_NEW/port_config.ini") +model_minigraph_file_path = os.path.join(modules_path, "tests/sku_create_input/3800_files/Mellanox-SN3800-D28C50/port_config.ini") +config_db_input_path = os.path.join(modules_path, "tests/sku_create_input/2700_files") +output_config_db_dir_path = os.path.join(modules_path, "tests/sku_create_input/2700_files/Mellanox-SN2700-C28D8/") +config_db_file = os.path.join(config_db_input_path, "config_db.json") +output_config_db_file_path = os.path.join(modules_path, "tests/sku_create_input/2700_files/Mellanox-SN2700-C28D8/port_config.ini") +model_config_db_file_path = os.path.join(modules_path, "tests/sku_create_input/2700_files/Mellanox-SN2700-C28D8-ORIG/port_config.ini") +port_split_input_path = os.path.join(modules_path, "tests/sku_create_input/2700_files") +port_split_output_path = os.path.join(modules_path, "tests/sku_create_input/port_split_files") +port_split_config_db_output_file_path = os.path.join(port_split_output_path, "config_db.json") +port_split_pc_ini_file_output_path = os.path.join(port_split_output_path, "port_config.ini") +port_unsplit_input_path = os.path.join(modules_path, "tests/sku_create_input/2700_files") +port_unsplit_output_path = os.path.join(modules_path, "tests/sku_create_input/port_unsplit_files") +port_unsplit_config_db_output_file_path = os.path.join(port_unsplit_output_path, "config_db.json") +port_unsplit_pc_ini_file_output_path = os.path.join(port_unsplit_output_path, "port_config.ini") sku_create_script = "sonic_sku_create.py" -output_file_path = os.path.join(modules_path, "tests/sku_create_input/Mellanox-SN2700-D48C8_NEW/port_config.ini") -model_file_path = os.path.join(modules_path, "tests/sku_create_input/Mellanox-SN2700-D48C8/port_config.ini") sys.path.insert(0, test_path) sys.path.insert(0, modules_path) @@ -23,7 +42,6 @@ class TestSkuCreate(object): @classmethod def setup_class(cls): os.environ["PATH"] += os.pathsep + scripts_path - os.environ["UTILITIES_UNIT_TESTING"] = "1" def are_file_contents_same(self,fname1,fname2): #Open the file for reading in text mode (default mode) @@ -51,30 +69,197 @@ def are_file_contents_same(self,fname1,fname2): f2.close() return True - def test_no_param(self): - if (os.path.exists(output_dir_path)): - shutil.rmtree(output_dir_path) + def test_sku_from_xml_file(self): + if (os.path.exists(output_xml_dir_path)): + shutil.rmtree(output_xml_dir_path) - my_command = sku_create_script + " -f " + sku_def_file + " -d " + input_path + my_command = sku_create_script + " -f " + sku_def_file + " -d " + xml_input_path #Test case execution without stdout - result = subprocess.check_output(my_command, stderr=subprocess.STDOUT, shell=True, text=True) + result = subprocess.check_output(my_command,stderr=subprocess.STDOUT,shell=True) print(result) #Check if the Output file exists - if (os.path.exists(output_file_path)): - print("Output file: ",output_file_path,"exists. SUCCESS!") + if (os.path.exists(output_xml_file_path)): + print("Output file: ",output_xml_file_path, "exists. SUCCESS!") else: - pytest.fail("Output file: {} does not exist. FAILURE!".format(output_file_path)) + pytest.fail("Output file: {} does not exist. FAILURE!".format(output_xml_file_path)) #Check if the Output file and the model file have same contents - if self.are_file_contents_same(output_file_path,model_file_path) == True: - print("Output file: ",output_file_path," and model file: ",model_file_path,"contents are same. SUCCESS!") + if self.are_file_contents_same(output_xml_file_path, model_xml_file_path) == True: + print("Output file: ",output_xml_file_path, " and model file: ",model_xml_file_path, "contents are same. SUCCESS!") else: - pytest.fail("Output file: {} and model file: {} contents are not same. FAILURE!".format(output_file_path,model_file_path)) + pytest.fail("Output file: {} and model file: {} contents are not same. FAILURE!".format(output_xml_file_path, model_xml_file_path)) + + def test_sku_from_minigraph_file(self): + if (os.path.exists(output_minigraph_dir_path)): + shutil.rmtree(output_minigraph_dir_path) + + my_command = sku_create_script + " -m " + minigraph_file + " -d " + minigraph_input_path + + #Test case execution without stdout + result = subprocess.check_output(my_command,stderr=subprocess.STDOUT,shell=True) + print(result) + + #Check if the Output file exists + if (os.path.exists(output_minigraph_file_path)): + print("Output file: ",output_minigraph_file_path, "exists. SUCCESS!") + else: + pytest.fail("Output file: {} does not exist. FAILURE!".format(output_minigraph_file_path)) + + #Check if the Output file and the model file have same contents + if self.are_file_contents_same(output_minigraph_file_path, model_minigraph_file_path) == True: + print("Output file: ",output_minigraph_file_path, " and model file: ",model_minigraph_file_path, "contents are same. SUCCESS!") + else: + pytest.fail("Output file: {} and model file: {} contents are not same. FAILURE!".format(output_minigraph_file_path, model_minigraph_file_path)) + + def test_sku_from_config_db_file(self): + if (os.path.exists(output_config_db_dir_path)): + shutil.rmtree(output_config_db_dir_path) + + my_command = sku_create_script + " -j " + config_db_file + " -d " + config_db_input_path + + #Test case execution without stdout + result = subprocess.check_output(my_command,stderr=subprocess.STDOUT,shell=True) + print(result) + + #Check if the Output file exists + if (os.path.exists(output_config_db_file_path)): + print("Output file: ",output_config_db_file_path, "exists. SUCCESS!") + else: + pytest.fail("Output file: {} does not exist. FAILURE!".format(output_config_db_file_path)) + + #Check if the Output file and the model file have same contents + if self.are_file_contents_same(output_config_db_file_path, model_config_db_file_path) == True: + print("Output file: ",output_config_db_file_path, " and model file: ",model_config_db_file_path, "contents are same. SUCCESS!") + else: + pytest.fail("Output file: {} and model file: {} contents are not same. FAILURE!".format(output_config_db_file_path, model_config_db_file_path)) + + def test_sku_port_split(self): + if (not os.path.exists(config_db_file)): + pytest.fail("Input config_db.json file does not exist. Exitting...") + return + else: + shutil.copyfile(config_db_file, port_split_config_db_output_file_path) + + if (not os.path.exists(model_config_db_file_path)): + pytest.fail("Input port_config.ini file does not exist. Exitting...") + return + else: + shutil.copyfile(model_config_db_file_path, port_split_pc_ini_file_output_path) + + my_command = sku_create_script + " -s Ethernet16 2x50 -d " + port_split_input_path + " -q " + port_split_output_path + + #Test case execution without stdout + result = subprocess.check_output(my_command,stderr=subprocess.STDOUT,shell=True) + print(result) + + #Verify the output of port_config.ini file + eth16_found = False + eth18_found = False + + f_in = open(port_split_pc_ini_file_output_path, 'r') + + for line in f_in.readlines(): + port_info = line.split() + eth16_info = ['Ethernet16', '16,17', 'etp5a', '5', '50000'] + eth18_info = ['Ethernet18', '18,19', 'etp5b', '5', '50000'] + + if port_info == eth16_info: + eth16_found = True + + if port_info == eth18_info: + eth18_found = True + + if eth16_found and eth18_found: + break + + if eth16_found and eth18_found: + print("Success: Port split information found in port_config.ini file") + else: + pytest.fail("Failure: Port split information not found in port_config.ini file") + return + + #Verify the output of config_db.json + with open(port_split_config_db_output_file_path) as f: + data = json.load(f) + + eth16_dict = {u'alias': u'etp5a', u'lanes': u'16,17', u'speed': 50000, u'mtu': u'9100'} + eth16_instance = data['PORT'].get("Ethernet16") + if eth16_instance is None: + pytest.fail("Failure: Port split information not found in config_db.json file") + return + else: + if eth16_instance != eth16_dict: + pytest.fail("Failure: Port split information not found in config_db.json file") + return + + eth18_dict = {u'alias': u'etp5b', u'lanes': u'18,19', u'speed': 50000, u'mtu': u'9100'} + eth18_instance = data['PORT'].get("Ethernet18") + if eth18_instance is None: + pytest.fail("Failure: Port split information not found in config_db.json file") + return + else: + if eth18_instance != eth18_dict: + pytest.fail("Failure: Port split information not found in config_db.json file") + return + + print("Success: Port split information found in config_db.json file") + + def test_sku_port_unsplit(self): + if (not os.path.exists(config_db_file)): + pytest.fail("Input config_db.json file does not exist. Exitting...") + return + else: + shutil.copyfile(config_db_file, port_unsplit_config_db_output_file_path) + + if (not os.path.exists(model_config_db_file_path)): + pytest.fail("Input port_config.ini file does not exist. Exitting...") + return + else: + shutil.copyfile(model_config_db_file_path, port_unsplit_pc_ini_file_output_path) + + my_command = sku_create_script + " -s Ethernet112 1x100 -d " + port_unsplit_input_path + " -q " + port_unsplit_output_path + + #Test case execution without stdout + result = subprocess.check_output(my_command,stderr=subprocess.STDOUT,shell=True) + print(result) + + #Verify the output of port_config.ini file + eth112_found = False + + f_in = open(port_unsplit_pc_ini_file_output_path, 'r') + + for line in f_in.readlines(): + port_info = line.split() + eth112_info = ['Ethernet112', '112,113,114,115', 'etp29', '29', '100000'] + if port_info == eth112_info: + eth112_found = True + break + + if eth112_found: + print("Success: Port split information found in port_config.ini file") + else: + pytest.fail("Failure: Port split information not found in port_config.ini file") + return + + #Verify the output of config_db.json + with open(port_unsplit_config_db_output_file_path) as f: + data = json.load(f) + + eth112_dict = {'alias': 'etp29', 'lanes': '112,113,114,115', 'speed': 100000, 'mtu': u'9100'} + eth112_instance = data['PORT'].get("Ethernet112") + if eth112_instance is None: + pytest.fail("Failure: Port split information not found in config_db.json file") + return + else: + if eth112_instance != eth112_dict: + pytest.fail("Failure: Port split information not found in config_db.json file") + return + + print("Success: Port split information found in config_db.json file") @classmethod def teardown_class(cls): print("TEARDOWN") os.environ["PATH"] = os.pathsep.join(os.environ["PATH"].split(os.pathsep)[:-1]) - os.environ["UTILITIES_UNIT_TESTING"] = "0"