diff --git a/scripts/db_migrator.py b/scripts/db_migrator.py index c094ea742346..5e159fc3eb5a 100755 --- a/scripts/db_migrator.py +++ b/scripts/db_migrator.py @@ -44,7 +44,7 @@ def __init__(self, namespace, socket=None): none-zero values. build: sequentially increase within a minor version domain. """ - self.CURRENT_VERSION = 'version_2_0_3' + self.CURRENT_VERSION = 'version_2_0_4' self.TABLE_NAME = 'VERSIONS' self.TABLE_KEY = 'DATABASE' @@ -76,7 +76,7 @@ def __init__(self, namespace, socket=None): if asic_type == "mellanox": from mellanox_buffer_migrator import MellanoxBufferMigrator - self.mellanox_buffer_migrator = MellanoxBufferMigrator(self.configDB) + self.mellanox_buffer_migrator = MellanoxBufferMigrator(self.configDB, self.appDB, self.stateDB) def migrate_pfc_wd_table(self): ''' @@ -617,9 +617,19 @@ def version_2_0_2(self): def version_2_0_3(self): """ - Current latest version. Nothing to do here. + Version 2_0_3 """ log.log_info('Handling version_2_0_3') + if self.asic_type == "mellanox": + self.mellanox_buffer_migrator.mlnx_reclaiming_unused_buffer() + self.set_version('version_2_0_4') + return 'version_2_0_4' + + def version_2_0_4(self): + """ + Current latest version. Nothing to do here. + """ + log.log_info('Handling version_2_0_4') return None def get_version(self): diff --git a/scripts/mellanox_buffer_migrator.py b/scripts/mellanox_buffer_migrator.py index 7411196c3385..6706969be1c2 100755 --- a/scripts/mellanox_buffer_migrator.py +++ b/scripts/mellanox_buffer_migrator.py @@ -79,6 +79,7 @@ Not providing it means no buffer profile migration required. """ from sonic_py_common import logger +import re SYSLOG_IDENTIFIER = 'mellanox_buffer_migrator' @@ -86,8 +87,10 @@ log = logger.Logger(SYSLOG_IDENTIFIER) class MellanoxBufferMigrator(): - def __init__(self, configDB): + def __init__(self, configDB, appDB, stateDB): self.configDB = configDB + self.appDB = appDB + self.stateDB = stateDB self.platform = None self.sku = None @@ -834,3 +837,259 @@ def mlnx_flush_new_buffer_configuration(self): def mlnx_is_buffer_model_dynamic(self): return self.is_buffer_config_default and not self.is_msft_sku + + def mlnx_reorganize_buffer_tables(self, buffer_table, name): + """ + This is to reorganize the BUFFER_PG and BUFFER_QUEUE tables from single tier index to double tiers index. + Originally, the index is like |. However, we need to check all the items with respect to a port, + which requires two tiers index, and then + Eg. + Before reorganize: + { + "Ethernet0|0": {"profile" : "ingress_lossy_profile"}, + "Ethernet0|3-4": {"profile": "pg_lossless_100000_5m_profile"}, + "Ethernet4|0": {"profile" : "ingress_lossy_profile"}, + "Ethernet4|3-4": {"profile": "pg_lossless_50000_5m_profile"} + } + After reorganize: + { + "Ethernet0": { + "0": {"profile" : "ingress_lossy_profile"}, + "3-4": {"profile": "pg_lossless_100000_5m_profile"} + }, + "Ethernet4": { + "0": {"profile" : "ingress_lossy_profile"}, + "3-4": {"profile": "pg_lossless_50000_5m_profile"} + } + } + """ + result = {} + for key, item in buffer_table.items(): + if len(key) != 2: + log.log_error('Table {} contains invalid key {}, skip this item'.format(name, key)) + continue + port, ids = key + if not port in result: + result[port] = {} + result[port][ids] = item + + return result + + def mlnx_reclaiming_unused_buffer(self): + cable_length_key = self.configDB.get_keys('CABLE_LENGTH') + if not cable_length_key: + log.log_notice("No cable length table defined, do not migrate buffer objects for reclaiming buffer") + return; + + log.log_info("Migrate buffer objects for reclaiming buffer based on 'CABLE_LENGTH|{}'".format(cable_length_key[0])) + + device_metadata = self.configDB.get_entry('DEVICE_METADATA', 'localhost') + is_dynamic = (device_metadata.get('buffer_model') == 'dynamic') + + port_table = self.configDB.get_table('PORT') + buffer_pool_table = self.configDB.get_table('BUFFER_POOL') + buffer_profile_table = self.configDB.get_table('BUFFER_PROFILE') + buffer_pg_table = self.configDB.get_table('BUFFER_PG') + buffer_queue_table = self.configDB.get_table('BUFFER_QUEUE') + buffer_ingress_profile_list_table = self.configDB.get_table('BUFFER_PORT_INGRESS_PROFILE_LIST') + buffer_egress_profile_list_table = self.configDB.get_table('BUFFER_PORT_EGRESS_PROFILE_LIST') + cable_length_entries = self.configDB.get_entry('CABLE_LENGTH', cable_length_key[0]) + + buffer_pg_items = self.mlnx_reorganize_buffer_tables(buffer_pg_table, 'BUFFER_PG') + buffer_queue_items = self.mlnx_reorganize_buffer_tables(buffer_queue_table, 'BUFFER_QUEUE') + + single_pool = True + if 'ingress_lossy_pool' in buffer_pool_table: + ingress_lossy_profile = buffer_profile_table.get('ingress_lossy_profile') + if ingress_lossy_profile: + if 'ingress_lossy_pool' == ingress_lossy_profile.get('pool'): + single_pool = False + + # Construct buffer items to be applied to admin down ports + if is_dynamic: + # For dynamic model, we just need to add the default buffer objects to admin down ports + # Buffer manager will apply zero profiles automatically when a port is shutdown + lossy_pg_item = {'profile': 'ingress_lossy_profile'} if 'ingress_lossy_profile' in buffer_profile_table else None + lossy_queue_item = {'profile': 'q_lossy_profile'} if 'q_lossy_profile' in buffer_profile_table else None + lossless_queue_item = {'profile': 'egress_lossless_profile'} if 'egress_lossless_profile' in buffer_profile_table else None + + queue_items_to_apply = {'0-2': lossy_queue_item, + '3-4': lossless_queue_item, + '5-6': lossy_queue_item} + + if single_pool: + if 'ingress_lossless_profile' in buffer_profile_table: + ingress_profile_list_item = {'profile_list': 'ingress_lossless_profile'} + else: + ingress_profile_list_item = None + else: + if 'ingress_lossless_profile' in buffer_profile_table and 'ingress_lossy_profile' in buffer_profile_table: + ingress_profile_list_item = {'profile_list': 'ingress_lossless_profile,ingress_lossy_profile'} + else: + ingress_profile_list_item = None + + if 'egress_lossless_profile' in buffer_profile_table and 'egress_lossy_profile' in buffer_profile_table: + egress_profile_list_item = {'profile_list': 'egress_lossless_profile,egress_lossy_profile'} + else: + egress_profile_list_item = None + + pools_to_insert = None + profiles_to_insert = None + + else: + # For static model, we need more. + # Define zero buffer pools and profiles + ingress_zero_pool = {'size': '0', 'mode': 'static', 'type': 'ingress'} + ingress_lossy_pg_zero_profile = { + "pool":"ingress_zero_pool", + "size":"0", + "static_th":"0" + } + lossy_pg_item = {'profile': 'ingress_lossy_pg_zero_profile'} + + ingress_lossless_zero_profile = { + "pool":"ingress_lossless_pool", + "size":"0", + "dynamic_th":"-8" + } + + if single_pool: + ingress_profile_list_item = {'profile_list': 'ingress_lossless_zero_profile'} + else: + ingress_lossy_zero_profile = { + "pool":"ingress_lossy_pool", + "size":"0", + "dynamic_th":"-8" + } + ingress_profile_list_item = {'profile_list': 'ingress_lossless_zero_profile,ingress_lossy_zero_profile'} + + egress_lossless_zero_profile = { + "pool":"egress_lossless_pool", + "size":"0", + "dynamic_th":"-8" + } + lossless_queue_item = {'profile': 'egress_lossless_zero_profile'} + + egress_lossy_zero_profile = { + "pool":"egress_lossy_pool", + "size":"0", + "dynamic_th":"-8" + } + lossy_queue_item = {'profile': 'egress_lossy_zero_profile'} + egress_profile_list_item = {'profile_list': 'egress_lossless_zero_profile,egress_lossy_zero_profile'} + + queue_items_to_apply = {'0-2': lossy_queue_item, + '3-4': lossless_queue_item, + '5-6': lossy_queue_item} + + pools_to_insert = {'ingress_zero_pool': ingress_zero_pool} + profiles_to_insert = {'ingress_lossy_pg_zero_profile': ingress_lossy_pg_zero_profile, + 'ingress_lossless_zero_profile': ingress_lossless_zero_profile, + 'egress_lossless_zero_profile': egress_lossless_zero_profile, + 'egress_lossy_zero_profile': egress_lossy_zero_profile} + if not single_pool: + profiles_to_insert['ingress_lossy_zero_profile'] = ingress_lossy_zero_profile + + lossless_profile_pattern = 'pg_lossless_([1-9][0-9]*000)_([1-9][0-9]*m)_profile' + zero_item_count = 0 + reclaimed_ports = set() + for port_name, port_info in port_table.items(): + if port_info.get('admin_status') == 'up': + # Handles admin down ports only + continue + + # If items to be applied to admin down port of BUFFER_PG table have been generated, + # Check whether the BUFFER_PG items with respect to the port align with the default one, + # and insert the items to BUFFER_PG + # The same logic for BUFFER_QUEUE, BUFFER_PORT_INGRESS_PROFILE_LIST and BUFFER_PORT_EGRESS_PROFILE_LIST + if lossy_pg_item: + port_pgs = buffer_pg_items.get(port_name) + is_default = False + if not port_pgs: + is_default = True + else: + if set(port_pgs.keys()) == set(['3-4']): + if is_dynamic: + reclaimed_ports.add(port_name) + if port_pgs['3-4']['profile'] == 'NULL': + is_default = True + else: + match = re.search(lossless_profile_pattern, port_pgs['3-4']['profile']) + if match: + speed = match.group(1) + cable_length = match.group(2) + if speed == port_info.get('speed') and cable_length == cable_length_entries.get(port_name): + is_default = True + + if is_default: + lossy_pg_key = '{}|0'.format(port_name) + lossless_pg_key = '{}|3-4'.format(port_name) + self.configDB.set_entry('BUFFER_PG', lossy_pg_key, lossy_pg_item) + if is_dynamic: + self.configDB.set_entry('BUFFER_PG', lossless_pg_key, {'profile': 'NULL'}) + # For traditional model, we must NOT remove the default lossless PG + # because it has been popagated to APPL_DB during db_migrator + # Leaving it untouched in CONFIG_DB enables traditional buffer manager to + # remove it from CONFIG_DB as well as APPL_DB + # However, removing it from CONFIG_DB causes it left in APPL_DB + zero_item_count += 1 + + if lossy_queue_item and lossless_queue_item: + port_queues = buffer_queue_items.get(port_name) + if not port_queues: + for ids, item in queue_items_to_apply.items(): + self.configDB.set_entry('BUFFER_QUEUE', port_name + '|' + ids, item) + zero_item_count += 1 + + if ingress_profile_list_item: + port_ingress_profile_list = buffer_ingress_profile_list_table.get(port_name) + if not port_ingress_profile_list: + self.configDB.set_entry('BUFFER_PORT_INGRESS_PROFILE_LIST', port_name, ingress_profile_list_item) + zero_item_count += 1 + + if egress_profile_list_item: + port_egress_profile_list = buffer_egress_profile_list_table.get(port_name) + if not port_egress_profile_list: + self.configDB.set_entry('BUFFER_PORT_EGRESS_PROFILE_LIST', port_name, egress_profile_list_item) + zero_item_count += 1 + + if zero_item_count > 0: + if pools_to_insert: + for name, pool in pools_to_insert.items(): + self.configDB.set_entry('BUFFER_POOL', name, pool) + + if profiles_to_insert: + for name, profile in profiles_to_insert.items(): + self.configDB.set_entry('BUFFER_PROFILE', name, profile) + + # We need to remove BUFFER_PG table items for admin down ports from APPL_DB + # and then remove the buffer profiles which are no longer referenced + # We do it here because + # - The buffer profiles were copied from CONFIG_DB by db_migrator when the database was being migrated from 1.0.6 to 2.0.0 + # - In this migrator the buffer priority-groups have been removed from CONFIG_DB.BUFFER_PG table + # - The dynamic buffer manager will not generate buffer profile by those buffer PG items + # In case a buffer profile was referenced by an admin down port only, the dynamic buffer manager won't create it after starting + # This kind of buffer profiles will be left in APPL_DB and can not be removed. + if not is_dynamic: + return + + warmreboot_state = self.stateDB.get(self.stateDB.STATE_DB, 'WARM_RESTART_ENABLE_TABLE|system', 'enable') + if warmreboot_state == 'true': + referenced_profiles = set() + keys = self.appDB.keys(self.appDB.APPL_DB, "BUFFER_PG_TABLE:*") + if keys is None: + return + for buffer_pg_key in keys: + port, pg = buffer_pg_key.split(':')[1:] + if port in reclaimed_ports: + self.appDB.delete(self.appDB.APPL_DB, buffer_pg_key) + else: + buffer_pg_items = self.appDB.get_all(self.appDB.APPL_DB, buffer_pg_key) + profile = buffer_pg_items.get('profile') + if profile: + referenced_profiles.add(profile) + keys = self.appDB.keys(self.appDB.APPL_DB, "BUFFER_PROFILE_TABLE:*") + for buffer_profile_key in keys: + profile = buffer_profile_key.split(':')[1] + if profile not in referenced_profiles and profile not in buffer_profile_table.keys(): + self.appDB.delete(self.appDB.APPL_DB, buffer_profile_key) diff --git a/tests/db_migrator_input/appl_db/acs-msn4700-t1-version_2_0_0.json b/tests/db_migrator_input/appl_db/acs-msn4700-t1-version_2_0_0.json index e14fb91958ae..f1fe67bc7bdf 100644 --- a/tests/db_migrator_input/appl_db/acs-msn4700-t1-version_2_0_0.json +++ b/tests/db_migrator_input/appl_db/acs-msn4700-t1-version_2_0_0.json @@ -712,13 +712,6 @@ "pool": "[BUFFER_POOL_TABLE:ingress_lossless_pool]", "size": "124928" }, - "BUFFER_PROFILE_TABLE:pg_lossless_400000_300m_profile": { - "xon": "37888", - "dynamic_th": "0", - "xoff": "373760", - "pool": "[BUFFER_POOL_TABLE:ingress_lossless_pool]", - "size": "420864" - }, "BUFFER_PROFILE_TABLE:q_lossy_profile": { "dynamic_th": "3", "pool": "[BUFFER_POOL_TABLE:egress_lossy_pool]", diff --git a/tests/db_migrator_input/appl_db/acs-msn4700-t1-version_2_0_3.json b/tests/db_migrator_input/appl_db/acs-msn4700-t1-version_2_0_3.json index 10cf02a1c8bf..0b25df431aa0 100644 --- a/tests/db_migrator_input/appl_db/acs-msn4700-t1-version_2_0_3.json +++ b/tests/db_migrator_input/appl_db/acs-msn4700-t1-version_2_0_3.json @@ -712,13 +712,6 @@ "pool": "ingress_lossless_pool", "size": "124928" }, - "BUFFER_PROFILE_TABLE:pg_lossless_400000_300m_profile": { - "xon": "37888", - "dynamic_th": "0", - "xoff": "373760", - "pool": "ingress_lossless_pool", - "size": "420864" - }, "BUFFER_PROFILE_TABLE:q_lossy_profile": { "dynamic_th": "3", "pool": "egress_lossy_pool", diff --git a/tests/db_migrator_input/appl_db/mellanox-sn3800-d28c50-t1-version_2_0_3.json b/tests/db_migrator_input/appl_db/mellanox-sn3800-d28c50-t1-version_2_0_3.json new file mode 100644 index 000000000000..04cade041a57 --- /dev/null +++ b/tests/db_migrator_input/appl_db/mellanox-sn3800-d28c50-t1-version_2_0_3.json @@ -0,0 +1,803 @@ +{ + "BUFFER_PG_TABLE:Ethernet0:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet0:3-4": { + "profile": "pg_lossless_10000_300m_profile" + }, + "BUFFER_PG_TABLE:Ethernet2:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet2:3-4": { + "profile": "pg_lossless_25000_300m_profile" + }, + "BUFFER_PG_TABLE:Ethernet4:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet4:3-4": { + "profile": "pg_lossless_50000_300m_profile" + }, + "BUFFER_PG_TABLE:Ethernet6:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet6:3-4": { + "profile": "pg_lossless_40000_300m_profile" + }, + "BUFFER_PG_TABLE:Ethernet8:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet10:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet12:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet12:3-4": { + "profile": "pg_lossless_100000_300m_profile" + }, + "BUFFER_PG_TABLE:Ethernet16:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet18:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet20:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet22:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet24:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet26:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet28:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet32:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet34:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet36:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet36:3-4": { + "profile": "pg_lossless_10000_40m_profile" + }, + "BUFFER_PG_TABLE:Ethernet38:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet38:3-4": { + "profile": "pg_lossless_25000_40m_profile" + }, + "BUFFER_PG_TABLE:Ethernet40:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet40:3-4": { + "profile": "pg_lossless_40000_40m_profile" + }, + "BUFFER_PG_TABLE:Ethernet42:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet42:3-4": { + "profile": "pg_lossless_50000_40m_profile" + }, + "BUFFER_PG_TABLE:Ethernet44:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet44:3-4": { + "profile": "pg_lossless_100000_40m_profile" + }, + "BUFFER_PG_TABLE:Ethernet48:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet50:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet52:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet54:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet56:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet58:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet60:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet64:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet66:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet68:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet70:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_POOL_TABLE:egress_lossless_pool": { + "type": "egress", + "mode": "dynamic", + "size": "34287552" + }, + "BUFFER_POOL_TABLE:egress_lossy_pool": { + "type": "egress", + "mode": "dynamic", + "size": "22380544" + }, + "BUFFER_POOL_TABLE:ingress_lossless_pool": { + "xoff": "4775936", + "type": "ingress", + "mode": "dynamic", + "size": "22380544" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet0": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet2": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet4": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet6": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet8": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet10": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet12": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet16": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet18": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet20": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet22": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet24": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet26": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet28": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet32": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet34": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet36": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet38": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet40": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet42": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet44": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet48": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet50": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet52": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet54": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet56": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet58": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet60": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet64": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet66": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet68": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet70": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet72": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet76": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet80": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet84": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet88": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet92": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet96": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet100": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet104": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet108": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet112": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet116": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet120": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet124": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet0": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet2": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet4": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet6": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet8": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet10": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet12": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet16": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet18": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet20": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet22": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet24": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet26": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet28": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet32": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet34": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet36": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet38": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet40": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet42": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet44": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet48": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet50": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet52": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet54": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet56": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet58": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet60": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet64": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet66": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet68": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet70": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet72": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet76": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet80": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet84": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet88": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet92": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet96": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet100": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet104": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet108": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet112": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet116": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet120": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet124": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PROFILE_TABLE:egress_lossless_profile": { + "dynamic_th": "7", + "pool": "egress_lossless_pool", + "size": "0" + }, + "BUFFER_PROFILE_TABLE:egress_lossy_profile": { + "dynamic_th": "7", + "pool": "egress_lossy_pool", + "size": "9216" + }, + "BUFFER_PROFILE_TABLE:ingress_lossless_profile": { + "dynamic_th": "7", + "pool": "ingress_lossless_pool", + "size": "0" + }, + "BUFFER_PROFILE_TABLE:ingress_lossy_profile": { + "dynamic_th": "3", + "pool": "ingress_lossless_pool", + "size": "0" + }, + "BUFFER_PROFILE_TABLE:pg_lossless_10000_40m_profile": { + "dynamic_th": "0", + "xon": "19456", + "xoff": "26624", + "pool": "ingress_lossless_pool", + "size": "19456" + }, + "BUFFER_PROFILE_TABLE:pg_lossless_10000_300m_profile": { + "dynamic_th": "0", + "xon": "19456", + "xoff": "31744", + "pool": "ingress_lossless_pool", + "size": "19456" + }, + "BUFFER_PROFILE_TABLE:pg_lossless_25000_40m_profile": { + "dynamic_th": "0", + "xon": "19456", + "xoff": "30720", + "pool": "ingress_lossless_pool", + "size": "19456" + }, + "BUFFER_PROFILE_TABLE:pg_lossless_25000_300m_profile": { + "dynamic_th": "0", + "xon": "19456", + "xoff": "44032", + "pool": "ingress_lossless_pool", + "size": "19456" + }, + "BUFFER_PROFILE_TABLE:pg_lossless_40000_40m_profile": { + "dynamic_th": "0", + "xon": "19456", + "xoff": "33792", + "pool": "ingress_lossless_pool", + "size": "19456" + }, + "BUFFER_PROFILE_TABLE:pg_lossless_40000_300m_profile": { + "dynamic_th": "0", + "xon": "19456", + "xoff": "55296", + "pool": "ingress_lossless_pool", + "size": "19456" + }, + "BUFFER_PROFILE_TABLE:pg_lossless_50000_40m_profile": { + "dynamic_th": "0", + "xon": "19456", + "xoff": "36864", + "pool": "ingress_lossless_pool", + "size": "19456" + }, + "BUFFER_PROFILE_TABLE:pg_lossless_50000_300m_profile": { + "dynamic_th": "0", + "xon": "19456", + "xoff": "63488", + "pool": "ingress_lossless_pool", + "size": "19456" + }, + "BUFFER_PROFILE_TABLE:pg_lossless_100000_40m_profile": { + "dynamic_th": "0", + "xon": "19456", + "xoff": "48128", + "pool": "ingress_lossless_pool", + "size": "19456" + }, + "BUFFER_PROFILE_TABLE:pg_lossless_100000_300m_profile": { + "dynamic_th": "0", + "xon": "19456", + "xoff": "102400", + "pool": "ingress_lossless_pool", + "size": "19456" + }, + "BUFFER_PROFILE_TABLE:q_lossy_profile": { + "dynamic_th": "3", + "pool": "egress_lossy_pool", + "size": "0" + }, + "BUFFER_QUEUE_TABLE:Ethernet0:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet0:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet0:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet2:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet2:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet2:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet4:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet4:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet4:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet6:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet6:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet6:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet8:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet8:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet8:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet10:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet10:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet10:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet12:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet12:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet12:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet16:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet16:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet16:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet18:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet18:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet18:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet20:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet20:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet20:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet22:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet22:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet22:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet24:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet24:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet24:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet26:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet26:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet26:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet28:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet28:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet28:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet32:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet32:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet32:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet34:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet34:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet34:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet36:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet36:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet36:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet38:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet38:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet38:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet40:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet40:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet40:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet42:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet42:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet42:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet44:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet44:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet44:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet48:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet48:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet48:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet50:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet50:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet50:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet52:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet52:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet52:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet54:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet54:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet54:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet56:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet56:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet56:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet58:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet58:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet58:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet60:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet60:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet60:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet64:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet64:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet64:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet66:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet66:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet66:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet68:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet68:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet68:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet70:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet70:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet70:5-6": { + "profile": "q_lossy_profile" + } +} diff --git a/tests/db_migrator_input/appl_db/reclaiming-buffer-warmreboot-expected.json b/tests/db_migrator_input/appl_db/reclaiming-buffer-warmreboot-expected.json new file mode 100644 index 000000000000..b3b52bce5fb5 --- /dev/null +++ b/tests/db_migrator_input/appl_db/reclaiming-buffer-warmreboot-expected.json @@ -0,0 +1,1002 @@ +{ + "BUFFER_PG_TABLE:Ethernet0:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet0:3-4": { + "profile": "pg_lossless_10000_300m_profile" + }, + "BUFFER_PG_TABLE:Ethernet8:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet8:3-4": { + "profile": "pg_lossless_25000_300m_profile" + }, + "BUFFER_PG_TABLE:Ethernet16:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet16:3-4": { + "profile": "pg_lossless_50000_300m_profile" + }, + "BUFFER_PG_TABLE:Ethernet24:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet24:3-4": { + "profile": "pg_lossless_40000_300m_profile" + }, + "BUFFER_PG_TABLE:Ethernet32:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet32:3-4": { + "profile": "pg_lossless_100000_300m_profile" + }, + "BUFFER_PG_TABLE:Ethernet40:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet40:3-4": { + "profile": "pg_lossless_200000_300m_profile" + }, + "BUFFER_PG_TABLE:Ethernet48:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet48:3-4": { + "profile": "pg_lossless_100000_300m_profile" + }, + "BUFFER_PG_TABLE:Ethernet56:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet56:3-4": { + "profile": "pg_lossless_100000_300m_profile" + }, + "BUFFER_PG_TABLE:Ethernet64:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet64:3-4": { + "profile": "pg_lossless_100000_300m_profile" + }, + "BUFFER_PG_TABLE:Ethernet72:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet72:3-4": { + "profile": "pg_lossless_100000_300m_profile" + }, + "BUFFER_PG_TABLE:Ethernet80:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet80:3-4": { + "profile": "pg_lossless_100000_300m_profile" + }, + "BUFFER_PG_TABLE:Ethernet88:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet88:3-4": { + "profile": "pg_lossless_100000_300m_profile" + }, + "BUFFER_PG_TABLE:Ethernet96:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet96:3-4": { + "profile": "pg_lossless_100000_300m_profile" + }, + "BUFFER_PG_TABLE:Ethernet104:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet104:3-4": { + "profile": "pg_lossless_100000_300m_profile" + }, + "BUFFER_PG_TABLE:Ethernet112:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet112:3-4": { + "profile": "pg_lossless_100000_300m_profile" + }, + "BUFFER_PG_TABLE:Ethernet120:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet120:3-4": { + "profile": "pg_lossless_100000_300m_profile" + }, + "BUFFER_PG_TABLE:Ethernet128:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet128:3-4": { + "profile": "pg_lossless_10000_40m_profile" + }, + "BUFFER_PG_TABLE:Ethernet136:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet136:3-4": { + "profile": "pg_lossless_25000_40m_profile" + }, + "BUFFER_PG_TABLE:Ethernet144:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet144:3-4": { + "profile": "pg_lossless_40000_40m_profile" + }, + "BUFFER_PG_TABLE:Ethernet152:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet152:3-4": { + "profile": "pg_lossless_50000_40m_profile" + }, + "BUFFER_PG_TABLE:Ethernet160:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet160:3-4": { + "profile": "pg_lossless_100000_40m_profile" + }, + "BUFFER_PG_TABLE:Ethernet168:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet168:3-4": { + "profile": "pg_lossless_200000_40m_profile" + }, + "BUFFER_PG_TABLE:Ethernet176:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet176:3-4": { + "profile": "pg_lossless_400000_40m_profile" + }, + "BUFFER_PG_TABLE:Ethernet184:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet184:3-4": { + "profile": "pg_lossless_400000_40m_profile" + }, + "BUFFER_PG_TABLE:Ethernet192:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet192:3-4": { + "profile": "pg_lossless_400000_40m_profile" + }, + "BUFFER_PG_TABLE:Ethernet200:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet200:3-4": { + "profile": "pg_lossless_400000_40m_profile" + }, + "BUFFER_PG_TABLE:Ethernet208:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet208:3-4": { + "profile": "pg_lossless_400000_40m_profile" + }, + "BUFFER_PG_TABLE:Ethernet216:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet216:3-4": { + "profile": "pg_lossless_400000_40m_profile" + }, + "BUFFER_PG_TABLE:Ethernet224:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet224:3-4": { + "profile": "pg_lossless_400000_40m_profile" + }, + "BUFFER_PG_TABLE:Ethernet232:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet232:3-4": { + "profile": "pg_lossless_400000_40m_profile" + }, + "BUFFER_PG_TABLE:Ethernet240:0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG_TABLE:Ethernet240:3-4": { + "profile": "pg_lossless_100000_40m_profile" + }, + "BUFFER_POOL_TABLE:egress_lossless_pool": { + "type": "egress", + "mode": "dynamic", + "size": "60817392" + }, + "BUFFER_POOL_TABLE:egress_lossy_pool": { + "type": "egress", + "mode": "dynamic", + "size": "20627456" + }, + "BUFFER_POOL_TABLE:ingress_lossless_pool": { + "type": "ingress", + "mode": "dynamic", + "size": "20627456" + }, + "BUFFER_POOL_TABLE:ingress_lossy_pool": { + "type": "ingress", + "mode": "dynamic", + "size": "20627456" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet0": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet2": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet4": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet6": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet8": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet10": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet12": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet16": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet18": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet20": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet22": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet24": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet26": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet28": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet32": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet34": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet36": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet38": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet40": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet42": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet44": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet48": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet50": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet52": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet54": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet56": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet58": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet60": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet64": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet65": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet66": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet67": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet68": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet70": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet72": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet76": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet80": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet82": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet84": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet88": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet92": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet96": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet100": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet104": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet108": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet112": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet116": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet120": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet124": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet128": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet136": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet144": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet152": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet160": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet168": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet176": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet184": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet192": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet200": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet208": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet216": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet224": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet232": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet240": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST_TABLE:Ethernet248": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet0": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet2": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet4": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet6": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet8": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet10": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet12": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet16": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet18": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet20": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet22": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet24": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet26": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet28": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet32": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet34": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet36": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet38": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet40": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet42": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet44": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet48": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet50": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet52": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet54": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet56": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet58": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet60": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet64": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet65": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet66": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet67": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet68": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet70": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet72": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet76": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet80": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet82": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet84": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet88": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet92": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet96": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet100": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet104": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet108": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet112": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet116": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet120": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet124": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet128": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet136": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet144": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet152": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet160": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet168": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet176": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet184": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet192": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet200": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet208": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet216": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet224": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet232": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet240": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST_TABLE:Ethernet248": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PROFILE_TABLE:egress_lossless_profile": { + "dynamic_th": "7", + "pool": "egress_lossless_pool", + "size": "0" + }, + "BUFFER_PROFILE_TABLE:egress_lossy_profile": { + "dynamic_th": "7", + "pool": "egress_lossy_pool", + "size": "9216" + }, + "BUFFER_PROFILE_TABLE:ingress_lossless_profile": { + "dynamic_th": "7", + "pool": "ingress_lossless_pool", + "size": "0" + }, + "BUFFER_PROFILE_TABLE:ingress_lossy_profile": { + "dynamic_th": "3", + "pool": "ingress_lossy_pool", + "size": "0" + }, + "BUFFER_PROFILE_TABLE:pg_lossless_10000_40m_profile": { + "xon": "19456", + "dynamic_th": "0", + "xoff": "33792", + "pool": "ingress_lossless_pool", + "size": "53248" + }, + "BUFFER_PROFILE_TABLE:pg_lossless_10000_300m_profile": { + "xon": "19456", + "dynamic_th": "0", + "xoff": "40960", + "pool": "ingress_lossless_pool", + "size": "60416" + }, + "BUFFER_PROFILE_TABLE:pg_lossless_25000_40m_profile": { + "xon": "19456", + "dynamic_th": "0", + "xoff": "35840", + "pool": "ingress_lossless_pool", + "size": "55296" + }, + "BUFFER_PROFILE_TABLE:pg_lossless_25000_300m_profile": { + "xon": "19456", + "dynamic_th": "0", + "xoff": "54272", + "pool": "ingress_lossless_pool", + "size": "73728" + }, + "BUFFER_PROFILE_TABLE:pg_lossless_40000_40m_profile": { + "xon": "19456", + "dynamic_th": "0", + "xoff": "37888", + "pool": "ingress_lossless_pool", + "size": "57344" + }, + "BUFFER_PROFILE_TABLE:pg_lossless_40000_300m_profile": { + "xon": "19456", + "dynamic_th": "0", + "xoff": "66560", + "pool": "ingress_lossless_pool", + "size": "86016" + }, + "BUFFER_PROFILE_TABLE:pg_lossless_50000_40m_profile": { + "xon": "19456", + "dynamic_th": "0", + "xoff": "38912", + "pool": "ingress_lossless_pool", + "size": "58368" + }, + "BUFFER_PROFILE_TABLE:pg_lossless_50000_300m_profile": { + "xon": "19456", + "dynamic_th": "0", + "xoff": "75776", + "pool": "ingress_lossless_pool", + "size": "95232" + }, + "BUFFER_PROFILE_TABLE:pg_lossless_100000_40m_profile": { + "xon": "19456", + "dynamic_th": "0", + "xoff": "44032", + "pool": "ingress_lossless_pool", + "size": "63488" + }, + "BUFFER_PROFILE_TABLE:pg_lossless_100000_300m_profile": { + "xon": "19456", + "dynamic_th": "0", + "xoff": "117760", + "pool": "ingress_lossless_pool", + "size": "137216" + }, + "BUFFER_PROFILE_TABLE:pg_lossless_200000_40m_profile": { + "xon": "19456", + "dynamic_th": "0", + "xoff": "55296", + "pool": "ingress_lossless_pool", + "size": "74752" + }, + "BUFFER_PROFILE_TABLE:pg_lossless_200000_300m_profile": { + "xon": "19456", + "dynamic_th": "0", + "xoff": "203776", + "pool": "ingress_lossless_pool", + "size": "223232" + }, + "BUFFER_PROFILE_TABLE:pg_lossless_400000_40m_profile": { + "xon": "37888", + "dynamic_th": "0", + "xoff": "77824", + "pool": "ingress_lossless_pool", + "size": "124928" + }, + "BUFFER_PROFILE_TABLE:q_lossy_profile": { + "dynamic_th": "3", + "pool": "egress_lossy_pool", + "size": "0" + }, + "BUFFER_QUEUE_TABLE:Ethernet0:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet0:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet0:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet8:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet8:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet8:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet16:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet16:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet16:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet24:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet24:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet24:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet32:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet32:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet32:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet40:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet40:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet40:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet48:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet48:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet48:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet56:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet56:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet56:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet64:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet64:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet64:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet72:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet72:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet72:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet80:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet80:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet80:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet88:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet88:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet88:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet96:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet96:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet96:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet104:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet104:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet104:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet112:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet112:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet112:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet120:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet120:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet120:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet128:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet128:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet128:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet136:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet136:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet136:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet144:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet144:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet144:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet152:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet152:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet152:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet160:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet160:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet160:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet168:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet168:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet168:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet176:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet176:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet176:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet184:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet184:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet184:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet192:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet192:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet192:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet200:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet200:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet200:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet208:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet208:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet208:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet216:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet216:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet216:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet224:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet224:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet224:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet232:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet232:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet232:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet240:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet240:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet240:5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet248:0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet248:3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE_TABLE:Ethernet248:5-6": { + "profile": "q_lossy_profile" + } +} diff --git a/tests/db_migrator_input/appl_db/reclaiming-buffer-warmreboot-input.json b/tests/db_migrator_input/appl_db/reclaiming-buffer-warmreboot-input.json new file mode 100644 index 000000000000..2c63c0851048 --- /dev/null +++ b/tests/db_migrator_input/appl_db/reclaiming-buffer-warmreboot-input.json @@ -0,0 +1,2 @@ +{ +} diff --git a/tests/db_migrator_input/config_db/acs-msn2700-t0-version_1_0_1.json b/tests/db_migrator_input/config_db/acs-msn2700-t0-version_1_0_1.json index 65b454e430b3..731bcea1fe9a 100644 --- a/tests/db_migrator_input/config_db/acs-msn2700-t0-version_1_0_1.json +++ b/tests/db_migrator_input/config_db/acs-msn2700-t0-version_1_0_1.json @@ -746,7 +746,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "10000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -995,7 +996,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -1004,7 +1006,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1013,7 +1016,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1056,4 +1060,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_1" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/acs-msn2700-t0-version_1_0_2.json b/tests/db_migrator_input/config_db/acs-msn2700-t0-version_1_0_2.json index a522221dccd3..9c01e38daf93 100644 --- a/tests/db_migrator_input/config_db/acs-msn2700-t0-version_1_0_2.json +++ b/tests/db_migrator_input/config_db/acs-msn2700-t0-version_1_0_2.json @@ -746,7 +746,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "10000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -995,7 +996,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -1004,7 +1006,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1013,7 +1016,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1056,4 +1060,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_2" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/acs-msn2700-t0-version_1_0_3.json b/tests/db_migrator_input/config_db/acs-msn2700-t0-version_1_0_3.json index b170954d9057..2ef38d24ecf1 100644 --- a/tests/db_migrator_input/config_db/acs-msn2700-t0-version_1_0_3.json +++ b/tests/db_migrator_input/config_db/acs-msn2700-t0-version_1_0_3.json @@ -746,7 +746,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "10000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -995,7 +996,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -1004,7 +1006,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1013,7 +1016,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1056,4 +1060,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_3" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/acs-msn2700-t0-version_1_0_4.json b/tests/db_migrator_input/config_db/acs-msn2700-t0-version_1_0_4.json index b4b4e50a2559..d92a6336b0d9 100644 --- a/tests/db_migrator_input/config_db/acs-msn2700-t0-version_1_0_4.json +++ b/tests/db_migrator_input/config_db/acs-msn2700-t0-version_1_0_4.json @@ -746,7 +746,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "10000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -995,7 +996,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -1004,7 +1006,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1013,7 +1016,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1056,4 +1060,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_4" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/acs-msn2700-t0-version_1_0_5.json b/tests/db_migrator_input/config_db/acs-msn2700-t0-version_1_0_5.json index 1e2dd7cf4c47..84eccb49788d 100644 --- a/tests/db_migrator_input/config_db/acs-msn2700-t0-version_1_0_5.json +++ b/tests/db_migrator_input/config_db/acs-msn2700-t0-version_1_0_5.json @@ -746,7 +746,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "10000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -995,7 +996,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -1004,7 +1006,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1013,7 +1016,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1056,4 +1060,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_5" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/acs-msn2700-t0-version_1_0_6.json b/tests/db_migrator_input/config_db/acs-msn2700-t0-version_1_0_6.json index f884f1cead01..98130c4baa89 100644 --- a/tests/db_migrator_input/config_db/acs-msn2700-t0-version_1_0_6.json +++ b/tests/db_migrator_input/config_db/acs-msn2700-t0-version_1_0_6.json @@ -746,7 +746,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "10000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -995,7 +996,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -1004,7 +1006,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1013,7 +1016,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1056,4 +1060,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_6" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/acs-msn2700-t0-version_2_0_0.json b/tests/db_migrator_input/config_db/acs-msn2700-t0-version_2_0_0.json index a386104345f9..76ed34269e43 100644 --- a/tests/db_migrator_input/config_db/acs-msn2700-t0-version_2_0_0.json +++ b/tests/db_migrator_input/config_db/acs-msn2700-t0-version_2_0_0.json @@ -702,7 +702,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "10000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -951,7 +952,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -960,7 +962,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -969,7 +972,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1012,4 +1016,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_2_0_0" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/acs-msn2700-t0-version_2_0_3.json b/tests/db_migrator_input/config_db/acs-msn2700-t0-version_2_0_3.json index 634784798ab1..3f70cfa87e7c 100644 --- a/tests/db_migrator_input/config_db/acs-msn2700-t0-version_2_0_3.json +++ b/tests/db_migrator_input/config_db/acs-msn2700-t0-version_2_0_3.json @@ -702,7 +702,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "10000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -951,7 +952,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -960,7 +962,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -969,7 +972,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1012,4 +1016,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_2_0_3" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/acs-msn2700-t1-version_1_0_1.json b/tests/db_migrator_input/config_db/acs-msn2700-t1-version_1_0_1.json index f369f1c68fd9..62a74e7d50eb 100644 --- a/tests/db_migrator_input/config_db/acs-msn2700-t1-version_1_0_1.json +++ b/tests/db_migrator_input/config_db/acs-msn2700-t1-version_1_0_1.json @@ -1153,4 +1153,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_1" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/acs-msn2700-t1-version_1_0_2.json b/tests/db_migrator_input/config_db/acs-msn2700-t1-version_1_0_2.json index 463cbb4d4d65..48c6e36a8513 100644 --- a/tests/db_migrator_input/config_db/acs-msn2700-t1-version_1_0_2.json +++ b/tests/db_migrator_input/config_db/acs-msn2700-t1-version_1_0_2.json @@ -1153,4 +1153,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_2" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/acs-msn2700-t1-version_1_0_3.json b/tests/db_migrator_input/config_db/acs-msn2700-t1-version_1_0_3.json index f177de715684..2f37a3e238ca 100644 --- a/tests/db_migrator_input/config_db/acs-msn2700-t1-version_1_0_3.json +++ b/tests/db_migrator_input/config_db/acs-msn2700-t1-version_1_0_3.json @@ -1153,4 +1153,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_3" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/acs-msn2700-t1-version_1_0_4.json b/tests/db_migrator_input/config_db/acs-msn2700-t1-version_1_0_4.json index 552d77854a61..837abc8b5a7c 100644 --- a/tests/db_migrator_input/config_db/acs-msn2700-t1-version_1_0_4.json +++ b/tests/db_migrator_input/config_db/acs-msn2700-t1-version_1_0_4.json @@ -1153,4 +1153,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_4" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/acs-msn2700-t1-version_1_0_5.json b/tests/db_migrator_input/config_db/acs-msn2700-t1-version_1_0_5.json index aa4b3cdedcbb..f24650a2703e 100644 --- a/tests/db_migrator_input/config_db/acs-msn2700-t1-version_1_0_5.json +++ b/tests/db_migrator_input/config_db/acs-msn2700-t1-version_1_0_5.json @@ -1153,4 +1153,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_5" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/acs-msn2700-t1-version_1_0_6.json b/tests/db_migrator_input/config_db/acs-msn2700-t1-version_1_0_6.json index 3b1b095d9ea8..b3b4b31275a5 100644 --- a/tests/db_migrator_input/config_db/acs-msn2700-t1-version_1_0_6.json +++ b/tests/db_migrator_input/config_db/acs-msn2700-t1-version_1_0_6.json @@ -1153,4 +1153,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_6" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/acs-msn2700-t1-version_2_0_0.json b/tests/db_migrator_input/config_db/acs-msn2700-t1-version_2_0_0.json index 1523f1222b2a..be1f36d71cc1 100644 --- a/tests/db_migrator_input/config_db/acs-msn2700-t1-version_2_0_0.json +++ b/tests/db_migrator_input/config_db/acs-msn2700-t1-version_2_0_0.json @@ -1088,4 +1088,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_2_0_0" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/acs-msn2700-t1-version_2_0_3.json b/tests/db_migrator_input/config_db/acs-msn2700-t1-version_2_0_3.json index 61dfe5e72fb2..44246edd6b94 100644 --- a/tests/db_migrator_input/config_db/acs-msn2700-t1-version_2_0_3.json +++ b/tests/db_migrator_input/config_db/acs-msn2700-t1-version_2_0_3.json @@ -1088,4 +1088,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_2_0_3" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/acs-msn3700-t0-version_1_0_2.json b/tests/db_migrator_input/config_db/acs-msn3700-t0-version_1_0_2.json index 24bed9126728..dad6528bd177 100644 --- a/tests/db_migrator_input/config_db/acs-msn3700-t0-version_1_0_2.json +++ b/tests/db_migrator_input/config_db/acs-msn3700-t0-version_1_0_2.json @@ -756,7 +756,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "10000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet4": { "index": "2", @@ -1024,7 +1025,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet104": { "index": "27", @@ -1034,7 +1036,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "28", @@ -1044,7 +1047,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet112": { "index": "29", @@ -1091,4 +1095,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_2" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/acs-msn3700-t0-version_1_0_3.json b/tests/db_migrator_input/config_db/acs-msn3700-t0-version_1_0_3.json index e04c25cfb51f..ed90ec38f285 100644 --- a/tests/db_migrator_input/config_db/acs-msn3700-t0-version_1_0_3.json +++ b/tests/db_migrator_input/config_db/acs-msn3700-t0-version_1_0_3.json @@ -1265,7 +1265,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1319,7 +1320,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "23", @@ -1340,7 +1342,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "24", @@ -1394,7 +1397,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "28", @@ -1448,7 +1452,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "32", @@ -1469,7 +1474,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1479,7 +1485,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1489,7 +1496,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1499,7 +1507,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1509,7 +1518,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1519,7 +1529,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1529,7 +1540,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1539,7 +1551,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1549,7 +1562,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1559,7 +1573,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1569,7 +1584,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1579,7 +1595,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1589,7 +1606,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1599,7 +1617,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1609,7 +1628,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1619,7 +1639,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1629,7 +1650,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1639,7 +1661,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1649,7 +1672,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1659,7 +1683,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1669,7 +1694,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1679,7 +1705,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1689,7 +1716,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1699,7 +1727,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1709,7 +1738,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1719,7 +1749,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1729,7 +1760,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1739,7 +1771,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1749,7 +1782,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1759,7 +1793,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1769,7 +1804,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1779,7 +1815,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1789,7 +1826,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1799,7 +1837,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -1809,7 +1848,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -1819,7 +1859,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1829,7 +1870,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -1839,7 +1881,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -1849,7 +1892,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -1859,7 +1903,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -1869,7 +1914,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1879,7 +1925,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -1889,7 +1936,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -1899,9 +1947,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_1_0_3" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/acs-msn3700-t0-version_1_0_4.json b/tests/db_migrator_input/config_db/acs-msn3700-t0-version_1_0_4.json index 433b9e4e5106..508dc5dc7f32 100644 --- a/tests/db_migrator_input/config_db/acs-msn3700-t0-version_1_0_4.json +++ b/tests/db_migrator_input/config_db/acs-msn3700-t0-version_1_0_4.json @@ -1265,7 +1265,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1319,7 +1320,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "23", @@ -1340,7 +1342,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "24", @@ -1394,7 +1397,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "28", @@ -1448,7 +1452,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "32", @@ -1469,7 +1474,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1479,7 +1485,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1489,7 +1496,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1499,7 +1507,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1509,7 +1518,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1519,7 +1529,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1529,7 +1540,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1539,7 +1551,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1549,7 +1562,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1559,7 +1573,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1569,7 +1584,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1579,7 +1595,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1589,7 +1606,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1599,7 +1617,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1609,7 +1628,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1619,7 +1639,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1629,7 +1650,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1639,7 +1661,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1649,7 +1672,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1659,7 +1683,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1669,7 +1694,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1679,7 +1705,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1689,7 +1716,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1699,7 +1727,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1709,7 +1738,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1719,7 +1749,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1729,7 +1760,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1739,7 +1771,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1749,7 +1782,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1759,7 +1793,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1769,7 +1804,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1779,7 +1815,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1789,7 +1826,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1799,7 +1837,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -1809,7 +1848,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -1819,7 +1859,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1829,7 +1870,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -1839,7 +1881,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -1849,7 +1892,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -1859,7 +1903,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -1869,7 +1914,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1879,7 +1925,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -1889,7 +1936,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -1899,9 +1947,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_1_0_4" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/acs-msn3700-t0-version_1_0_5.json b/tests/db_migrator_input/config_db/acs-msn3700-t0-version_1_0_5.json index e732b54038af..4ed4668d8b01 100644 --- a/tests/db_migrator_input/config_db/acs-msn3700-t0-version_1_0_5.json +++ b/tests/db_migrator_input/config_db/acs-msn3700-t0-version_1_0_5.json @@ -1265,7 +1265,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1319,7 +1320,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "23", @@ -1340,7 +1342,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "24", @@ -1394,7 +1397,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "28", @@ -1448,7 +1452,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "32", @@ -1469,7 +1474,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1479,7 +1485,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1489,7 +1496,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1499,7 +1507,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1509,7 +1518,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1519,7 +1529,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1529,7 +1540,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1539,7 +1551,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1549,7 +1562,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1559,7 +1573,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1569,7 +1584,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1579,7 +1595,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1589,7 +1606,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1599,7 +1617,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1609,7 +1628,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1619,7 +1639,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1629,7 +1650,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1639,7 +1661,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1649,7 +1672,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1659,7 +1683,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1669,7 +1694,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1679,7 +1705,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1689,7 +1716,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1699,7 +1727,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1709,7 +1738,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1719,7 +1749,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1729,7 +1760,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1739,7 +1771,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1749,7 +1782,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1759,7 +1793,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1769,7 +1804,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1779,7 +1815,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1789,7 +1826,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1799,7 +1837,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -1809,7 +1848,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -1819,7 +1859,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1829,7 +1870,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -1839,7 +1881,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -1849,7 +1892,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -1859,7 +1903,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -1869,7 +1914,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1879,7 +1925,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -1889,7 +1936,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -1899,9 +1947,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_1_0_5" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/acs-msn3700-t0-version_1_0_6.json b/tests/db_migrator_input/config_db/acs-msn3700-t0-version_1_0_6.json index 8c57d5e2419d..48ba24ab3be1 100644 --- a/tests/db_migrator_input/config_db/acs-msn3700-t0-version_1_0_6.json +++ b/tests/db_migrator_input/config_db/acs-msn3700-t0-version_1_0_6.json @@ -1265,7 +1265,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1319,7 +1320,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "23", @@ -1340,7 +1342,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "24", @@ -1394,7 +1397,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "28", @@ -1448,7 +1452,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "32", @@ -1469,7 +1474,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1479,7 +1485,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1489,7 +1496,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1499,7 +1507,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1509,7 +1518,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1519,7 +1529,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1529,7 +1540,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1539,7 +1551,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1549,7 +1562,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1559,7 +1573,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1569,7 +1584,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1579,7 +1595,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1589,7 +1606,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1599,7 +1617,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1609,7 +1628,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1619,7 +1639,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1629,7 +1650,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1639,7 +1661,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1649,7 +1672,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1659,7 +1683,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1669,7 +1694,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1679,7 +1705,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1689,7 +1716,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1699,7 +1727,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1709,7 +1738,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1719,7 +1749,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1729,7 +1760,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1739,7 +1771,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1749,7 +1782,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1759,7 +1793,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1769,7 +1804,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1779,7 +1815,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1789,7 +1826,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1799,7 +1837,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -1809,7 +1848,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -1819,7 +1859,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1829,7 +1870,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -1839,7 +1881,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -1849,7 +1892,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -1859,7 +1903,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -1869,7 +1914,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1879,7 +1925,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -1889,7 +1936,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -1899,9 +1947,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_1_0_6" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/acs-msn3700-t0-version_2_0_0.json b/tests/db_migrator_input/config_db/acs-msn3700-t0-version_2_0_0.json index 85d37e17fac3..c79217b1c591 100644 --- a/tests/db_migrator_input/config_db/acs-msn3700-t0-version_2_0_0.json +++ b/tests/db_migrator_input/config_db/acs-msn3700-t0-version_2_0_0.json @@ -1214,7 +1214,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1268,7 +1269,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "23", @@ -1289,7 +1291,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "24", @@ -1343,7 +1346,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "28", @@ -1397,7 +1401,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "32", @@ -1418,7 +1423,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1428,7 +1434,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1438,7 +1445,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1448,7 +1456,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1458,7 +1467,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1468,7 +1478,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1478,7 +1489,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1488,7 +1500,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1498,7 +1511,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1508,7 +1522,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1518,7 +1533,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1528,7 +1544,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1538,7 +1555,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1548,7 +1566,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1558,7 +1577,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1568,7 +1588,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1578,7 +1599,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1588,7 +1610,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1598,7 +1621,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1608,7 +1632,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1618,7 +1643,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1628,7 +1654,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1638,7 +1665,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1648,7 +1676,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1658,7 +1687,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1668,7 +1698,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1678,7 +1709,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1688,7 +1720,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1698,7 +1731,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1708,7 +1742,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1718,7 +1753,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1728,7 +1764,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1738,7 +1775,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1748,7 +1786,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -1758,7 +1797,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -1768,7 +1808,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1778,7 +1819,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -1788,7 +1830,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -1798,7 +1841,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -1808,7 +1852,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -1818,7 +1863,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1828,7 +1874,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -1838,7 +1885,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -1848,9 +1896,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_2_0_0" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/acs-msn3700-t0-version_2_0_3.json b/tests/db_migrator_input/config_db/acs-msn3700-t0-version_2_0_3.json index db3a133bd432..598b9b16c787 100644 --- a/tests/db_migrator_input/config_db/acs-msn3700-t0-version_2_0_3.json +++ b/tests/db_migrator_input/config_db/acs-msn3700-t0-version_2_0_3.json @@ -1214,7 +1214,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1268,7 +1269,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "23", @@ -1289,7 +1291,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "24", @@ -1343,7 +1346,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "28", @@ -1397,7 +1401,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "32", @@ -1418,7 +1423,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1428,7 +1434,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1438,7 +1445,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1448,7 +1456,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1458,7 +1467,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1468,7 +1478,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1478,7 +1489,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1488,7 +1500,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1498,7 +1511,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1508,7 +1522,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1518,7 +1533,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1528,7 +1544,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1538,7 +1555,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1548,7 +1566,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1558,7 +1577,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1568,7 +1588,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1578,7 +1599,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1588,7 +1610,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1598,7 +1621,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1608,7 +1632,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1618,7 +1643,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1628,7 +1654,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1638,7 +1665,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1648,7 +1676,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1658,7 +1687,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1668,7 +1698,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1678,7 +1709,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1688,7 +1720,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1698,7 +1731,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1708,7 +1742,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1718,7 +1753,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1728,7 +1764,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1738,7 +1775,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1748,7 +1786,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -1758,7 +1797,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -1768,7 +1808,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1778,7 +1819,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -1788,7 +1830,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -1798,7 +1841,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -1808,7 +1852,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -1818,7 +1863,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1828,7 +1874,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -1838,7 +1885,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -1848,9 +1896,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_2_0_3" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/acs-msn3700-t1-version_1_0_2.json b/tests/db_migrator_input/config_db/acs-msn3700-t1-version_1_0_2.json index cec20dbd9851..d2a129036880 100644 --- a/tests/db_migrator_input/config_db/acs-msn3700-t1-version_1_0_2.json +++ b/tests/db_migrator_input/config_db/acs-msn3700-t1-version_1_0_2.json @@ -1195,4 +1195,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_2" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/acs-msn3700-t1-version_1_0_3.json b/tests/db_migrator_input/config_db/acs-msn3700-t1-version_1_0_3.json index ab88fb3bedc8..57b106555bd6 100644 --- a/tests/db_migrator_input/config_db/acs-msn3700-t1-version_1_0_3.json +++ b/tests/db_migrator_input/config_db/acs-msn3700-t1-version_1_0_3.json @@ -1341,7 +1341,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1395,7 +1396,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "23", @@ -1416,7 +1418,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "24", @@ -1470,7 +1473,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "28", @@ -1524,7 +1528,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "32", @@ -1545,7 +1550,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1555,7 +1561,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1565,7 +1572,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1575,7 +1583,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1585,7 +1594,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1595,7 +1605,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1605,7 +1616,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1615,7 +1627,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1625,7 +1638,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1635,7 +1649,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1645,7 +1660,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1655,7 +1671,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1665,7 +1682,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1675,7 +1693,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1685,7 +1704,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1695,7 +1715,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1705,7 +1726,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1715,7 +1737,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1725,7 +1748,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1735,7 +1759,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1745,7 +1770,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1755,7 +1781,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1765,7 +1792,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1775,7 +1803,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1785,7 +1814,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1795,7 +1825,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1805,7 +1836,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1815,7 +1847,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1825,7 +1858,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1835,7 +1869,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1845,7 +1880,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1855,7 +1891,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1865,7 +1902,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1875,7 +1913,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -1885,7 +1924,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -1895,7 +1935,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1905,7 +1946,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -1915,7 +1957,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -1925,7 +1968,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -1935,7 +1979,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -1945,7 +1990,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1955,7 +2001,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -1965,7 +2012,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -1975,9 +2023,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_1_0_3" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/acs-msn3700-t1-version_1_0_4.json b/tests/db_migrator_input/config_db/acs-msn3700-t1-version_1_0_4.json index 50a40d298722..e97efaa06d2b 100644 --- a/tests/db_migrator_input/config_db/acs-msn3700-t1-version_1_0_4.json +++ b/tests/db_migrator_input/config_db/acs-msn3700-t1-version_1_0_4.json @@ -1341,7 +1341,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1395,7 +1396,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "23", @@ -1416,7 +1418,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "24", @@ -1470,7 +1473,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "28", @@ -1524,7 +1528,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "32", @@ -1545,7 +1550,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1555,7 +1561,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1565,7 +1572,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1575,7 +1583,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1585,7 +1594,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1595,7 +1605,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1605,7 +1616,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1615,7 +1627,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1625,7 +1638,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1635,7 +1649,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1645,7 +1660,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1655,7 +1671,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1665,7 +1682,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1675,7 +1693,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1685,7 +1704,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1695,7 +1715,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1705,7 +1726,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1715,7 +1737,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1725,7 +1748,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1735,7 +1759,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1745,7 +1770,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1755,7 +1781,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1765,7 +1792,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1775,7 +1803,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1785,7 +1814,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1795,7 +1825,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1805,7 +1836,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1815,7 +1847,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1825,7 +1858,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1835,7 +1869,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1845,7 +1880,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1855,7 +1891,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1865,7 +1902,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1875,7 +1913,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -1885,7 +1924,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -1895,7 +1935,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1905,7 +1946,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -1915,7 +1957,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -1925,7 +1968,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -1935,7 +1979,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -1945,7 +1990,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1955,7 +2001,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -1965,7 +2012,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -1975,9 +2023,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_1_0_4" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/acs-msn3700-t1-version_1_0_5.json b/tests/db_migrator_input/config_db/acs-msn3700-t1-version_1_0_5.json index 5776904ce075..0e4d8035b66d 100644 --- a/tests/db_migrator_input/config_db/acs-msn3700-t1-version_1_0_5.json +++ b/tests/db_migrator_input/config_db/acs-msn3700-t1-version_1_0_5.json @@ -1341,7 +1341,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1395,7 +1396,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "23", @@ -1416,7 +1418,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "24", @@ -1470,7 +1473,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "28", @@ -1524,7 +1528,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "32", @@ -1545,7 +1550,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1555,7 +1561,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1565,7 +1572,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1575,7 +1583,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1585,7 +1594,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1595,7 +1605,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1605,7 +1616,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1615,7 +1627,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1625,7 +1638,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1635,7 +1649,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1645,7 +1660,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1655,7 +1671,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1665,7 +1682,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1675,7 +1693,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1685,7 +1704,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1695,7 +1715,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1705,7 +1726,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1715,7 +1737,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1725,7 +1748,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1735,7 +1759,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1745,7 +1770,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1755,7 +1781,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1765,7 +1792,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1775,7 +1803,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1785,7 +1814,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1795,7 +1825,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1805,7 +1836,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1815,7 +1847,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1825,7 +1858,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1835,7 +1869,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1845,7 +1880,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1855,7 +1891,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1865,7 +1902,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1875,7 +1913,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -1885,7 +1924,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -1895,7 +1935,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1905,7 +1946,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -1915,7 +1957,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -1925,7 +1968,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -1935,7 +1979,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -1945,7 +1990,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1955,7 +2001,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -1965,7 +2012,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -1975,9 +2023,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_1_0_5" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/acs-msn3700-t1-version_1_0_6.json b/tests/db_migrator_input/config_db/acs-msn3700-t1-version_1_0_6.json index 9454f94c9770..bb26b43b588a 100644 --- a/tests/db_migrator_input/config_db/acs-msn3700-t1-version_1_0_6.json +++ b/tests/db_migrator_input/config_db/acs-msn3700-t1-version_1_0_6.json @@ -1341,7 +1341,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1395,7 +1396,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "23", @@ -1416,7 +1418,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "24", @@ -1470,7 +1473,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "28", @@ -1524,7 +1528,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "32", @@ -1545,7 +1550,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1555,7 +1561,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1565,7 +1572,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1575,7 +1583,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1585,7 +1594,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1595,7 +1605,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1605,7 +1616,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1615,7 +1627,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1625,7 +1638,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1635,7 +1649,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1645,7 +1660,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1655,7 +1671,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1665,7 +1682,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1675,7 +1693,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1685,7 +1704,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1695,7 +1715,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1705,7 +1726,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1715,7 +1737,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1725,7 +1748,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1735,7 +1759,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1745,7 +1770,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1755,7 +1781,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1765,7 +1792,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1775,7 +1803,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1785,7 +1814,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1795,7 +1825,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1805,7 +1836,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1815,7 +1847,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1825,7 +1858,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1835,7 +1869,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1845,7 +1880,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1855,7 +1891,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1865,7 +1902,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1875,7 +1913,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -1885,7 +1924,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -1895,7 +1935,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1905,7 +1946,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -1915,7 +1957,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -1925,7 +1968,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -1935,7 +1979,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -1945,7 +1990,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1955,7 +2001,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -1965,7 +2012,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -1975,9 +2023,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_1_0_6" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/acs-msn3700-t1-version_2_0_0.json b/tests/db_migrator_input/config_db/acs-msn3700-t1-version_2_0_0.json index 4bc8045e4c20..a756fde63dcc 100644 --- a/tests/db_migrator_input/config_db/acs-msn3700-t1-version_2_0_0.json +++ b/tests/db_migrator_input/config_db/acs-msn3700-t1-version_2_0_0.json @@ -1262,7 +1262,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1316,7 +1317,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "23", @@ -1337,7 +1339,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "24", @@ -1391,7 +1394,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "28", @@ -1445,7 +1449,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "32", @@ -1466,7 +1471,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1476,7 +1482,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1486,7 +1493,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1496,7 +1504,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1506,7 +1515,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1516,7 +1526,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1526,7 +1537,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1536,7 +1548,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1546,7 +1559,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1556,7 +1570,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1566,7 +1581,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1576,7 +1592,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1586,7 +1603,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1596,7 +1614,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1606,7 +1625,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1616,7 +1636,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1626,7 +1647,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1636,7 +1658,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1646,7 +1669,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1656,7 +1680,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1666,7 +1691,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1676,7 +1702,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1686,7 +1713,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1696,7 +1724,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1706,7 +1735,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1716,7 +1746,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1726,7 +1757,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1736,7 +1768,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1746,7 +1779,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1756,7 +1790,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1766,7 +1801,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1776,7 +1812,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1786,7 +1823,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1796,7 +1834,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -1806,7 +1845,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -1816,7 +1856,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1826,7 +1867,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -1836,7 +1878,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -1846,7 +1889,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -1856,7 +1900,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -1866,7 +1911,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1876,7 +1922,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -1886,7 +1933,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -1896,9 +1944,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_2_0_0" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/acs-msn3700-t1-version_2_0_3.json b/tests/db_migrator_input/config_db/acs-msn3700-t1-version_2_0_3.json index b0bebe6e3318..684b52910ef9 100644 --- a/tests/db_migrator_input/config_db/acs-msn3700-t1-version_2_0_3.json +++ b/tests/db_migrator_input/config_db/acs-msn3700-t1-version_2_0_3.json @@ -1262,7 +1262,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1316,7 +1317,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "23", @@ -1337,7 +1339,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "24", @@ -1391,7 +1394,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "28", @@ -1445,7 +1449,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "32", @@ -1466,7 +1471,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1476,7 +1482,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1486,7 +1493,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1496,7 +1504,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1506,7 +1515,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1516,7 +1526,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1526,7 +1537,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1536,7 +1548,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1546,7 +1559,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1556,7 +1570,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1566,7 +1581,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1576,7 +1592,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1586,7 +1603,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1596,7 +1614,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1606,7 +1625,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1616,7 +1636,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1626,7 +1647,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1636,7 +1658,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1646,7 +1669,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1656,7 +1680,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1666,7 +1691,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1676,7 +1702,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1686,7 +1713,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1696,7 +1724,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1706,7 +1735,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1716,7 +1746,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1726,7 +1757,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1736,7 +1768,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1746,7 +1779,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1756,7 +1790,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1766,7 +1801,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1776,7 +1812,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1786,7 +1823,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1796,7 +1834,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -1806,7 +1845,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -1816,7 +1856,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1826,7 +1867,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -1836,7 +1878,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -1846,7 +1889,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -1856,7 +1900,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -1866,7 +1911,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1876,7 +1922,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -1886,7 +1933,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -1896,9 +1944,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_2_0_3" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/acs-msn3800-t0-version_1_0_5.json b/tests/db_migrator_input/config_db/acs-msn3800-t0-version_1_0_5.json index 0f89a5208963..b6fddf62156d 100644 --- a/tests/db_migrator_input/config_db/acs-msn3800-t0-version_1_0_5.json +++ b/tests/db_migrator_input/config_db/acs-msn3800-t0-version_1_0_5.json @@ -998,7 +998,8 @@ "alias": "etp1a", "pfc_asym": "off", "speed": "10000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet2": { "index": "0", @@ -1272,7 +1273,8 @@ "alias": "etp15a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet58": { "index": "14", @@ -1282,7 +1284,8 @@ "alias": "etp15b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet60": { "index": "15", @@ -1292,7 +1295,8 @@ "alias": "etp16", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet64": { "index": "16", @@ -1346,7 +1350,8 @@ "alias": "etp19a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet74": { "index": "18", @@ -1356,7 +1361,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1366,7 +1372,8 @@ "alias": "etp20", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet80": { "index": "20", @@ -1376,7 +1383,8 @@ "alias": "etp21a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet82": { "index": "20", @@ -1386,7 +1394,8 @@ "alias": "etp21b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet84": { "index": "21", @@ -1396,7 +1405,8 @@ "alias": "etp22a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet86": { "index": "21", @@ -1406,7 +1416,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "22", @@ -1416,7 +1427,8 @@ "alias": "etp23a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet90": { "index": "22", @@ -1426,7 +1438,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "23", @@ -1436,7 +1449,8 @@ "alias": "etp24", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet96": { "index": "24", @@ -1446,7 +1460,8 @@ "alias": "etp25", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet100": { "index": "25", @@ -1456,7 +1471,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet104": { "index": "26", @@ -1466,7 +1482,8 @@ "alias": "etp27a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet106": { "index": "26", @@ -1476,7 +1493,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "27", @@ -1486,7 +1504,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet112": { "index": "28", @@ -1496,7 +1515,8 @@ "alias": "etp29", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet116": { "index": "29", @@ -1506,7 +1526,8 @@ "alias": "etp30", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet120": { "index": "30", @@ -1516,7 +1537,8 @@ "alias": "etp31a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet122": { "index": "30", @@ -1526,7 +1548,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "31", @@ -1536,7 +1559,8 @@ "alias": "etp32", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet128": { "index": "32", @@ -1546,7 +1570,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1556,7 +1581,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1566,7 +1592,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1576,7 +1603,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1586,7 +1614,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1596,7 +1625,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1606,7 +1636,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1616,7 +1647,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1626,7 +1658,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1636,7 +1669,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1646,7 +1680,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1656,7 +1691,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1666,7 +1702,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1676,7 +1713,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1686,7 +1724,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1696,7 +1735,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1706,7 +1746,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1716,7 +1757,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1726,7 +1768,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1736,7 +1779,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1746,7 +1790,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1756,7 +1801,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1766,7 +1812,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1776,7 +1823,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1786,7 +1834,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1796,7 +1845,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1806,7 +1856,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1816,7 +1867,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1826,7 +1878,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1836,7 +1889,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1846,7 +1900,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1856,7 +1911,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1866,7 +1922,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1876,7 +1933,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -1886,7 +1944,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -1896,7 +1955,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1906,7 +1966,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -1916,7 +1977,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -1926,7 +1988,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -1936,7 +1999,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -1946,7 +2010,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1956,7 +2021,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -1966,7 +2032,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -1976,9 +2043,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_1_0_5" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/acs-msn3800-t0-version_1_0_6.json b/tests/db_migrator_input/config_db/acs-msn3800-t0-version_1_0_6.json index 4568f39d3716..c655ab4deeb6 100644 --- a/tests/db_migrator_input/config_db/acs-msn3800-t0-version_1_0_6.json +++ b/tests/db_migrator_input/config_db/acs-msn3800-t0-version_1_0_6.json @@ -998,7 +998,8 @@ "alias": "etp1a", "pfc_asym": "off", "speed": "10000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet2": { "index": "0", @@ -1272,7 +1273,8 @@ "alias": "etp15a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet58": { "index": "14", @@ -1282,7 +1284,8 @@ "alias": "etp15b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet60": { "index": "15", @@ -1292,7 +1295,8 @@ "alias": "etp16", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet64": { "index": "16", @@ -1346,7 +1350,8 @@ "alias": "etp19a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet74": { "index": "18", @@ -1356,7 +1361,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1366,7 +1372,8 @@ "alias": "etp20", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet80": { "index": "20", @@ -1376,7 +1383,8 @@ "alias": "etp21a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet82": { "index": "20", @@ -1386,7 +1394,8 @@ "alias": "etp21b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet84": { "index": "21", @@ -1396,7 +1405,8 @@ "alias": "etp22a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet86": { "index": "21", @@ -1406,7 +1416,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "22", @@ -1416,7 +1427,8 @@ "alias": "etp23a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet90": { "index": "22", @@ -1426,7 +1438,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "23", @@ -1436,7 +1449,8 @@ "alias": "etp24", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet96": { "index": "24", @@ -1446,7 +1460,8 @@ "alias": "etp25", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet100": { "index": "25", @@ -1456,7 +1471,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet104": { "index": "26", @@ -1466,7 +1482,8 @@ "alias": "etp27a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet106": { "index": "26", @@ -1476,7 +1493,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "27", @@ -1486,7 +1504,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet112": { "index": "28", @@ -1496,7 +1515,8 @@ "alias": "etp29", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet116": { "index": "29", @@ -1506,7 +1526,8 @@ "alias": "etp30", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet120": { "index": "30", @@ -1516,7 +1537,8 @@ "alias": "etp31a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet122": { "index": "30", @@ -1526,7 +1548,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "31", @@ -1536,7 +1559,8 @@ "alias": "etp32", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet128": { "index": "32", @@ -1546,7 +1570,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1556,7 +1581,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1566,7 +1592,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1576,7 +1603,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1586,7 +1614,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1596,7 +1625,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1606,7 +1636,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1616,7 +1647,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1626,7 +1658,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1636,7 +1669,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1646,7 +1680,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1656,7 +1691,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1666,7 +1702,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1676,7 +1713,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1686,7 +1724,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1696,7 +1735,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1706,7 +1746,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1716,7 +1757,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1726,7 +1768,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1736,7 +1779,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1746,7 +1790,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1756,7 +1801,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1766,7 +1812,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1776,7 +1823,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1786,7 +1834,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1796,7 +1845,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1806,7 +1856,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1816,7 +1867,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1826,7 +1878,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1836,7 +1889,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1846,7 +1900,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1856,7 +1911,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1866,7 +1922,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1876,7 +1933,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -1886,7 +1944,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -1896,7 +1955,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1906,7 +1966,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -1916,7 +1977,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -1926,7 +1988,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -1936,7 +1999,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -1946,7 +2010,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1956,7 +2021,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -1966,7 +2032,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -1976,9 +2043,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_1_0_6" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/acs-msn3800-t0-version_2_0_0.json b/tests/db_migrator_input/config_db/acs-msn3800-t0-version_2_0_0.json index 140c6b1665d5..d367b5dca2e0 100644 --- a/tests/db_migrator_input/config_db/acs-msn3800-t0-version_2_0_0.json +++ b/tests/db_migrator_input/config_db/acs-msn3800-t0-version_2_0_0.json @@ -1337,7 +1337,8 @@ "alias": "etp19a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet74": { "index": "18", @@ -1347,7 +1348,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1357,7 +1359,8 @@ "alias": "etp20", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet80": { "index": "20", @@ -1367,7 +1370,8 @@ "alias": "etp21a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet82": { "index": "20", @@ -1377,7 +1381,8 @@ "alias": "etp21b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet84": { "index": "21", @@ -1387,7 +1392,8 @@ "alias": "etp22a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet86": { "index": "21", @@ -1397,7 +1403,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "22", @@ -1407,7 +1414,8 @@ "alias": "etp23a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet90": { "index": "22", @@ -1417,7 +1425,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "23", @@ -1427,7 +1436,8 @@ "alias": "etp24", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet96": { "index": "24", @@ -1437,7 +1447,8 @@ "alias": "etp25", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet100": { "index": "25", @@ -1447,7 +1458,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet104": { "index": "26", @@ -1457,7 +1469,8 @@ "alias": "etp27a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet106": { "index": "26", @@ -1467,7 +1480,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "27", @@ -1477,7 +1491,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet112": { "index": "28", @@ -1487,7 +1502,8 @@ "alias": "etp29", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet116": { "index": "29", @@ -1497,7 +1513,8 @@ "alias": "etp30", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet120": { "index": "30", @@ -1507,7 +1524,8 @@ "alias": "etp31a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet122": { "index": "30", @@ -1517,7 +1535,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "31", @@ -1527,7 +1546,8 @@ "alias": "etp32", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet128": { "index": "32", @@ -1537,7 +1557,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1547,7 +1568,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1557,7 +1579,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1567,7 +1590,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1577,7 +1601,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1587,7 +1612,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1597,7 +1623,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1607,7 +1634,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1617,7 +1645,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1627,7 +1656,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1637,7 +1667,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1647,7 +1678,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1657,7 +1689,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1667,7 +1700,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1677,7 +1711,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1687,7 +1722,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1697,7 +1733,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1707,7 +1744,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1717,7 +1755,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1727,7 +1766,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1737,7 +1777,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1747,7 +1788,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1757,7 +1799,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1767,7 +1810,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1777,7 +1821,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1787,7 +1832,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1797,7 +1843,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1807,7 +1854,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1817,7 +1865,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1827,7 +1876,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1837,7 +1887,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1847,7 +1898,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1857,7 +1909,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1867,7 +1920,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -1877,7 +1931,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -1887,7 +1942,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1897,7 +1953,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -1907,7 +1964,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -1917,7 +1975,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -1927,7 +1986,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -1937,7 +1997,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1947,7 +2008,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -1957,7 +2019,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -1967,9 +2030,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_2_0_0" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/acs-msn3800-t0-version_2_0_3.json b/tests/db_migrator_input/config_db/acs-msn3800-t0-version_2_0_3.json index 5c284326c86f..add7cf037192 100644 --- a/tests/db_migrator_input/config_db/acs-msn3800-t0-version_2_0_3.json +++ b/tests/db_migrator_input/config_db/acs-msn3800-t0-version_2_0_3.json @@ -1337,7 +1337,8 @@ "alias": "etp19a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet74": { "index": "18", @@ -1347,7 +1348,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1357,7 +1359,8 @@ "alias": "etp20", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet80": { "index": "20", @@ -1367,7 +1370,8 @@ "alias": "etp21a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet82": { "index": "20", @@ -1377,7 +1381,8 @@ "alias": "etp21b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet84": { "index": "21", @@ -1387,7 +1392,8 @@ "alias": "etp22a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet86": { "index": "21", @@ -1397,7 +1403,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "22", @@ -1407,7 +1414,8 @@ "alias": "etp23a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet90": { "index": "22", @@ -1417,7 +1425,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "23", @@ -1427,7 +1436,8 @@ "alias": "etp24", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet96": { "index": "24", @@ -1437,7 +1447,8 @@ "alias": "etp25", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet100": { "index": "25", @@ -1447,7 +1458,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet104": { "index": "26", @@ -1457,7 +1469,8 @@ "alias": "etp27a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet106": { "index": "26", @@ -1467,7 +1480,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "27", @@ -1477,7 +1491,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet112": { "index": "28", @@ -1487,7 +1502,8 @@ "alias": "etp29", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet116": { "index": "29", @@ -1497,7 +1513,8 @@ "alias": "etp30", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet120": { "index": "30", @@ -1507,7 +1524,8 @@ "alias": "etp31a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet122": { "index": "30", @@ -1517,7 +1535,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "31", @@ -1527,7 +1546,8 @@ "alias": "etp32", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet128": { "index": "32", @@ -1537,7 +1557,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1547,7 +1568,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1557,7 +1579,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1567,7 +1590,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1577,7 +1601,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1587,7 +1612,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1597,7 +1623,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1607,7 +1634,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1617,7 +1645,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1627,7 +1656,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1637,7 +1667,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1647,7 +1678,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1657,7 +1689,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1667,7 +1700,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1677,7 +1711,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1687,7 +1722,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1697,7 +1733,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1707,7 +1744,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1717,7 +1755,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1727,7 +1766,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1737,7 +1777,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1747,7 +1788,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1757,7 +1799,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1767,7 +1810,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1777,7 +1821,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1787,7 +1832,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1797,7 +1843,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1807,7 +1854,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1817,7 +1865,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1827,7 +1876,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1837,7 +1887,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1847,7 +1898,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1857,7 +1909,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1867,7 +1920,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -1877,7 +1931,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -1887,7 +1942,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1897,7 +1953,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -1907,7 +1964,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -1917,7 +1975,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -1927,7 +1986,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -1937,7 +1997,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1947,7 +2008,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -1957,7 +2019,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -1967,9 +2030,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_2_0_3" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/acs-msn3800-t1-version_1_0_5.json b/tests/db_migrator_input/config_db/acs-msn3800-t1-version_1_0_5.json index 47544be5b478..9ea07af0f951 100644 --- a/tests/db_migrator_input/config_db/acs-msn3800-t1-version_1_0_5.json +++ b/tests/db_migrator_input/config_db/acs-msn3800-t1-version_1_0_5.json @@ -1464,7 +1464,8 @@ "alias": "etp19a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet74": { "index": "18", @@ -1474,7 +1475,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1484,7 +1486,8 @@ "alias": "etp20", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet80": { "index": "20", @@ -1494,7 +1497,8 @@ "alias": "etp21a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet82": { "index": "20", @@ -1504,7 +1508,8 @@ "alias": "etp21b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet84": { "index": "21", @@ -1514,7 +1519,8 @@ "alias": "etp22a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet86": { "index": "21", @@ -1524,7 +1530,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "22", @@ -1534,7 +1541,8 @@ "alias": "etp23a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet90": { "index": "22", @@ -1544,7 +1552,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "23", @@ -1554,7 +1563,8 @@ "alias": "etp24", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet96": { "index": "24", @@ -1564,7 +1574,8 @@ "alias": "etp25", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet100": { "index": "25", @@ -1574,7 +1585,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet104": { "index": "26", @@ -1584,7 +1596,8 @@ "alias": "etp27a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet106": { "index": "26", @@ -1594,7 +1607,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "27", @@ -1604,7 +1618,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet112": { "index": "28", @@ -1614,7 +1629,8 @@ "alias": "etp29", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet116": { "index": "29", @@ -1624,7 +1640,8 @@ "alias": "etp30", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet120": { "index": "30", @@ -1634,7 +1651,8 @@ "alias": "etp31a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet122": { "index": "30", @@ -1644,7 +1662,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "31", @@ -1654,7 +1673,8 @@ "alias": "etp32", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet128": { "index": "32", @@ -1664,7 +1684,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1674,7 +1695,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1684,7 +1706,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1694,7 +1717,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1704,7 +1728,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1714,7 +1739,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1724,7 +1750,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1734,7 +1761,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1744,7 +1772,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1754,7 +1783,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1764,7 +1794,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1774,7 +1805,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1784,7 +1816,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1794,7 +1827,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1804,7 +1838,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1814,7 +1849,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1824,7 +1860,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1834,7 +1871,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1844,7 +1882,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1854,7 +1893,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1864,7 +1904,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1874,7 +1915,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1884,7 +1926,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1894,7 +1937,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1904,7 +1948,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1914,7 +1959,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1924,7 +1970,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1934,7 +1981,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1944,7 +1992,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1954,7 +2003,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1964,7 +2014,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1974,7 +2025,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1984,7 +2036,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1994,7 +2047,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -2004,7 +2058,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -2014,7 +2069,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -2024,7 +2080,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -2034,7 +2091,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -2044,7 +2102,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -2054,7 +2113,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -2064,7 +2124,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -2074,7 +2135,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -2084,7 +2146,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -2094,9 +2157,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_1_0_5" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/acs-msn3800-t1-version_1_0_6.json b/tests/db_migrator_input/config_db/acs-msn3800-t1-version_1_0_6.json index db9564a12150..049834652ea9 100644 --- a/tests/db_migrator_input/config_db/acs-msn3800-t1-version_1_0_6.json +++ b/tests/db_migrator_input/config_db/acs-msn3800-t1-version_1_0_6.json @@ -1464,7 +1464,8 @@ "alias": "etp19a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet74": { "index": "18", @@ -1474,7 +1475,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1484,7 +1486,8 @@ "alias": "etp20", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet80": { "index": "20", @@ -1494,7 +1497,8 @@ "alias": "etp21a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet82": { "index": "20", @@ -1504,7 +1508,8 @@ "alias": "etp21b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet84": { "index": "21", @@ -1514,7 +1519,8 @@ "alias": "etp22a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet86": { "index": "21", @@ -1524,7 +1530,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "22", @@ -1534,7 +1541,8 @@ "alias": "etp23a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet90": { "index": "22", @@ -1544,7 +1552,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "23", @@ -1554,7 +1563,8 @@ "alias": "etp24", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet96": { "index": "24", @@ -1564,7 +1574,8 @@ "alias": "etp25", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet100": { "index": "25", @@ -1574,7 +1585,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet104": { "index": "26", @@ -1584,7 +1596,8 @@ "alias": "etp27a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet106": { "index": "26", @@ -1594,7 +1607,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "27", @@ -1604,7 +1618,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet112": { "index": "28", @@ -1614,7 +1629,8 @@ "alias": "etp29", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet116": { "index": "29", @@ -1624,7 +1640,8 @@ "alias": "etp30", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet120": { "index": "30", @@ -1634,7 +1651,8 @@ "alias": "etp31a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet122": { "index": "30", @@ -1644,7 +1662,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "31", @@ -1654,7 +1673,8 @@ "alias": "etp32", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet128": { "index": "32", @@ -1664,7 +1684,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1674,7 +1695,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1684,7 +1706,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1694,7 +1717,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1704,7 +1728,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1714,7 +1739,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1724,7 +1750,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1734,7 +1761,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1744,7 +1772,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1754,7 +1783,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1764,7 +1794,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1774,7 +1805,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1784,7 +1816,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1794,7 +1827,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1804,7 +1838,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1814,7 +1849,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1824,7 +1860,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1834,7 +1871,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1844,7 +1882,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1854,7 +1893,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1864,7 +1904,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1874,7 +1915,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1884,7 +1926,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1894,7 +1937,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1904,7 +1948,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1914,7 +1959,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1924,7 +1970,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1934,7 +1981,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1944,7 +1992,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1954,7 +2003,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1964,7 +2014,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1974,7 +2025,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1984,7 +2036,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1994,7 +2047,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -2004,7 +2058,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -2014,7 +2069,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -2024,7 +2080,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -2034,7 +2091,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -2044,7 +2102,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -2054,7 +2113,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -2064,7 +2124,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -2074,7 +2135,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -2084,7 +2146,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -2094,9 +2157,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_1_0_6" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/acs-msn3800-t1-version_2_0_0.json b/tests/db_migrator_input/config_db/acs-msn3800-t1-version_2_0_0.json index 938b9fc6c915..9a14f0659ce6 100644 --- a/tests/db_migrator_input/config_db/acs-msn3800-t1-version_2_0_0.json +++ b/tests/db_migrator_input/config_db/acs-msn3800-t1-version_2_0_0.json @@ -1385,7 +1385,8 @@ "alias": "etp19a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet74": { "index": "18", @@ -1395,7 +1396,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1405,7 +1407,8 @@ "alias": "etp20", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet80": { "index": "20", @@ -1415,7 +1418,8 @@ "alias": "etp21a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet82": { "index": "20", @@ -1425,7 +1429,8 @@ "alias": "etp21b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet84": { "index": "21", @@ -1435,7 +1440,8 @@ "alias": "etp22a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet86": { "index": "21", @@ -1445,7 +1451,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "22", @@ -1455,7 +1462,8 @@ "alias": "etp23a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet90": { "index": "22", @@ -1465,7 +1473,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "23", @@ -1475,7 +1484,8 @@ "alias": "etp24", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet96": { "index": "24", @@ -1485,7 +1495,8 @@ "alias": "etp25", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet100": { "index": "25", @@ -1495,7 +1506,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet104": { "index": "26", @@ -1505,7 +1517,8 @@ "alias": "etp27a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet106": { "index": "26", @@ -1515,7 +1528,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "27", @@ -1525,7 +1539,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet112": { "index": "28", @@ -1535,7 +1550,8 @@ "alias": "etp29", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet116": { "index": "29", @@ -1545,7 +1561,8 @@ "alias": "etp30", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet120": { "index": "30", @@ -1555,7 +1572,8 @@ "alias": "etp31a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet122": { "index": "30", @@ -1565,7 +1583,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "31", @@ -1575,7 +1594,8 @@ "alias": "etp32", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet128": { "index": "32", @@ -1585,7 +1605,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1595,7 +1616,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1605,7 +1627,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1615,7 +1638,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1625,7 +1649,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1635,7 +1660,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1645,7 +1671,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1655,7 +1682,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1665,7 +1693,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1675,7 +1704,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1685,7 +1715,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1695,7 +1726,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1705,7 +1737,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1715,7 +1748,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1725,7 +1759,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1735,7 +1770,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1745,7 +1781,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1755,7 +1792,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1765,7 +1803,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1775,7 +1814,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1785,7 +1825,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1795,7 +1836,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1805,7 +1847,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1815,7 +1858,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1825,7 +1869,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1835,7 +1880,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1845,7 +1891,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1855,7 +1902,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1865,7 +1913,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1875,7 +1924,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1885,7 +1935,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1895,7 +1946,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1905,7 +1957,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1915,7 +1968,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -1925,7 +1979,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -1935,7 +1990,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1945,7 +2001,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -1955,7 +2012,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -1965,7 +2023,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -1975,7 +2034,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -1985,7 +2045,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1995,7 +2056,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -2005,7 +2067,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -2015,9 +2078,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_2_0_0" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/acs-msn3800-t1-version_2_0_3.json b/tests/db_migrator_input/config_db/acs-msn3800-t1-version_2_0_3.json index 23d3a2da638f..b930cc463238 100644 --- a/tests/db_migrator_input/config_db/acs-msn3800-t1-version_2_0_3.json +++ b/tests/db_migrator_input/config_db/acs-msn3800-t1-version_2_0_3.json @@ -1385,7 +1385,8 @@ "alias": "etp19a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet74": { "index": "18", @@ -1395,7 +1396,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1405,7 +1407,8 @@ "alias": "etp20", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet80": { "index": "20", @@ -1415,7 +1418,8 @@ "alias": "etp21a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet82": { "index": "20", @@ -1425,7 +1429,8 @@ "alias": "etp21b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet84": { "index": "21", @@ -1435,7 +1440,8 @@ "alias": "etp22a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet86": { "index": "21", @@ -1445,7 +1451,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "22", @@ -1455,7 +1462,8 @@ "alias": "etp23a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet90": { "index": "22", @@ -1465,7 +1473,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "23", @@ -1475,7 +1484,8 @@ "alias": "etp24", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet96": { "index": "24", @@ -1485,7 +1495,8 @@ "alias": "etp25", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet100": { "index": "25", @@ -1495,7 +1506,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet104": { "index": "26", @@ -1505,7 +1517,8 @@ "alias": "etp27a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet106": { "index": "26", @@ -1515,7 +1528,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "27", @@ -1525,7 +1539,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet112": { "index": "28", @@ -1535,7 +1550,8 @@ "alias": "etp29", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet116": { "index": "29", @@ -1545,7 +1561,8 @@ "alias": "etp30", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet120": { "index": "30", @@ -1555,7 +1572,8 @@ "alias": "etp31a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet122": { "index": "30", @@ -1565,7 +1583,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "31", @@ -1575,7 +1594,8 @@ "alias": "etp32", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet128": { "index": "32", @@ -1585,7 +1605,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1595,7 +1616,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1605,7 +1627,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1615,7 +1638,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1625,7 +1649,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1635,7 +1660,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1645,7 +1671,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1655,7 +1682,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1665,7 +1693,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1675,7 +1704,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1685,7 +1715,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1695,7 +1726,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1705,7 +1737,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1715,7 +1748,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1725,7 +1759,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1735,7 +1770,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1745,7 +1781,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1755,7 +1792,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1765,7 +1803,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1775,7 +1814,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1785,7 +1825,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1795,7 +1836,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1805,7 +1847,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1815,7 +1858,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1825,7 +1869,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1835,7 +1880,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1845,7 +1891,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1855,7 +1902,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1865,7 +1913,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1875,7 +1924,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1885,7 +1935,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1895,7 +1946,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1905,7 +1957,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1915,7 +1968,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -1925,7 +1979,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -1935,7 +1990,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1945,7 +2001,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -1955,7 +2012,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -1965,7 +2023,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -1975,7 +2034,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -1985,7 +2045,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1995,7 +2056,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -2005,7 +2067,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -2015,9 +2078,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_2_0_3" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/acs-msn4700-t0-version_1_0_4.json b/tests/db_migrator_input/config_db/acs-msn4700-t0-version_1_0_4.json index 1d6df466ca8e..34b697493ec7 100644 --- a/tests/db_migrator_input/config_db/acs-msn4700-t0-version_1_0_4.json +++ b/tests/db_migrator_input/config_db/acs-msn4700-t0-version_1_0_4.json @@ -762,7 +762,8 @@ "mtu": "9100", "alias": "etp1", "pfc_asym": "off", - "speed": "10000" + "speed": "10000", + "admin_status": "up" }, "PORT|Ethernet8": { "index": "2", @@ -1011,7 +1012,8 @@ "mtu": "9100", "alias": "etp26", "pfc_asym": "off", - "speed": "400000" + "speed": "400000", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "27", @@ -1020,7 +1022,8 @@ "mtu": "9100", "alias": "etp27", "pfc_asym": "off", - "speed": "400000" + "speed": "400000", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "28", @@ -1029,7 +1032,8 @@ "mtu": "9100", "alias": "etp28", "pfc_asym": "off", - "speed": "400000" + "speed": "400000", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "29", @@ -1076,4 +1080,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_4" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/acs-msn4700-t0-version_1_0_5.json b/tests/db_migrator_input/config_db/acs-msn4700-t0-version_1_0_5.json index 7e1b3867490f..313ca97934d3 100644 --- a/tests/db_migrator_input/config_db/acs-msn4700-t0-version_1_0_5.json +++ b/tests/db_migrator_input/config_db/acs-msn4700-t0-version_1_0_5.json @@ -1350,7 +1350,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1404,7 +1405,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "12", @@ -1425,7 +1427,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "24", @@ -1479,7 +1482,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "28", @@ -1533,7 +1537,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "32", @@ -1565,7 +1570,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "18", @@ -1586,7 +1592,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1596,7 +1603,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "19", @@ -1617,7 +1625,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "20", @@ -1638,7 +1647,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1648,7 +1658,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "21", @@ -1669,7 +1680,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1679,7 +1691,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1689,7 +1702,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "22", @@ -1710,7 +1724,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1720,7 +1735,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "23", @@ -1741,7 +1757,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1751,7 +1768,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1761,7 +1779,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "24", @@ -1782,7 +1801,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1792,7 +1812,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "25", @@ -1813,7 +1834,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1823,7 +1845,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "26", @@ -1833,7 +1856,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "400000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1843,7 +1867,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "27", @@ -1853,7 +1878,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "400000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1863,7 +1889,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1873,7 +1900,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "28", @@ -1883,7 +1911,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "400000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1893,7 +1922,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "29", @@ -1914,7 +1944,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1924,7 +1955,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "30", @@ -1945,7 +1977,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "31", @@ -1966,7 +1999,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1976,7 +2010,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "32", @@ -1997,9 +2032,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_1_0_5" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/acs-msn4700-t0-version_1_0_6.json b/tests/db_migrator_input/config_db/acs-msn4700-t0-version_1_0_6.json index b1064e9af241..1eb7bc9ff034 100644 --- a/tests/db_migrator_input/config_db/acs-msn4700-t0-version_1_0_6.json +++ b/tests/db_migrator_input/config_db/acs-msn4700-t0-version_1_0_6.json @@ -1350,7 +1350,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1404,7 +1405,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "12", @@ -1425,7 +1427,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "24", @@ -1479,7 +1482,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "28", @@ -1533,7 +1537,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "32", @@ -1565,7 +1570,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "18", @@ -1586,7 +1592,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1596,7 +1603,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "19", @@ -1617,7 +1625,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "20", @@ -1638,7 +1647,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1648,7 +1658,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "21", @@ -1669,7 +1680,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1679,7 +1691,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1689,7 +1702,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "22", @@ -1710,7 +1724,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1720,7 +1735,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "23", @@ -1741,7 +1757,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1751,7 +1768,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1761,7 +1779,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "24", @@ -1782,7 +1801,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1792,7 +1812,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "25", @@ -1813,7 +1834,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1823,7 +1845,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "26", @@ -1833,7 +1856,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "400000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1843,7 +1867,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "27", @@ -1853,7 +1878,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "400000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1863,7 +1889,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1873,7 +1900,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "28", @@ -1883,7 +1911,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "400000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1893,7 +1922,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "29", @@ -1914,7 +1944,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1924,7 +1955,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "30", @@ -1945,7 +1977,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "31", @@ -1966,7 +1999,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1976,7 +2010,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "32", @@ -1997,9 +2032,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_1_0_6" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/acs-msn4700-t0-version_2_0_0.json b/tests/db_migrator_input/config_db/acs-msn4700-t0-version_2_0_0.json index abce0791053f..d0c5b063442e 100644 --- a/tests/db_migrator_input/config_db/acs-msn4700-t0-version_2_0_0.json +++ b/tests/db_migrator_input/config_db/acs-msn4700-t0-version_2_0_0.json @@ -1292,7 +1292,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1346,7 +1347,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "12", @@ -1367,7 +1369,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "24", @@ -1421,7 +1424,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "28", @@ -1475,7 +1479,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "32", @@ -1507,7 +1512,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "18", @@ -1528,7 +1534,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1538,7 +1545,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "19", @@ -1559,7 +1567,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "20", @@ -1580,7 +1589,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1590,7 +1600,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "21", @@ -1611,7 +1622,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1621,7 +1633,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1631,7 +1644,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "22", @@ -1652,7 +1666,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1662,7 +1677,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "23", @@ -1683,7 +1699,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1693,7 +1710,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1703,7 +1721,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "24", @@ -1724,7 +1743,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1734,7 +1754,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "25", @@ -1755,7 +1776,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1765,7 +1787,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "26", @@ -1775,7 +1798,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "400000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1785,7 +1809,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "27", @@ -1795,7 +1820,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "400000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1805,7 +1831,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1815,7 +1842,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "28", @@ -1825,7 +1853,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "400000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1835,7 +1864,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "29", @@ -1856,7 +1886,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1866,7 +1897,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "30", @@ -1887,7 +1919,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "31", @@ -1908,7 +1941,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1918,7 +1952,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "32", @@ -1939,9 +1974,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_2_0_0" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/acs-msn4700-t0-version_2_0_3.json b/tests/db_migrator_input/config_db/acs-msn4700-t0-version_2_0_3.json index 12bea7ab687c..fdcd78b5bb4b 100644 --- a/tests/db_migrator_input/config_db/acs-msn4700-t0-version_2_0_3.json +++ b/tests/db_migrator_input/config_db/acs-msn4700-t0-version_2_0_3.json @@ -1292,7 +1292,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1346,7 +1347,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "12", @@ -1367,7 +1369,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "24", @@ -1421,7 +1424,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "28", @@ -1475,7 +1479,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "32", @@ -1507,7 +1512,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "18", @@ -1528,7 +1534,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1538,7 +1545,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "19", @@ -1559,7 +1567,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "20", @@ -1580,7 +1589,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1590,7 +1600,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "21", @@ -1611,7 +1622,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1621,7 +1633,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1631,7 +1644,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "22", @@ -1652,7 +1666,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1662,7 +1677,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "23", @@ -1683,7 +1699,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1693,7 +1710,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1703,7 +1721,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "24", @@ -1724,7 +1743,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1734,7 +1754,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "25", @@ -1755,7 +1776,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1765,7 +1787,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "26", @@ -1775,7 +1798,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "400000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1785,7 +1809,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "27", @@ -1795,7 +1820,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "400000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1805,7 +1831,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1815,7 +1842,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "28", @@ -1825,7 +1853,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "400000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1835,7 +1864,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "29", @@ -1856,7 +1886,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1866,7 +1897,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "30", @@ -1887,7 +1919,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "31", @@ -1908,7 +1941,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1918,7 +1952,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "32", @@ -1939,9 +1974,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_2_0_3" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/acs-msn4700-t1-version_1_0_4.json b/tests/db_migrator_input/config_db/acs-msn4700-t1-version_1_0_4.json index 477b48eae42b..763342e143f5 100644 --- a/tests/db_migrator_input/config_db/acs-msn4700-t1-version_1_0_4.json +++ b/tests/db_migrator_input/config_db/acs-msn4700-t1-version_1_0_4.json @@ -1451,7 +1451,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1505,7 +1506,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "12", @@ -1526,7 +1528,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "24", @@ -1580,7 +1583,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "28", @@ -1634,7 +1638,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "32", @@ -1666,7 +1671,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "18", @@ -1687,7 +1693,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1697,7 +1704,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "19", @@ -1718,7 +1726,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "20", @@ -1739,7 +1748,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1749,7 +1759,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "21", @@ -1770,7 +1781,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1780,7 +1792,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1790,7 +1803,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "22", @@ -1811,7 +1825,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1821,7 +1836,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "23", @@ -1842,7 +1858,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1852,7 +1869,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1862,7 +1880,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "24", @@ -1883,7 +1902,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1893,7 +1913,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "25", @@ -1914,7 +1935,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1924,7 +1946,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "26", @@ -1945,7 +1968,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "27", @@ -1966,7 +1990,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1976,7 +2001,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "28", @@ -1997,7 +2023,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "29", @@ -2018,7 +2045,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -2028,7 +2056,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "30", @@ -2049,7 +2078,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "31", @@ -2070,7 +2100,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -2080,7 +2111,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "32", @@ -2101,9 +2133,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_1_0_4" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/acs-msn4700-t1-version_1_0_5.json b/tests/db_migrator_input/config_db/acs-msn4700-t1-version_1_0_5.json index 3524f436518a..c043e37bf0c3 100644 --- a/tests/db_migrator_input/config_db/acs-msn4700-t1-version_1_0_5.json +++ b/tests/db_migrator_input/config_db/acs-msn4700-t1-version_1_0_5.json @@ -1451,7 +1451,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1505,7 +1506,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "12", @@ -1526,7 +1528,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "24", @@ -1580,7 +1583,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "28", @@ -1634,7 +1638,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "32", @@ -1666,7 +1671,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "18", @@ -1687,7 +1693,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1697,7 +1704,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "19", @@ -1718,7 +1726,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "20", @@ -1739,7 +1748,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1749,7 +1759,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "21", @@ -1770,7 +1781,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1780,7 +1792,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1790,7 +1803,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "22", @@ -1811,7 +1825,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1821,7 +1836,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "23", @@ -1842,7 +1858,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1852,7 +1869,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1862,7 +1880,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "24", @@ -1883,7 +1902,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1893,7 +1913,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "25", @@ -1914,7 +1935,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1924,7 +1946,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "26", @@ -1945,7 +1968,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "27", @@ -1966,7 +1990,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1976,7 +2001,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "28", @@ -1997,7 +2023,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "29", @@ -2018,7 +2045,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -2028,7 +2056,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "30", @@ -2049,7 +2078,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "31", @@ -2070,7 +2100,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -2080,7 +2111,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "32", @@ -2101,9 +2133,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_1_0_5" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/acs-msn4700-t1-version_1_0_6.json b/tests/db_migrator_input/config_db/acs-msn4700-t1-version_1_0_6.json index 3e838083919a..6716ec67b4d7 100644 --- a/tests/db_migrator_input/config_db/acs-msn4700-t1-version_1_0_6.json +++ b/tests/db_migrator_input/config_db/acs-msn4700-t1-version_1_0_6.json @@ -1451,7 +1451,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1505,7 +1506,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "12", @@ -1526,7 +1528,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "24", @@ -1580,7 +1583,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "28", @@ -1634,7 +1638,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "32", @@ -1666,7 +1671,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "18", @@ -1687,7 +1693,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1697,7 +1704,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "19", @@ -1718,7 +1726,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "20", @@ -1739,7 +1748,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1749,7 +1759,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "21", @@ -1770,7 +1781,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1780,7 +1792,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1790,7 +1803,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "22", @@ -1811,7 +1825,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1821,7 +1836,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "23", @@ -1842,7 +1858,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1852,7 +1869,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1862,7 +1880,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "24", @@ -1883,7 +1902,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1893,7 +1913,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "25", @@ -1914,7 +1935,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1924,7 +1946,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "26", @@ -1945,7 +1968,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "27", @@ -1966,7 +1990,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1976,7 +2001,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "28", @@ -1997,7 +2023,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "29", @@ -2018,7 +2045,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -2028,7 +2056,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "30", @@ -2049,7 +2078,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "31", @@ -2070,7 +2100,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -2080,7 +2111,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "32", @@ -2101,9 +2133,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_1_0_6" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/acs-msn4700-t1-version_2_0_0.json b/tests/db_migrator_input/config_db/acs-msn4700-t1-version_2_0_0.json index 2b82120126f0..05dc4f5558b5 100644 --- a/tests/db_migrator_input/config_db/acs-msn4700-t1-version_2_0_0.json +++ b/tests/db_migrator_input/config_db/acs-msn4700-t1-version_2_0_0.json @@ -1358,7 +1358,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1412,7 +1413,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "12", @@ -1433,7 +1435,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "24", @@ -1487,7 +1490,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "28", @@ -1541,7 +1545,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "32", @@ -1573,7 +1578,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "18", @@ -1594,7 +1600,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1604,7 +1611,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "19", @@ -1625,7 +1633,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "20", @@ -1646,7 +1655,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1656,7 +1666,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "21", @@ -1677,7 +1688,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1687,7 +1699,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1697,7 +1710,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "22", @@ -1718,7 +1732,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1728,7 +1743,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "23", @@ -1749,7 +1765,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1759,7 +1776,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1769,7 +1787,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "24", @@ -1790,7 +1809,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1800,7 +1820,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "25", @@ -1821,7 +1842,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1831,7 +1853,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "26", @@ -1852,7 +1875,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "27", @@ -1873,7 +1897,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1883,7 +1908,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "28", @@ -1904,7 +1930,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "29", @@ -1925,7 +1952,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1935,7 +1963,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "30", @@ -1956,7 +1985,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "31", @@ -1977,7 +2007,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1987,7 +2018,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "32", @@ -2008,9 +2040,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_2_0_0" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/acs-msn4700-t1-version_2_0_3.json b/tests/db_migrator_input/config_db/acs-msn4700-t1-version_2_0_3.json index ca9bb8d353ec..933844321234 100644 --- a/tests/db_migrator_input/config_db/acs-msn4700-t1-version_2_0_3.json +++ b/tests/db_migrator_input/config_db/acs-msn4700-t1-version_2_0_3.json @@ -1358,7 +1358,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1412,7 +1413,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "12", @@ -1433,7 +1435,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "24", @@ -1487,7 +1490,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "28", @@ -1541,7 +1545,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "32", @@ -1573,7 +1578,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "18", @@ -1594,7 +1600,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1604,7 +1611,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "19", @@ -1625,7 +1633,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "20", @@ -1646,7 +1655,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1656,7 +1666,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "21", @@ -1677,7 +1688,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1687,7 +1699,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1697,7 +1710,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "22", @@ -1718,7 +1732,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1728,7 +1743,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "23", @@ -1749,7 +1765,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1759,7 +1776,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1769,7 +1787,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "24", @@ -1790,7 +1809,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1800,7 +1820,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "25", @@ -1821,7 +1842,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1831,7 +1853,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "26", @@ -1852,7 +1875,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "27", @@ -1873,7 +1897,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1883,7 +1908,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "28", @@ -1904,7 +1930,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "29", @@ -1925,7 +1952,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1935,7 +1963,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "30", @@ -1956,7 +1985,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "31", @@ -1977,7 +2007,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1987,7 +2018,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "32", @@ -2008,9 +2040,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_2_0_3" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-single-pool-t0-version_1_0_4.json b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-single-pool-t0-version_1_0_4.json index b20ba6827b0c..4509a55587a5 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-single-pool-t0-version_1_0_4.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-single-pool-t0-version_1_0_4.json @@ -741,7 +741,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "100000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -990,7 +991,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -999,7 +1001,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1008,7 +1011,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1051,4 +1055,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_4" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-single-pool-t0-version_1_0_5.json b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-single-pool-t0-version_1_0_5.json index 3e712054f0f7..44c05c9dfb06 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-single-pool-t0-version_1_0_5.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-single-pool-t0-version_1_0_5.json @@ -742,7 +742,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "100000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -991,7 +992,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -1000,7 +1002,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1009,7 +1012,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1052,4 +1056,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_5" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-single-pool-t0-version_1_0_6.json b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-single-pool-t0-version_1_0_6.json index 6f5c2a02789f..c5369e6344d8 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-single-pool-t0-version_1_0_6.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-single-pool-t0-version_1_0_6.json @@ -742,7 +742,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "100000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -991,7 +992,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -1000,7 +1002,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1009,7 +1012,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1052,4 +1056,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_6" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-single-pool-t0-version_2_0_0.json b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-single-pool-t0-version_2_0_0.json index c49cf5c2a039..af7b580c120b 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-single-pool-t0-version_2_0_0.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-single-pool-t0-version_2_0_0.json @@ -743,7 +743,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "100000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -992,7 +993,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -1001,7 +1003,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1010,7 +1013,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1053,4 +1057,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_2_0_0" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-single-pool-t0-version_2_0_3.json b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-single-pool-t0-version_2_0_3.json index 62c0d88c9e74..22850ddc1fe6 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-single-pool-t0-version_2_0_3.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-single-pool-t0-version_2_0_3.json @@ -743,7 +743,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "100000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -992,7 +993,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -1001,7 +1003,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1010,7 +1013,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1053,4 +1057,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_2_0_3" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-single-pool-t1-version_1_0_4.json b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-single-pool-t1-version_1_0_4.json index a25621c20fff..0acf1b0fac02 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-single-pool-t1-version_1_0_4.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-single-pool-t1-version_1_0_4.json @@ -1148,4 +1148,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_4" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-single-pool-t1-version_1_0_5.json b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-single-pool-t1-version_1_0_5.json index 390e92209f66..91e78b8b9656 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-single-pool-t1-version_1_0_5.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-single-pool-t1-version_1_0_5.json @@ -1149,4 +1149,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_5" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-single-pool-t1-version_1_0_6.json b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-single-pool-t1-version_1_0_6.json index 69ea7c2115e4..c7d7070c74a3 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-single-pool-t1-version_1_0_6.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-single-pool-t1-version_1_0_6.json @@ -1149,4 +1149,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_6" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-single-pool-t1-version_2_0_0.json b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-single-pool-t1-version_2_0_0.json index aea55c1911f5..2b680a34e9ea 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-single-pool-t1-version_2_0_0.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-single-pool-t1-version_2_0_0.json @@ -1150,4 +1150,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_2_0_0" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-single-pool-t1-version_2_0_3.json b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-single-pool-t1-version_2_0_3.json index ccde40f2ffbf..077e8e847f1c 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-single-pool-t1-version_2_0_3.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-single-pool-t1-version_2_0_3.json @@ -1150,4 +1150,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_2_0_3" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t0-version_1_0_1.json b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t0-version_1_0_1.json index 91247de407a5..b85b85118cfd 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t0-version_1_0_1.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t0-version_1_0_1.json @@ -746,7 +746,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "100000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -995,7 +996,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -1004,7 +1006,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1013,7 +1016,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1056,4 +1060,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_1" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t0-version_1_0_2.json b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t0-version_1_0_2.json index 42fc9ac247a7..6648cce02425 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t0-version_1_0_2.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t0-version_1_0_2.json @@ -746,7 +746,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "100000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -995,7 +996,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -1004,7 +1006,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1013,7 +1016,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1056,4 +1060,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_2" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t0-version_1_0_3.json b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t0-version_1_0_3.json index 233a0e9e7bb5..c80dce58741b 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t0-version_1_0_3.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t0-version_1_0_3.json @@ -746,7 +746,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "100000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -995,7 +996,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -1004,7 +1006,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1013,7 +1016,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1056,4 +1060,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_3" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t0-version_1_0_4.json b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t0-version_1_0_4.json index b2eaa07bf308..2ba6c8253a39 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t0-version_1_0_4.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t0-version_1_0_4.json @@ -746,7 +746,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "100000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -995,7 +996,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -1004,7 +1006,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1013,7 +1016,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1056,4 +1060,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_4" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t0-version_1_0_5.json b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t0-version_1_0_5.json index 97be9eb688d0..70e25898ce51 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t0-version_1_0_5.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t0-version_1_0_5.json @@ -747,7 +747,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "100000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -996,7 +997,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -1005,7 +1007,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1014,7 +1017,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1057,4 +1061,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_5" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t0-version_1_0_6.json b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t0-version_1_0_6.json index 3a0845ab213d..8b978e50ac9e 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t0-version_1_0_6.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t0-version_1_0_6.json @@ -747,7 +747,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "100000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -996,7 +997,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -1005,7 +1007,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1014,7 +1017,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1057,4 +1061,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_6" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t0-version_2_0_0.json b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t0-version_2_0_0.json index c5d7758f305a..fd55102445ae 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t0-version_2_0_0.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t0-version_2_0_0.json @@ -748,7 +748,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "100000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -997,7 +998,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -1006,7 +1008,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1015,7 +1018,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1058,4 +1062,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_2_0_0" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t0-version_2_0_3.json b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t0-version_2_0_3.json index 80f0c488bdfa..5144e7fbc6c6 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t0-version_2_0_3.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t0-version_2_0_3.json @@ -748,7 +748,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "100000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -997,7 +998,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -1006,7 +1008,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1015,7 +1018,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1058,4 +1062,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_2_0_3" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t1-version_1_0_1.json b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t1-version_1_0_1.json index 4ecde4091a03..7ec20f8cec22 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t1-version_1_0_1.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t1-version_1_0_1.json @@ -1153,4 +1153,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_1" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t1-version_1_0_2.json b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t1-version_1_0_2.json index a28b299c3a04..31a1179ad2c4 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t1-version_1_0_2.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t1-version_1_0_2.json @@ -1153,4 +1153,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_2" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t1-version_1_0_3.json b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t1-version_1_0_3.json index 57dc1333ad53..855b16afc337 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t1-version_1_0_3.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t1-version_1_0_3.json @@ -1153,4 +1153,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_3" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t1-version_1_0_4.json b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t1-version_1_0_4.json index 2aeea31c7857..2b0ad7852843 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t1-version_1_0_4.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t1-version_1_0_4.json @@ -1153,4 +1153,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_4" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t1-version_1_0_5.json b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t1-version_1_0_5.json index 4691b5722e70..19aeca0bc959 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t1-version_1_0_5.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t1-version_1_0_5.json @@ -1154,4 +1154,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_5" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t1-version_1_0_6.json b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t1-version_1_0_6.json index da4055224f9e..9c6b896de5ae 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t1-version_1_0_6.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t1-version_1_0_6.json @@ -1154,4 +1154,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_6" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t1-version_2_0_0.json b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t1-version_2_0_0.json index 3ad73e8832bb..38428be2637e 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t1-version_2_0_0.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t1-version_2_0_0.json @@ -1155,4 +1155,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_2_0_0" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t1-version_2_0_3.json b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t1-version_2_0_3.json index 45d6e804004e..32c0814a7a57 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t1-version_2_0_3.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-c28d8-t1-version_2_0_3.json @@ -1155,4 +1155,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_2_0_3" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-d40c8s8-t0-version_1_0_5.json b/tests/db_migrator_input/config_db/mellanox-sn2700-d40c8s8-t0-version_1_0_5.json index 0fb8c9bb02a2..752f4001c104 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-d40c8s8-t0-version_1_0_5.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-d40c8s8-t0-version_1_0_5.json @@ -742,7 +742,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "100000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -991,7 +992,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -1000,7 +1002,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1009,7 +1012,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1052,4 +1056,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_5" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-d40c8s8-t0-version_1_0_6.json b/tests/db_migrator_input/config_db/mellanox-sn2700-d40c8s8-t0-version_1_0_6.json index bbb81ed3f70d..288e0e727fb8 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-d40c8s8-t0-version_1_0_6.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-d40c8s8-t0-version_1_0_6.json @@ -742,7 +742,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "100000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -991,7 +992,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -1000,7 +1002,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1009,7 +1012,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1052,4 +1056,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_6" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-d40c8s8-t0-version_2_0_0.json b/tests/db_migrator_input/config_db/mellanox-sn2700-d40c8s8-t0-version_2_0_0.json index 196107774f09..2513d4008348 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-d40c8s8-t0-version_2_0_0.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-d40c8s8-t0-version_2_0_0.json @@ -743,7 +743,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "100000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -992,7 +993,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -1001,7 +1003,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1010,7 +1013,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1053,4 +1057,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_2_0_0" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-d40c8s8-t0-version_2_0_3.json b/tests/db_migrator_input/config_db/mellanox-sn2700-d40c8s8-t0-version_2_0_3.json index a9b48e0e2d90..842f8622dd6f 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-d40c8s8-t0-version_2_0_3.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-d40c8s8-t0-version_2_0_3.json @@ -743,7 +743,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "100000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -992,7 +993,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -1001,7 +1003,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1010,7 +1013,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1053,4 +1057,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_2_0_3" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-d40c8s8-t1-version_1_0_5.json b/tests/db_migrator_input/config_db/mellanox-sn2700-d40c8s8-t1-version_1_0_5.json index 62dca27b1912..94ec238858f1 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-d40c8s8-t1-version_1_0_5.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-d40c8s8-t1-version_1_0_5.json @@ -1149,4 +1149,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_5" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-d40c8s8-t1-version_1_0_6.json b/tests/db_migrator_input/config_db/mellanox-sn2700-d40c8s8-t1-version_1_0_6.json index 7ded706c5a14..b848c6779180 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-d40c8s8-t1-version_1_0_6.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-d40c8s8-t1-version_1_0_6.json @@ -1149,4 +1149,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_6" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-d40c8s8-t1-version_2_0_0.json b/tests/db_migrator_input/config_db/mellanox-sn2700-d40c8s8-t1-version_2_0_0.json index c0cd7bbd614c..cf2d4ecdd821 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-d40c8s8-t1-version_2_0_0.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-d40c8s8-t1-version_2_0_0.json @@ -1150,4 +1150,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_2_0_0" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-d40c8s8-t1-version_2_0_3.json b/tests/db_migrator_input/config_db/mellanox-sn2700-d40c8s8-t1-version_2_0_3.json index e8a0db0449ae..da9416a42940 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-d40c8s8-t1-version_2_0_3.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-d40c8s8-t1-version_2_0_3.json @@ -1150,4 +1150,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_2_0_3" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-single-pool-t0-version_1_0_4.json b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-single-pool-t0-version_1_0_4.json index 7b2d0cc635ac..53921af16fe8 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-single-pool-t0-version_1_0_4.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-single-pool-t0-version_1_0_4.json @@ -741,7 +741,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "100000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -990,7 +991,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -999,7 +1001,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1008,7 +1011,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1051,4 +1055,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_4" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-single-pool-t0-version_1_0_5.json b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-single-pool-t0-version_1_0_5.json index 8a78b6ad8e2b..9e3c1387a3aa 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-single-pool-t0-version_1_0_5.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-single-pool-t0-version_1_0_5.json @@ -742,7 +742,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "100000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -991,7 +992,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -1000,7 +1002,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1009,7 +1012,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1052,4 +1056,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_5" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-single-pool-t0-version_1_0_6.json b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-single-pool-t0-version_1_0_6.json index efb84c87b0af..60e34b70122a 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-single-pool-t0-version_1_0_6.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-single-pool-t0-version_1_0_6.json @@ -742,7 +742,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "100000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -991,7 +992,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -1000,7 +1002,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1009,7 +1012,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1052,4 +1056,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_6" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-single-pool-t0-version_2_0_0.json b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-single-pool-t0-version_2_0_0.json index 3a6b87e45e38..8fc412814263 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-single-pool-t0-version_2_0_0.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-single-pool-t0-version_2_0_0.json @@ -743,7 +743,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "100000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -992,7 +993,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -1001,7 +1003,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1010,7 +1013,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1053,4 +1057,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_2_0_0" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-single-pool-t0-version_2_0_3.json b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-single-pool-t0-version_2_0_3.json index 5ee9c5ac830b..62ad538df362 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-single-pool-t0-version_2_0_3.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-single-pool-t0-version_2_0_3.json @@ -743,7 +743,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "100000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -992,7 +993,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -1001,7 +1003,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1010,7 +1013,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1053,4 +1057,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_2_0_3" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-single-pool-t1-version_1_0_4.json b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-single-pool-t1-version_1_0_4.json index d14aad16a4c1..647a0eeff03a 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-single-pool-t1-version_1_0_4.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-single-pool-t1-version_1_0_4.json @@ -1148,4 +1148,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_4" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-single-pool-t1-version_1_0_5.json b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-single-pool-t1-version_1_0_5.json index 70e79d0273bb..ed3bf55e6036 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-single-pool-t1-version_1_0_5.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-single-pool-t1-version_1_0_5.json @@ -1149,4 +1149,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_5" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-single-pool-t1-version_1_0_6.json b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-single-pool-t1-version_1_0_6.json index 0167a74cea6c..a57f2b684221 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-single-pool-t1-version_1_0_6.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-single-pool-t1-version_1_0_6.json @@ -1149,4 +1149,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_6" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-single-pool-t1-version_2_0_0.json b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-single-pool-t1-version_2_0_0.json index 00b7f625cc92..171cbe43d0bc 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-single-pool-t1-version_2_0_0.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-single-pool-t1-version_2_0_0.json @@ -1150,4 +1150,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_2_0_0" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-single-pool-t1-version_2_0_3.json b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-single-pool-t1-version_2_0_3.json index fe58365227e0..b6464b117fa0 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-single-pool-t1-version_2_0_3.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-single-pool-t1-version_2_0_3.json @@ -1150,4 +1150,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_2_0_3" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t0-version_1_0_1.json b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t0-version_1_0_1.json index 78a23b0a12e1..2e9f075fb006 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t0-version_1_0_1.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t0-version_1_0_1.json @@ -746,7 +746,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "100000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -995,7 +996,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -1004,7 +1006,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1013,7 +1016,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1056,4 +1060,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_1" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t0-version_1_0_2.json b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t0-version_1_0_2.json index fb9798b76a23..1bb45cc2ceef 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t0-version_1_0_2.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t0-version_1_0_2.json @@ -746,7 +746,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "100000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -995,7 +996,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -1004,7 +1006,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1013,7 +1016,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1056,4 +1060,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_2" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t0-version_1_0_3.json b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t0-version_1_0_3.json index 8ea94389c5f4..6df051fab210 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t0-version_1_0_3.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t0-version_1_0_3.json @@ -746,7 +746,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "100000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -995,7 +996,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -1004,7 +1006,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1013,7 +1016,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1056,4 +1060,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_3" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t0-version_1_0_4.json b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t0-version_1_0_4.json index ba1b139588c3..83edfa3b5d82 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t0-version_1_0_4.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t0-version_1_0_4.json @@ -746,7 +746,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "100000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -995,7 +996,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -1004,7 +1006,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1013,7 +1016,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1056,4 +1060,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_4" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t0-version_1_0_5.json b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t0-version_1_0_5.json index 7651dbdfaa68..87788b7bb876 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t0-version_1_0_5.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t0-version_1_0_5.json @@ -747,7 +747,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "100000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -996,7 +997,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -1005,7 +1007,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1014,7 +1017,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1057,4 +1061,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_5" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t0-version_1_0_6.json b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t0-version_1_0_6.json index 8627cb109883..e5319181859d 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t0-version_1_0_6.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t0-version_1_0_6.json @@ -747,7 +747,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "100000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -996,7 +997,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -1005,7 +1007,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1014,7 +1017,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1057,4 +1061,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_6" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t0-version_2_0_0.json b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t0-version_2_0_0.json index d5ae07010738..111912648515 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t0-version_2_0_0.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t0-version_2_0_0.json @@ -748,7 +748,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "100000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -997,7 +998,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -1006,7 +1008,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1015,7 +1018,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1058,4 +1062,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_2_0_0" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t0-version_2_0_3.json b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t0-version_2_0_3.json index 07e9842e256a..3de072f4b73c 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t0-version_2_0_3.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t0-version_2_0_3.json @@ -748,7 +748,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "100000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -997,7 +998,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -1006,7 +1008,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1015,7 +1018,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1058,4 +1062,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_2_0_3" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t1-version_1_0_1.json b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t1-version_1_0_1.json index b085f4f6ede7..93b622b8607b 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t1-version_1_0_1.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t1-version_1_0_1.json @@ -1153,4 +1153,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_1" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t1-version_1_0_2.json b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t1-version_1_0_2.json index e80aafb08d29..5fea4f31b570 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t1-version_1_0_2.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t1-version_1_0_2.json @@ -1153,4 +1153,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_2" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t1-version_1_0_3.json b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t1-version_1_0_3.json index 00578b57f8f6..69331752c6d3 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t1-version_1_0_3.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t1-version_1_0_3.json @@ -1153,4 +1153,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_3" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t1-version_1_0_4.json b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t1-version_1_0_4.json index 808d4d90e0ab..226ecf053d80 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t1-version_1_0_4.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t1-version_1_0_4.json @@ -1153,4 +1153,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_4" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t1-version_1_0_5.json b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t1-version_1_0_5.json index fae88611996d..f1a2f4fc9bb2 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t1-version_1_0_5.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t1-version_1_0_5.json @@ -1154,4 +1154,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_5" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t1-version_1_0_6.json b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t1-version_1_0_6.json index d0217ee009e4..e43f55ee8f20 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t1-version_1_0_6.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t1-version_1_0_6.json @@ -1154,4 +1154,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_6" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t1-version_2_0_0.json b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t1-version_2_0_0.json index 5eef111d7150..436e5a480370 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t1-version_2_0_0.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t1-version_2_0_0.json @@ -1155,4 +1155,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_2_0_0" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t1-version_2_0_3.json b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t1-version_2_0_3.json index 2364b06d45a4..9571eb9c9632 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t1-version_2_0_3.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-d48c8-t1-version_2_0_3.json @@ -1155,4 +1155,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_2_0_3" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-single-pool-t0-version_1_0_4.json b/tests/db_migrator_input/config_db/mellanox-sn2700-single-pool-t0-version_1_0_4.json index 563344a3b2d6..fdc77e9a4b71 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-single-pool-t0-version_1_0_4.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-single-pool-t0-version_1_0_4.json @@ -741,7 +741,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "10000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -990,7 +991,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -999,7 +1001,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1008,7 +1011,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1051,4 +1055,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_4" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-single-pool-t0-version_1_0_5.json b/tests/db_migrator_input/config_db/mellanox-sn2700-single-pool-t0-version_1_0_5.json index 3c52b547522f..0e0d4e91b973 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-single-pool-t0-version_1_0_5.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-single-pool-t0-version_1_0_5.json @@ -742,7 +742,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "10000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -991,7 +992,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -1000,7 +1002,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1009,7 +1012,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1052,4 +1056,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_5" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-single-pool-t0-version_1_0_6.json b/tests/db_migrator_input/config_db/mellanox-sn2700-single-pool-t0-version_1_0_6.json index 0994cbf43a75..37a3cc2bf332 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-single-pool-t0-version_1_0_6.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-single-pool-t0-version_1_0_6.json @@ -742,7 +742,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "10000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -991,7 +992,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -1000,7 +1002,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1009,7 +1012,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1052,4 +1056,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_6" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-single-pool-t0-version_2_0_0.json b/tests/db_migrator_input/config_db/mellanox-sn2700-single-pool-t0-version_2_0_0.json index a454212ec896..093ea2c7db01 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-single-pool-t0-version_2_0_0.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-single-pool-t0-version_2_0_0.json @@ -743,7 +743,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "10000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -992,7 +993,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -1001,7 +1003,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1010,7 +1013,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1053,4 +1057,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_2_0_0" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-single-pool-t0-version_2_0_3.json b/tests/db_migrator_input/config_db/mellanox-sn2700-single-pool-t0-version_2_0_3.json index b0df84604e5b..e9a3ce033627 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-single-pool-t0-version_2_0_3.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-single-pool-t0-version_2_0_3.json @@ -743,7 +743,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "10000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -992,7 +993,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -1001,7 +1003,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1010,7 +1013,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1053,4 +1057,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_2_0_3" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-single-pool-t1-version_1_0_4.json b/tests/db_migrator_input/config_db/mellanox-sn2700-single-pool-t1-version_1_0_4.json index 8aa8bbb1c08b..c99bad1dc640 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-single-pool-t1-version_1_0_4.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-single-pool-t1-version_1_0_4.json @@ -1148,4 +1148,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_4" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-single-pool-t1-version_1_0_5.json b/tests/db_migrator_input/config_db/mellanox-sn2700-single-pool-t1-version_1_0_5.json index 6ff848ca3533..4bf50c345671 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-single-pool-t1-version_1_0_5.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-single-pool-t1-version_1_0_5.json @@ -1149,4 +1149,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_5" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-single-pool-t1-version_1_0_6.json b/tests/db_migrator_input/config_db/mellanox-sn2700-single-pool-t1-version_1_0_6.json index 44e58babe07b..8c35bd19de5d 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-single-pool-t1-version_1_0_6.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-single-pool-t1-version_1_0_6.json @@ -1149,4 +1149,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_6" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-single-pool-t1-version_2_0_0.json b/tests/db_migrator_input/config_db/mellanox-sn2700-single-pool-t1-version_2_0_0.json index 8f2490b45f22..0e07eb8f5bec 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-single-pool-t1-version_2_0_0.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-single-pool-t1-version_2_0_0.json @@ -1150,4 +1150,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_2_0_0" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-single-pool-t1-version_2_0_3.json b/tests/db_migrator_input/config_db/mellanox-sn2700-single-pool-t1-version_2_0_3.json index b30d6bf29768..d150a9667e21 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-single-pool-t1-version_2_0_3.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-single-pool-t1-version_2_0_3.json @@ -1150,4 +1150,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_2_0_3" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-t0-version_1_0_1.json b/tests/db_migrator_input/config_db/mellanox-sn2700-t0-version_1_0_1.json index 36cd08b23e53..4a38a382f18e 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-t0-version_1_0_1.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-t0-version_1_0_1.json @@ -746,7 +746,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "100000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -995,7 +996,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -1004,7 +1006,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1013,7 +1016,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1056,4 +1060,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_1" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-t0-version_1_0_2.json b/tests/db_migrator_input/config_db/mellanox-sn2700-t0-version_1_0_2.json index 10e95a4f4a23..da5d5ebef3f4 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-t0-version_1_0_2.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-t0-version_1_0_2.json @@ -746,7 +746,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "100000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -995,7 +996,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -1004,7 +1006,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1013,7 +1016,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1056,4 +1060,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_2" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-t0-version_1_0_3.json b/tests/db_migrator_input/config_db/mellanox-sn2700-t0-version_1_0_3.json index 0ede44f73b13..c518a0a9ce79 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-t0-version_1_0_3.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-t0-version_1_0_3.json @@ -746,7 +746,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "100000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -995,7 +996,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -1004,7 +1006,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1013,7 +1016,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1056,4 +1060,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_3" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-t0-version_1_0_4.json b/tests/db_migrator_input/config_db/mellanox-sn2700-t0-version_1_0_4.json index 988c883f1e00..de29236261be 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-t0-version_1_0_4.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-t0-version_1_0_4.json @@ -746,7 +746,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "100000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -995,7 +996,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -1004,7 +1006,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1013,7 +1016,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1056,4 +1060,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_4" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-t0-version_1_0_5.json b/tests/db_migrator_input/config_db/mellanox-sn2700-t0-version_1_0_5.json index a04a3f0b8d04..967726dbb39c 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-t0-version_1_0_5.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-t0-version_1_0_5.json @@ -747,7 +747,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "100000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -996,7 +997,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -1005,7 +1007,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1014,7 +1017,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1057,4 +1061,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_5" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-t0-version_1_0_6.json b/tests/db_migrator_input/config_db/mellanox-sn2700-t0-version_1_0_6.json index b5294b7252a2..088c63f5192c 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-t0-version_1_0_6.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-t0-version_1_0_6.json @@ -747,7 +747,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "100000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -996,7 +997,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -1005,7 +1007,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1014,7 +1017,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1057,4 +1061,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_6" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-t0-version_2_0_0.json b/tests/db_migrator_input/config_db/mellanox-sn2700-t0-version_2_0_0.json index faea8e28eb32..1061135496eb 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-t0-version_2_0_0.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-t0-version_2_0_0.json @@ -748,7 +748,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "100000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -997,7 +998,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -1006,7 +1008,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1015,7 +1018,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1058,4 +1062,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_2_0_0" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-t0-version_2_0_3.json b/tests/db_migrator_input/config_db/mellanox-sn2700-t0-version_2_0_3.json index 31b03a51c86f..8422c1e651a8 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-t0-version_2_0_3.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-t0-version_2_0_3.json @@ -748,7 +748,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "100000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -997,7 +998,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -1006,7 +1008,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1015,7 +1018,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1058,4 +1062,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_2_0_3" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-t1-version_1_0_1.json b/tests/db_migrator_input/config_db/mellanox-sn2700-t1-version_1_0_1.json index 9e3bee38043d..e0b75fa48400 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-t1-version_1_0_1.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-t1-version_1_0_1.json @@ -1153,4 +1153,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_1" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-t1-version_1_0_2.json b/tests/db_migrator_input/config_db/mellanox-sn2700-t1-version_1_0_2.json index d1635d9ff90f..5a78582246ce 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-t1-version_1_0_2.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-t1-version_1_0_2.json @@ -1153,4 +1153,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_2" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-t1-version_1_0_3.json b/tests/db_migrator_input/config_db/mellanox-sn2700-t1-version_1_0_3.json index 9d189718a459..a54358373ccc 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-t1-version_1_0_3.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-t1-version_1_0_3.json @@ -1153,4 +1153,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_3" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-t1-version_1_0_4.json b/tests/db_migrator_input/config_db/mellanox-sn2700-t1-version_1_0_4.json index cdc96307306b..5b1bceeabba7 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-t1-version_1_0_4.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-t1-version_1_0_4.json @@ -1153,4 +1153,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_4" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-t1-version_1_0_5.json b/tests/db_migrator_input/config_db/mellanox-sn2700-t1-version_1_0_5.json index 1a743c9693ef..76ec1bb52c2c 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-t1-version_1_0_5.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-t1-version_1_0_5.json @@ -1154,4 +1154,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_5" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-t1-version_1_0_6.json b/tests/db_migrator_input/config_db/mellanox-sn2700-t1-version_1_0_6.json index d1e5815b4ca7..81f7377f84a7 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-t1-version_1_0_6.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-t1-version_1_0_6.json @@ -1154,4 +1154,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_6" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-t1-version_2_0_0.json b/tests/db_migrator_input/config_db/mellanox-sn2700-t1-version_2_0_0.json index 49b3be63d2a6..7d9192a52310 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-t1-version_2_0_0.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-t1-version_2_0_0.json @@ -1155,4 +1155,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_2_0_0" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn2700-t1-version_2_0_3.json b/tests/db_migrator_input/config_db/mellanox-sn2700-t1-version_2_0_3.json index 8a241ad76070..3012654e7bde 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn2700-t1-version_2_0_3.json +++ b/tests/db_migrator_input/config_db/mellanox-sn2700-t1-version_2_0_3.json @@ -1155,4 +1155,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_2_0_3" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn3800-c64-t0-version_1_0_5.json b/tests/db_migrator_input/config_db/mellanox-sn3800-c64-t0-version_1_0_5.json index aebcee8eee66..94d64196abaf 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn3800-c64-t0-version_1_0_5.json +++ b/tests/db_migrator_input/config_db/mellanox-sn3800-c64-t0-version_1_0_5.json @@ -714,7 +714,8 @@ "alias": "etp1a", "pfc_asym": "off", "speed": "10000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet2": { "index": "0", @@ -988,7 +989,8 @@ "alias": "etp15a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet58": { "index": "14", @@ -998,7 +1000,8 @@ "alias": "etp15b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet60": { "index": "15", @@ -1008,7 +1011,8 @@ "alias": "etp16", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet64": { "index": "16", @@ -1062,7 +1066,8 @@ "alias": "etp19a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet74": { "index": "18", @@ -1072,7 +1077,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1082,7 +1088,8 @@ "alias": "etp20", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet80": { "index": "20", @@ -1092,7 +1099,8 @@ "alias": "etp21a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet82": { "index": "20", @@ -1102,7 +1110,8 @@ "alias": "etp21b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet84": { "index": "21", @@ -1112,7 +1121,8 @@ "alias": "etp22a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet86": { "index": "21", @@ -1122,7 +1132,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "22", @@ -1132,7 +1143,8 @@ "alias": "etp23a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet90": { "index": "22", @@ -1142,7 +1154,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "23", @@ -1152,7 +1165,8 @@ "alias": "etp24", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet96": { "index": "24", @@ -1162,7 +1176,8 @@ "alias": "etp25", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet100": { "index": "25", @@ -1172,7 +1187,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet104": { "index": "26", @@ -1182,7 +1198,8 @@ "alias": "etp27a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet106": { "index": "26", @@ -1192,7 +1209,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "27", @@ -1202,7 +1220,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet112": { "index": "28", @@ -1212,7 +1231,8 @@ "alias": "etp29", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet116": { "index": "29", @@ -1222,7 +1242,8 @@ "alias": "etp30", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet120": { "index": "30", @@ -1232,7 +1253,8 @@ "alias": "etp31a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet122": { "index": "30", @@ -1242,7 +1264,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "31", @@ -1252,7 +1275,8 @@ "alias": "etp32", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet128": { "index": "32", @@ -1262,7 +1286,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1272,7 +1297,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1282,7 +1308,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1292,7 +1319,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1302,7 +1330,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1312,7 +1341,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1322,7 +1352,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1332,7 +1363,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1342,7 +1374,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1352,7 +1385,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1362,7 +1396,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1372,7 +1407,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1382,7 +1418,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1392,7 +1429,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1402,7 +1440,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1412,7 +1451,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1422,7 +1462,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1432,7 +1473,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1442,7 +1484,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1452,7 +1495,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1462,7 +1506,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1472,7 +1517,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1482,7 +1528,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1492,7 +1539,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1502,7 +1550,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1512,7 +1561,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1522,7 +1572,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1532,7 +1583,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1542,7 +1594,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1552,7 +1605,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1562,7 +1616,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1572,7 +1627,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1582,7 +1638,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1592,7 +1649,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -1602,7 +1660,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -1612,7 +1671,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1622,7 +1682,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -1632,7 +1693,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -1642,7 +1704,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -1652,7 +1715,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -1662,7 +1726,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1672,7 +1737,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -1682,7 +1748,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -1692,9 +1759,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_1_0_5" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn3800-c64-t0-version_1_0_6.json b/tests/db_migrator_input/config_db/mellanox-sn3800-c64-t0-version_1_0_6.json index d230e6cfa800..e0d47020e5dc 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn3800-c64-t0-version_1_0_6.json +++ b/tests/db_migrator_input/config_db/mellanox-sn3800-c64-t0-version_1_0_6.json @@ -714,7 +714,8 @@ "alias": "etp1a", "pfc_asym": "off", "speed": "10000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet2": { "index": "0", @@ -988,7 +989,8 @@ "alias": "etp15a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet58": { "index": "14", @@ -998,7 +1000,8 @@ "alias": "etp15b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet60": { "index": "15", @@ -1008,7 +1011,8 @@ "alias": "etp16", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet64": { "index": "16", @@ -1062,7 +1066,8 @@ "alias": "etp19a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet74": { "index": "18", @@ -1072,7 +1077,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1082,7 +1088,8 @@ "alias": "etp20", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet80": { "index": "20", @@ -1092,7 +1099,8 @@ "alias": "etp21a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet82": { "index": "20", @@ -1102,7 +1110,8 @@ "alias": "etp21b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet84": { "index": "21", @@ -1112,7 +1121,8 @@ "alias": "etp22a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet86": { "index": "21", @@ -1122,7 +1132,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "22", @@ -1132,7 +1143,8 @@ "alias": "etp23a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet90": { "index": "22", @@ -1142,7 +1154,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "23", @@ -1152,7 +1165,8 @@ "alias": "etp24", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet96": { "index": "24", @@ -1162,7 +1176,8 @@ "alias": "etp25", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet100": { "index": "25", @@ -1172,7 +1187,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet104": { "index": "26", @@ -1182,7 +1198,8 @@ "alias": "etp27a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet106": { "index": "26", @@ -1192,7 +1209,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "27", @@ -1202,7 +1220,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet112": { "index": "28", @@ -1212,7 +1231,8 @@ "alias": "etp29", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet116": { "index": "29", @@ -1222,7 +1242,8 @@ "alias": "etp30", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet120": { "index": "30", @@ -1232,7 +1253,8 @@ "alias": "etp31a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet122": { "index": "30", @@ -1242,7 +1264,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "31", @@ -1252,7 +1275,8 @@ "alias": "etp32", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet128": { "index": "32", @@ -1262,7 +1286,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1272,7 +1297,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1282,7 +1308,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1292,7 +1319,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1302,7 +1330,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1312,7 +1341,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1322,7 +1352,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1332,7 +1363,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1342,7 +1374,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1352,7 +1385,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1362,7 +1396,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1372,7 +1407,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1382,7 +1418,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1392,7 +1429,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1402,7 +1440,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1412,7 +1451,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1422,7 +1462,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1432,7 +1473,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1442,7 +1484,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1452,7 +1495,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1462,7 +1506,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1472,7 +1517,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1482,7 +1528,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1492,7 +1539,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1502,7 +1550,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1512,7 +1561,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1522,7 +1572,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1532,7 +1583,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1542,7 +1594,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1552,7 +1605,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1562,7 +1616,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1572,7 +1627,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1582,7 +1638,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1592,7 +1649,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -1602,7 +1660,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -1612,7 +1671,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1622,7 +1682,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -1632,7 +1693,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -1642,7 +1704,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -1652,7 +1715,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -1662,7 +1726,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1672,7 +1737,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -1682,7 +1748,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -1692,9 +1759,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_1_0_6" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn3800-c64-t0-version_2_0_0.json b/tests/db_migrator_input/config_db/mellanox-sn3800-c64-t0-version_2_0_0.json index ad152d235d64..b69b2cf019f2 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn3800-c64-t0-version_2_0_0.json +++ b/tests/db_migrator_input/config_db/mellanox-sn3800-c64-t0-version_2_0_0.json @@ -715,7 +715,8 @@ "alias": "etp1a", "pfc_asym": "off", "speed": "10000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet2": { "index": "0", @@ -989,7 +990,8 @@ "alias": "etp15a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet58": { "index": "14", @@ -999,7 +1001,8 @@ "alias": "etp15b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet60": { "index": "15", @@ -1009,7 +1012,8 @@ "alias": "etp16", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet64": { "index": "16", @@ -1063,7 +1067,8 @@ "alias": "etp19a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet74": { "index": "18", @@ -1073,7 +1078,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1083,7 +1089,8 @@ "alias": "etp20", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet80": { "index": "20", @@ -1093,7 +1100,8 @@ "alias": "etp21a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet82": { "index": "20", @@ -1103,7 +1111,8 @@ "alias": "etp21b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet84": { "index": "21", @@ -1113,7 +1122,8 @@ "alias": "etp22a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet86": { "index": "21", @@ -1123,7 +1133,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "22", @@ -1133,7 +1144,8 @@ "alias": "etp23a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet90": { "index": "22", @@ -1143,7 +1155,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "23", @@ -1153,7 +1166,8 @@ "alias": "etp24", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet96": { "index": "24", @@ -1163,7 +1177,8 @@ "alias": "etp25", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet100": { "index": "25", @@ -1173,7 +1188,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet104": { "index": "26", @@ -1183,7 +1199,8 @@ "alias": "etp27a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet106": { "index": "26", @@ -1193,7 +1210,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "27", @@ -1203,7 +1221,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet112": { "index": "28", @@ -1213,7 +1232,8 @@ "alias": "etp29", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet116": { "index": "29", @@ -1223,7 +1243,8 @@ "alias": "etp30", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet120": { "index": "30", @@ -1233,7 +1254,8 @@ "alias": "etp31a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet122": { "index": "30", @@ -1243,7 +1265,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "31", @@ -1253,7 +1276,8 @@ "alias": "etp32", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet128": { "index": "32", @@ -1263,7 +1287,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1273,7 +1298,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1283,7 +1309,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1293,7 +1320,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1303,7 +1331,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1313,7 +1342,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1323,7 +1353,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1333,7 +1364,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1343,7 +1375,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1353,7 +1386,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1363,7 +1397,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1373,7 +1408,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1383,7 +1419,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1393,7 +1430,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1403,7 +1441,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1413,7 +1452,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1423,7 +1463,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1433,7 +1474,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1443,7 +1485,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1453,7 +1496,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1463,7 +1507,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1473,7 +1518,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1483,7 +1529,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1493,7 +1540,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1503,7 +1551,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1513,7 +1562,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1523,7 +1573,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1533,7 +1584,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1543,7 +1595,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1553,7 +1606,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1563,7 +1617,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1573,7 +1628,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1583,7 +1639,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1593,7 +1650,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -1603,7 +1661,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -1613,7 +1672,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1623,7 +1683,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -1633,7 +1694,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -1643,7 +1705,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -1653,7 +1716,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -1663,7 +1727,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1673,7 +1738,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -1683,7 +1749,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -1693,9 +1760,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_2_0_0" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn3800-c64-t0-version_2_0_3.json b/tests/db_migrator_input/config_db/mellanox-sn3800-c64-t0-version_2_0_3.json index e1a288fa0c32..a27361ef0f45 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn3800-c64-t0-version_2_0_3.json +++ b/tests/db_migrator_input/config_db/mellanox-sn3800-c64-t0-version_2_0_3.json @@ -715,7 +715,8 @@ "alias": "etp1a", "pfc_asym": "off", "speed": "10000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet2": { "index": "0", @@ -989,7 +990,8 @@ "alias": "etp15a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet58": { "index": "14", @@ -999,7 +1001,8 @@ "alias": "etp15b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet60": { "index": "15", @@ -1009,7 +1012,8 @@ "alias": "etp16", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet64": { "index": "16", @@ -1063,7 +1067,8 @@ "alias": "etp19a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet74": { "index": "18", @@ -1073,7 +1078,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1083,7 +1089,8 @@ "alias": "etp20", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet80": { "index": "20", @@ -1093,7 +1100,8 @@ "alias": "etp21a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet82": { "index": "20", @@ -1103,7 +1111,8 @@ "alias": "etp21b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet84": { "index": "21", @@ -1113,7 +1122,8 @@ "alias": "etp22a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet86": { "index": "21", @@ -1123,7 +1133,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "22", @@ -1133,7 +1144,8 @@ "alias": "etp23a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet90": { "index": "22", @@ -1143,7 +1155,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "23", @@ -1153,7 +1166,8 @@ "alias": "etp24", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet96": { "index": "24", @@ -1163,7 +1177,8 @@ "alias": "etp25", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet100": { "index": "25", @@ -1173,7 +1188,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet104": { "index": "26", @@ -1183,7 +1199,8 @@ "alias": "etp27a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet106": { "index": "26", @@ -1193,7 +1210,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "27", @@ -1203,7 +1221,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet112": { "index": "28", @@ -1213,7 +1232,8 @@ "alias": "etp29", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet116": { "index": "29", @@ -1223,7 +1243,8 @@ "alias": "etp30", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet120": { "index": "30", @@ -1233,7 +1254,8 @@ "alias": "etp31a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet122": { "index": "30", @@ -1243,7 +1265,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "31", @@ -1253,7 +1276,8 @@ "alias": "etp32", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet128": { "index": "32", @@ -1263,7 +1287,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1273,7 +1298,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1283,7 +1309,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1293,7 +1320,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1303,7 +1331,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1313,7 +1342,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1323,7 +1353,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1333,7 +1364,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1343,7 +1375,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1353,7 +1386,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1363,7 +1397,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1373,7 +1408,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1383,7 +1419,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1393,7 +1430,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1403,7 +1441,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1413,7 +1452,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1423,7 +1463,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1433,7 +1474,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1443,7 +1485,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1453,7 +1496,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1463,7 +1507,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1473,7 +1518,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1483,7 +1529,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1493,7 +1540,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1503,7 +1551,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1513,7 +1562,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1523,7 +1573,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1533,7 +1584,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1543,7 +1595,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1553,7 +1606,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1563,7 +1617,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1573,7 +1628,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1583,7 +1639,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1593,7 +1650,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -1603,7 +1661,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -1613,7 +1672,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1623,7 +1683,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -1633,7 +1694,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -1643,7 +1705,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -1653,7 +1716,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -1663,7 +1727,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1673,7 +1738,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -1683,7 +1749,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -1693,9 +1760,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_2_0_3" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn3800-c64-t1-version_1_0_5.json b/tests/db_migrator_input/config_db/mellanox-sn3800-c64-t1-version_1_0_5.json index fd91c041772a..a299500e52a9 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn3800-c64-t1-version_1_0_5.json +++ b/tests/db_migrator_input/config_db/mellanox-sn3800-c64-t1-version_1_0_5.json @@ -1188,7 +1188,8 @@ "alias": "etp19a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet74": { "index": "18", @@ -1198,7 +1199,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1208,7 +1210,8 @@ "alias": "etp20", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet80": { "index": "20", @@ -1218,7 +1221,8 @@ "alias": "etp21a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet82": { "index": "20", @@ -1228,7 +1232,8 @@ "alias": "etp21b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet84": { "index": "21", @@ -1238,7 +1243,8 @@ "alias": "etp22a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet86": { "index": "21", @@ -1248,7 +1254,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "22", @@ -1258,7 +1265,8 @@ "alias": "etp23a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet90": { "index": "22", @@ -1268,7 +1276,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "23", @@ -1278,7 +1287,8 @@ "alias": "etp24", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet96": { "index": "24", @@ -1288,7 +1298,8 @@ "alias": "etp25", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet100": { "index": "25", @@ -1298,7 +1309,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet104": { "index": "26", @@ -1308,7 +1320,8 @@ "alias": "etp27a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet106": { "index": "26", @@ -1318,7 +1331,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "27", @@ -1328,7 +1342,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet112": { "index": "28", @@ -1338,7 +1353,8 @@ "alias": "etp29", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet116": { "index": "29", @@ -1348,7 +1364,8 @@ "alias": "etp30", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet120": { "index": "30", @@ -1358,7 +1375,8 @@ "alias": "etp31a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet122": { "index": "30", @@ -1368,7 +1386,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "31", @@ -1378,7 +1397,8 @@ "alias": "etp32", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet128": { "index": "32", @@ -1388,7 +1408,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1398,7 +1419,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1408,7 +1430,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1418,7 +1441,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1428,7 +1452,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1438,7 +1463,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1448,7 +1474,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1458,7 +1485,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1468,7 +1496,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1478,7 +1507,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1488,7 +1518,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1498,7 +1529,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1508,7 +1540,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1518,7 +1551,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1528,7 +1562,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1538,7 +1573,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1548,7 +1584,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1558,7 +1595,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1568,7 +1606,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1578,7 +1617,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1588,7 +1628,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1598,7 +1639,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1608,7 +1650,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1618,7 +1661,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1628,7 +1672,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1638,7 +1683,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1648,7 +1694,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1658,7 +1705,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1668,7 +1716,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1678,7 +1727,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1688,7 +1738,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1698,7 +1749,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1708,7 +1760,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1718,7 +1771,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -1728,7 +1782,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -1738,7 +1793,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1748,7 +1804,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -1758,7 +1815,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -1768,7 +1826,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -1778,7 +1837,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -1788,7 +1848,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1798,7 +1859,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -1808,7 +1870,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -1818,9 +1881,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_1_0_5" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn3800-c64-t1-version_1_0_6.json b/tests/db_migrator_input/config_db/mellanox-sn3800-c64-t1-version_1_0_6.json index 81ee54cd0dab..e5f078c959ab 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn3800-c64-t1-version_1_0_6.json +++ b/tests/db_migrator_input/config_db/mellanox-sn3800-c64-t1-version_1_0_6.json @@ -1188,7 +1188,8 @@ "alias": "etp19a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet74": { "index": "18", @@ -1198,7 +1199,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1208,7 +1210,8 @@ "alias": "etp20", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet80": { "index": "20", @@ -1218,7 +1221,8 @@ "alias": "etp21a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet82": { "index": "20", @@ -1228,7 +1232,8 @@ "alias": "etp21b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet84": { "index": "21", @@ -1238,7 +1243,8 @@ "alias": "etp22a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet86": { "index": "21", @@ -1248,7 +1254,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "22", @@ -1258,7 +1265,8 @@ "alias": "etp23a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet90": { "index": "22", @@ -1268,7 +1276,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "23", @@ -1278,7 +1287,8 @@ "alias": "etp24", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet96": { "index": "24", @@ -1288,7 +1298,8 @@ "alias": "etp25", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet100": { "index": "25", @@ -1298,7 +1309,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet104": { "index": "26", @@ -1308,7 +1320,8 @@ "alias": "etp27a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet106": { "index": "26", @@ -1318,7 +1331,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "27", @@ -1328,7 +1342,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet112": { "index": "28", @@ -1338,7 +1353,8 @@ "alias": "etp29", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet116": { "index": "29", @@ -1348,7 +1364,8 @@ "alias": "etp30", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet120": { "index": "30", @@ -1358,7 +1375,8 @@ "alias": "etp31a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet122": { "index": "30", @@ -1368,7 +1386,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "31", @@ -1378,7 +1397,8 @@ "alias": "etp32", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet128": { "index": "32", @@ -1388,7 +1408,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1398,7 +1419,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1408,7 +1430,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1418,7 +1441,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1428,7 +1452,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1438,7 +1463,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1448,7 +1474,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1458,7 +1485,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1468,7 +1496,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1478,7 +1507,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1488,7 +1518,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1498,7 +1529,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1508,7 +1540,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1518,7 +1551,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1528,7 +1562,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1538,7 +1573,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1548,7 +1584,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1558,7 +1595,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1568,7 +1606,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1578,7 +1617,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1588,7 +1628,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1598,7 +1639,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1608,7 +1650,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1618,7 +1661,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1628,7 +1672,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1638,7 +1683,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1648,7 +1694,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1658,7 +1705,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1668,7 +1716,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1678,7 +1727,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1688,7 +1738,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1698,7 +1749,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1708,7 +1760,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1718,7 +1771,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -1728,7 +1782,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -1738,7 +1793,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1748,7 +1804,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -1758,7 +1815,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -1768,7 +1826,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -1778,7 +1837,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -1788,7 +1848,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1798,7 +1859,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -1808,7 +1870,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -1818,9 +1881,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_1_0_6" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn3800-c64-t1-version_2_0_0.json b/tests/db_migrator_input/config_db/mellanox-sn3800-c64-t1-version_2_0_0.json index a2d63be2f081..318bed85abb9 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn3800-c64-t1-version_2_0_0.json +++ b/tests/db_migrator_input/config_db/mellanox-sn3800-c64-t1-version_2_0_0.json @@ -1189,7 +1189,8 @@ "alias": "etp19a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet74": { "index": "18", @@ -1199,7 +1200,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1209,7 +1211,8 @@ "alias": "etp20", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet80": { "index": "20", @@ -1219,7 +1222,8 @@ "alias": "etp21a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet82": { "index": "20", @@ -1229,7 +1233,8 @@ "alias": "etp21b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet84": { "index": "21", @@ -1239,7 +1244,8 @@ "alias": "etp22a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet86": { "index": "21", @@ -1249,7 +1255,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "22", @@ -1259,7 +1266,8 @@ "alias": "etp23a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet90": { "index": "22", @@ -1269,7 +1277,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "23", @@ -1279,7 +1288,8 @@ "alias": "etp24", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet96": { "index": "24", @@ -1289,7 +1299,8 @@ "alias": "etp25", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet100": { "index": "25", @@ -1299,7 +1310,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet104": { "index": "26", @@ -1309,7 +1321,8 @@ "alias": "etp27a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet106": { "index": "26", @@ -1319,7 +1332,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "27", @@ -1329,7 +1343,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet112": { "index": "28", @@ -1339,7 +1354,8 @@ "alias": "etp29", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet116": { "index": "29", @@ -1349,7 +1365,8 @@ "alias": "etp30", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet120": { "index": "30", @@ -1359,7 +1376,8 @@ "alias": "etp31a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet122": { "index": "30", @@ -1369,7 +1387,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "31", @@ -1379,7 +1398,8 @@ "alias": "etp32", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet128": { "index": "32", @@ -1389,7 +1409,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1399,7 +1420,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1409,7 +1431,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1419,7 +1442,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1429,7 +1453,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1439,7 +1464,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1449,7 +1475,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1459,7 +1486,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1469,7 +1497,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1479,7 +1508,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1489,7 +1519,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1499,7 +1530,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1509,7 +1541,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1519,7 +1552,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1529,7 +1563,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1539,7 +1574,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1549,7 +1585,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1559,7 +1596,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1569,7 +1607,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1579,7 +1618,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1589,7 +1629,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1599,7 +1640,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1609,7 +1651,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1619,7 +1662,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1629,7 +1673,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1639,7 +1684,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1649,7 +1695,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1659,7 +1706,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1669,7 +1717,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1679,7 +1728,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1689,7 +1739,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1699,7 +1750,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1709,7 +1761,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1719,7 +1772,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -1729,7 +1783,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -1739,7 +1794,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1749,7 +1805,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -1759,7 +1816,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -1769,7 +1827,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -1779,7 +1838,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -1789,7 +1849,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1799,7 +1860,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -1809,7 +1871,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -1819,9 +1882,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_2_0_0" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn3800-c64-t1-version_2_0_3.json b/tests/db_migrator_input/config_db/mellanox-sn3800-c64-t1-version_2_0_3.json index a56a6a3df952..901bc3fe612a 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn3800-c64-t1-version_2_0_3.json +++ b/tests/db_migrator_input/config_db/mellanox-sn3800-c64-t1-version_2_0_3.json @@ -1189,7 +1189,8 @@ "alias": "etp19a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet74": { "index": "18", @@ -1199,7 +1200,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1209,7 +1211,8 @@ "alias": "etp20", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet80": { "index": "20", @@ -1219,7 +1222,8 @@ "alias": "etp21a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet82": { "index": "20", @@ -1229,7 +1233,8 @@ "alias": "etp21b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet84": { "index": "21", @@ -1239,7 +1244,8 @@ "alias": "etp22a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet86": { "index": "21", @@ -1249,7 +1255,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "22", @@ -1259,7 +1266,8 @@ "alias": "etp23a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet90": { "index": "22", @@ -1269,7 +1277,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "23", @@ -1279,7 +1288,8 @@ "alias": "etp24", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet96": { "index": "24", @@ -1289,7 +1299,8 @@ "alias": "etp25", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet100": { "index": "25", @@ -1299,7 +1310,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet104": { "index": "26", @@ -1309,7 +1321,8 @@ "alias": "etp27a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet106": { "index": "26", @@ -1319,7 +1332,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "27", @@ -1329,7 +1343,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet112": { "index": "28", @@ -1339,7 +1354,8 @@ "alias": "etp29", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet116": { "index": "29", @@ -1349,7 +1365,8 @@ "alias": "etp30", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet120": { "index": "30", @@ -1359,7 +1376,8 @@ "alias": "etp31a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet122": { "index": "30", @@ -1369,7 +1387,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "31", @@ -1379,7 +1398,8 @@ "alias": "etp32", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet128": { "index": "32", @@ -1389,7 +1409,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1399,7 +1420,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1409,7 +1431,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1419,7 +1442,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1429,7 +1453,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1439,7 +1464,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1449,7 +1475,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1459,7 +1486,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1469,7 +1497,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1479,7 +1508,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1489,7 +1519,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1499,7 +1530,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1509,7 +1541,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1519,7 +1552,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1529,7 +1563,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1539,7 +1574,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1549,7 +1585,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1559,7 +1596,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1569,7 +1607,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1579,7 +1618,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1589,7 +1629,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1599,7 +1640,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1609,7 +1651,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1619,7 +1662,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1629,7 +1673,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1639,7 +1684,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1649,7 +1695,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1659,7 +1706,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1669,7 +1717,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1679,7 +1728,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1689,7 +1739,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1699,7 +1750,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1709,7 +1761,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1719,7 +1772,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -1729,7 +1783,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -1739,7 +1794,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1749,7 +1805,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -1759,7 +1816,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -1769,7 +1827,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -1779,7 +1838,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -1789,7 +1849,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1799,7 +1860,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -1809,7 +1871,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -1819,9 +1882,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_2_0_3" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn3800-d112c8-t0-version_1_0_5.json b/tests/db_migrator_input/config_db/mellanox-sn3800-d112c8-t0-version_1_0_5.json index f13e0e3dd458..3d1650b1fcac 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn3800-d112c8-t0-version_1_0_5.json +++ b/tests/db_migrator_input/config_db/mellanox-sn3800-d112c8-t0-version_1_0_5.json @@ -994,7 +994,8 @@ "alias": "etp1a", "pfc_asym": "off", "speed": "10000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet2": { "index": "0", @@ -1268,7 +1269,8 @@ "alias": "etp15a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet58": { "index": "14", @@ -1278,7 +1280,8 @@ "alias": "etp15b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet60": { "index": "15", @@ -1288,7 +1291,8 @@ "alias": "etp16", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet64": { "index": "16", @@ -1342,7 +1346,8 @@ "alias": "etp19a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet74": { "index": "18", @@ -1352,7 +1357,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1362,7 +1368,8 @@ "alias": "etp20", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet80": { "index": "20", @@ -1372,7 +1379,8 @@ "alias": "etp21a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet82": { "index": "20", @@ -1382,7 +1390,8 @@ "alias": "etp21b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet84": { "index": "21", @@ -1392,7 +1401,8 @@ "alias": "etp22a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet86": { "index": "21", @@ -1402,7 +1412,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "22", @@ -1412,7 +1423,8 @@ "alias": "etp23a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet90": { "index": "22", @@ -1422,7 +1434,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "23", @@ -1432,7 +1445,8 @@ "alias": "etp24", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet96": { "index": "24", @@ -1442,7 +1456,8 @@ "alias": "etp25", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet100": { "index": "25", @@ -1452,7 +1467,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet104": { "index": "26", @@ -1462,7 +1478,8 @@ "alias": "etp27a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet106": { "index": "26", @@ -1472,7 +1489,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "27", @@ -1482,7 +1500,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet112": { "index": "28", @@ -1492,7 +1511,8 @@ "alias": "etp29", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet116": { "index": "29", @@ -1502,7 +1522,8 @@ "alias": "etp30", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet120": { "index": "30", @@ -1512,7 +1533,8 @@ "alias": "etp31a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet122": { "index": "30", @@ -1522,7 +1544,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "31", @@ -1532,7 +1555,8 @@ "alias": "etp32", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet128": { "index": "32", @@ -1542,7 +1566,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1552,7 +1577,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1562,7 +1588,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1572,7 +1599,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1582,7 +1610,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1592,7 +1621,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1602,7 +1632,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1612,7 +1643,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1622,7 +1654,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1632,7 +1665,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1642,7 +1676,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1652,7 +1687,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1662,7 +1698,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1672,7 +1709,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1682,7 +1720,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1692,7 +1731,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1702,7 +1742,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1712,7 +1753,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1722,7 +1764,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1732,7 +1775,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1742,7 +1786,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1752,7 +1797,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1762,7 +1808,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1772,7 +1819,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1782,7 +1830,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1792,7 +1841,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1802,7 +1852,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1812,7 +1863,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1822,7 +1874,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1832,7 +1885,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1842,7 +1896,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1852,7 +1907,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1862,7 +1918,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1872,7 +1929,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -1882,7 +1940,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -1892,7 +1951,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1902,7 +1962,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -1912,7 +1973,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -1922,7 +1984,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -1932,7 +1995,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -1942,7 +2006,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1952,7 +2017,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -1962,7 +2028,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -1972,9 +2039,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_1_0_5" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn3800-d112c8-t0-version_1_0_6.json b/tests/db_migrator_input/config_db/mellanox-sn3800-d112c8-t0-version_1_0_6.json index ed8a0de493bd..85664d39efc5 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn3800-d112c8-t0-version_1_0_6.json +++ b/tests/db_migrator_input/config_db/mellanox-sn3800-d112c8-t0-version_1_0_6.json @@ -994,7 +994,8 @@ "alias": "etp1a", "pfc_asym": "off", "speed": "10000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet2": { "index": "0", @@ -1268,7 +1269,8 @@ "alias": "etp15a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet58": { "index": "14", @@ -1278,7 +1280,8 @@ "alias": "etp15b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet60": { "index": "15", @@ -1288,7 +1291,8 @@ "alias": "etp16", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet64": { "index": "16", @@ -1342,7 +1346,8 @@ "alias": "etp19a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet74": { "index": "18", @@ -1352,7 +1357,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1362,7 +1368,8 @@ "alias": "etp20", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet80": { "index": "20", @@ -1372,7 +1379,8 @@ "alias": "etp21a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet82": { "index": "20", @@ -1382,7 +1390,8 @@ "alias": "etp21b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet84": { "index": "21", @@ -1392,7 +1401,8 @@ "alias": "etp22a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet86": { "index": "21", @@ -1402,7 +1412,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "22", @@ -1412,7 +1423,8 @@ "alias": "etp23a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet90": { "index": "22", @@ -1422,7 +1434,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "23", @@ -1432,7 +1445,8 @@ "alias": "etp24", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet96": { "index": "24", @@ -1442,7 +1456,8 @@ "alias": "etp25", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet100": { "index": "25", @@ -1452,7 +1467,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet104": { "index": "26", @@ -1462,7 +1478,8 @@ "alias": "etp27a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet106": { "index": "26", @@ -1472,7 +1489,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "27", @@ -1482,7 +1500,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet112": { "index": "28", @@ -1492,7 +1511,8 @@ "alias": "etp29", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet116": { "index": "29", @@ -1502,7 +1522,8 @@ "alias": "etp30", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet120": { "index": "30", @@ -1512,7 +1533,8 @@ "alias": "etp31a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet122": { "index": "30", @@ -1522,7 +1544,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "31", @@ -1532,7 +1555,8 @@ "alias": "etp32", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet128": { "index": "32", @@ -1542,7 +1566,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1552,7 +1577,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1562,7 +1588,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1572,7 +1599,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1582,7 +1610,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1592,7 +1621,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1602,7 +1632,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1612,7 +1643,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1622,7 +1654,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1632,7 +1665,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1642,7 +1676,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1652,7 +1687,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1662,7 +1698,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1672,7 +1709,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1682,7 +1720,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1692,7 +1731,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1702,7 +1742,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1712,7 +1753,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1722,7 +1764,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1732,7 +1775,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1742,7 +1786,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1752,7 +1797,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1762,7 +1808,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1772,7 +1819,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1782,7 +1830,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1792,7 +1841,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1802,7 +1852,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1812,7 +1863,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1822,7 +1874,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1832,7 +1885,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1842,7 +1896,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1852,7 +1907,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1862,7 +1918,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1872,7 +1929,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -1882,7 +1940,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -1892,7 +1951,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1902,7 +1962,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -1912,7 +1973,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -1922,7 +1984,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -1932,7 +1995,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -1942,7 +2006,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1952,7 +2017,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -1962,7 +2028,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -1972,9 +2039,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_1_0_6" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn3800-d112c8-t0-version_2_0_0.json b/tests/db_migrator_input/config_db/mellanox-sn3800-d112c8-t0-version_2_0_0.json index c5e110a15a9b..fa15acac8d1e 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn3800-d112c8-t0-version_2_0_0.json +++ b/tests/db_migrator_input/config_db/mellanox-sn3800-d112c8-t0-version_2_0_0.json @@ -995,7 +995,8 @@ "alias": "etp1a", "pfc_asym": "off", "speed": "10000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet2": { "index": "0", @@ -1269,7 +1270,8 @@ "alias": "etp15a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet58": { "index": "14", @@ -1279,7 +1281,8 @@ "alias": "etp15b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet60": { "index": "15", @@ -1289,7 +1292,8 @@ "alias": "etp16", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet64": { "index": "16", @@ -1343,7 +1347,8 @@ "alias": "etp19a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet74": { "index": "18", @@ -1353,7 +1358,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1363,7 +1369,8 @@ "alias": "etp20", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet80": { "index": "20", @@ -1373,7 +1380,8 @@ "alias": "etp21a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet82": { "index": "20", @@ -1383,7 +1391,8 @@ "alias": "etp21b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet84": { "index": "21", @@ -1393,7 +1402,8 @@ "alias": "etp22a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet86": { "index": "21", @@ -1403,7 +1413,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "22", @@ -1413,7 +1424,8 @@ "alias": "etp23a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet90": { "index": "22", @@ -1423,7 +1435,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "23", @@ -1433,7 +1446,8 @@ "alias": "etp24", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet96": { "index": "24", @@ -1443,7 +1457,8 @@ "alias": "etp25", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet100": { "index": "25", @@ -1453,7 +1468,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet104": { "index": "26", @@ -1463,7 +1479,8 @@ "alias": "etp27a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet106": { "index": "26", @@ -1473,7 +1490,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "27", @@ -1483,7 +1501,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet112": { "index": "28", @@ -1493,7 +1512,8 @@ "alias": "etp29", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet116": { "index": "29", @@ -1503,7 +1523,8 @@ "alias": "etp30", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet120": { "index": "30", @@ -1513,7 +1534,8 @@ "alias": "etp31a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet122": { "index": "30", @@ -1523,7 +1545,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "31", @@ -1533,7 +1556,8 @@ "alias": "etp32", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet128": { "index": "32", @@ -1543,7 +1567,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1553,7 +1578,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1563,7 +1589,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1573,7 +1600,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1583,7 +1611,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1593,7 +1622,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1603,7 +1633,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1613,7 +1644,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1623,7 +1655,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1633,7 +1666,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1643,7 +1677,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1653,7 +1688,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1663,7 +1699,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1673,7 +1710,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1683,7 +1721,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1693,7 +1732,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1703,7 +1743,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1713,7 +1754,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1723,7 +1765,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1733,7 +1776,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1743,7 +1787,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1753,7 +1798,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1763,7 +1809,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1773,7 +1820,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1783,7 +1831,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1793,7 +1842,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1803,7 +1853,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1813,7 +1864,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1823,7 +1875,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1833,7 +1886,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1843,7 +1897,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1853,7 +1908,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1863,7 +1919,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1873,7 +1930,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -1883,7 +1941,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -1893,7 +1952,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1903,7 +1963,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -1913,7 +1974,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -1923,7 +1985,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -1933,7 +1996,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -1943,7 +2007,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1953,7 +2018,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -1963,7 +2029,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -1973,9 +2040,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_2_0_0" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn3800-d112c8-t0-version_2_0_3.json b/tests/db_migrator_input/config_db/mellanox-sn3800-d112c8-t0-version_2_0_3.json index 59848c7ab624..9cddd16235da 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn3800-d112c8-t0-version_2_0_3.json +++ b/tests/db_migrator_input/config_db/mellanox-sn3800-d112c8-t0-version_2_0_3.json @@ -995,7 +995,8 @@ "alias": "etp1a", "pfc_asym": "off", "speed": "10000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet2": { "index": "0", @@ -1269,7 +1270,8 @@ "alias": "etp15a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet58": { "index": "14", @@ -1279,7 +1281,8 @@ "alias": "etp15b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet60": { "index": "15", @@ -1289,7 +1292,8 @@ "alias": "etp16", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet64": { "index": "16", @@ -1343,7 +1347,8 @@ "alias": "etp19a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet74": { "index": "18", @@ -1353,7 +1358,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1363,7 +1369,8 @@ "alias": "etp20", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet80": { "index": "20", @@ -1373,7 +1380,8 @@ "alias": "etp21a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet82": { "index": "20", @@ -1383,7 +1391,8 @@ "alias": "etp21b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet84": { "index": "21", @@ -1393,7 +1402,8 @@ "alias": "etp22a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet86": { "index": "21", @@ -1403,7 +1413,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "22", @@ -1413,7 +1424,8 @@ "alias": "etp23a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet90": { "index": "22", @@ -1423,7 +1435,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "23", @@ -1433,7 +1446,8 @@ "alias": "etp24", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet96": { "index": "24", @@ -1443,7 +1457,8 @@ "alias": "etp25", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet100": { "index": "25", @@ -1453,7 +1468,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet104": { "index": "26", @@ -1463,7 +1479,8 @@ "alias": "etp27a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet106": { "index": "26", @@ -1473,7 +1490,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "27", @@ -1483,7 +1501,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet112": { "index": "28", @@ -1493,7 +1512,8 @@ "alias": "etp29", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet116": { "index": "29", @@ -1503,7 +1523,8 @@ "alias": "etp30", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet120": { "index": "30", @@ -1513,7 +1534,8 @@ "alias": "etp31a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet122": { "index": "30", @@ -1523,7 +1545,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "31", @@ -1533,7 +1556,8 @@ "alias": "etp32", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet128": { "index": "32", @@ -1543,7 +1567,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1553,7 +1578,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1563,7 +1589,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1573,7 +1600,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1583,7 +1611,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1593,7 +1622,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1603,7 +1633,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1613,7 +1644,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1623,7 +1655,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1633,7 +1666,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1643,7 +1677,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1653,7 +1688,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1663,7 +1699,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1673,7 +1710,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1683,7 +1721,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1693,7 +1732,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1703,7 +1743,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1713,7 +1754,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1723,7 +1765,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1733,7 +1776,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1743,7 +1787,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1753,7 +1798,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1763,7 +1809,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1773,7 +1820,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1783,7 +1831,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1793,7 +1842,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1803,7 +1853,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1813,7 +1864,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1823,7 +1875,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1833,7 +1886,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1843,7 +1897,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1853,7 +1908,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1863,7 +1919,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1873,7 +1930,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -1883,7 +1941,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -1893,7 +1952,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1903,7 +1963,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -1913,7 +1974,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -1923,7 +1985,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -1933,7 +1996,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -1943,7 +2007,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1953,7 +2018,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -1963,7 +2029,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -1973,9 +2040,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_2_0_3" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn3800-d112c8-t1-version_1_0_5.json b/tests/db_migrator_input/config_db/mellanox-sn3800-d112c8-t1-version_1_0_5.json index 4c29817a9f13..f0576552a1db 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn3800-d112c8-t1-version_1_0_5.json +++ b/tests/db_migrator_input/config_db/mellanox-sn3800-d112c8-t1-version_1_0_5.json @@ -1460,7 +1460,8 @@ "alias": "etp19a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet74": { "index": "18", @@ -1470,7 +1471,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1480,7 +1482,8 @@ "alias": "etp20", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet80": { "index": "20", @@ -1490,7 +1493,8 @@ "alias": "etp21a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet82": { "index": "20", @@ -1500,7 +1504,8 @@ "alias": "etp21b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet84": { "index": "21", @@ -1510,7 +1515,8 @@ "alias": "etp22a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet86": { "index": "21", @@ -1520,7 +1526,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "22", @@ -1530,7 +1537,8 @@ "alias": "etp23a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet90": { "index": "22", @@ -1540,7 +1548,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "23", @@ -1550,7 +1559,8 @@ "alias": "etp24", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet96": { "index": "24", @@ -1560,7 +1570,8 @@ "alias": "etp25", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet100": { "index": "25", @@ -1570,7 +1581,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet104": { "index": "26", @@ -1580,7 +1592,8 @@ "alias": "etp27a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet106": { "index": "26", @@ -1590,7 +1603,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "27", @@ -1600,7 +1614,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet112": { "index": "28", @@ -1610,7 +1625,8 @@ "alias": "etp29", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet116": { "index": "29", @@ -1620,7 +1636,8 @@ "alias": "etp30", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet120": { "index": "30", @@ -1630,7 +1647,8 @@ "alias": "etp31a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet122": { "index": "30", @@ -1640,7 +1658,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "31", @@ -1650,7 +1669,8 @@ "alias": "etp32", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet128": { "index": "32", @@ -1660,7 +1680,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1670,7 +1691,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1680,7 +1702,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1690,7 +1713,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1700,7 +1724,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1710,7 +1735,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1720,7 +1746,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1730,7 +1757,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1740,7 +1768,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1750,7 +1779,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1760,7 +1790,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1770,7 +1801,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1780,7 +1812,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1790,7 +1823,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1800,7 +1834,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1810,7 +1845,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1820,7 +1856,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1830,7 +1867,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1840,7 +1878,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1850,7 +1889,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1860,7 +1900,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1870,7 +1911,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1880,7 +1922,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1890,7 +1933,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1900,7 +1944,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1910,7 +1955,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1920,7 +1966,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1930,7 +1977,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1940,7 +1988,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1950,7 +1999,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1960,7 +2010,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1970,7 +2021,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1980,7 +2032,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1990,7 +2043,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -2000,7 +2054,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -2010,7 +2065,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -2020,7 +2076,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -2030,7 +2087,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -2040,7 +2098,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -2050,7 +2109,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -2060,7 +2120,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -2070,7 +2131,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -2080,7 +2142,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -2090,9 +2153,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_1_0_5" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn3800-d112c8-t1-version_1_0_6.json b/tests/db_migrator_input/config_db/mellanox-sn3800-d112c8-t1-version_1_0_6.json index cf401cf18bc6..9e08f652feeb 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn3800-d112c8-t1-version_1_0_6.json +++ b/tests/db_migrator_input/config_db/mellanox-sn3800-d112c8-t1-version_1_0_6.json @@ -1460,7 +1460,8 @@ "alias": "etp19a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet74": { "index": "18", @@ -1470,7 +1471,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1480,7 +1482,8 @@ "alias": "etp20", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet80": { "index": "20", @@ -1490,7 +1493,8 @@ "alias": "etp21a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet82": { "index": "20", @@ -1500,7 +1504,8 @@ "alias": "etp21b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet84": { "index": "21", @@ -1510,7 +1515,8 @@ "alias": "etp22a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet86": { "index": "21", @@ -1520,7 +1526,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "22", @@ -1530,7 +1537,8 @@ "alias": "etp23a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet90": { "index": "22", @@ -1540,7 +1548,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "23", @@ -1550,7 +1559,8 @@ "alias": "etp24", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet96": { "index": "24", @@ -1560,7 +1570,8 @@ "alias": "etp25", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet100": { "index": "25", @@ -1570,7 +1581,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet104": { "index": "26", @@ -1580,7 +1592,8 @@ "alias": "etp27a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet106": { "index": "26", @@ -1590,7 +1603,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "27", @@ -1600,7 +1614,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet112": { "index": "28", @@ -1610,7 +1625,8 @@ "alias": "etp29", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet116": { "index": "29", @@ -1620,7 +1636,8 @@ "alias": "etp30", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet120": { "index": "30", @@ -1630,7 +1647,8 @@ "alias": "etp31a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet122": { "index": "30", @@ -1640,7 +1658,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "31", @@ -1650,7 +1669,8 @@ "alias": "etp32", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet128": { "index": "32", @@ -1660,7 +1680,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1670,7 +1691,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1680,7 +1702,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1690,7 +1713,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1700,7 +1724,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1710,7 +1735,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1720,7 +1746,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1730,7 +1757,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1740,7 +1768,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1750,7 +1779,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1760,7 +1790,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1770,7 +1801,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1780,7 +1812,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1790,7 +1823,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1800,7 +1834,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1810,7 +1845,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1820,7 +1856,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1830,7 +1867,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1840,7 +1878,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1850,7 +1889,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1860,7 +1900,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1870,7 +1911,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1880,7 +1922,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1890,7 +1933,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1900,7 +1944,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1910,7 +1955,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1920,7 +1966,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1930,7 +1977,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1940,7 +1988,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1950,7 +1999,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1960,7 +2010,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1970,7 +2021,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1980,7 +2032,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1990,7 +2043,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -2000,7 +2054,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -2010,7 +2065,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -2020,7 +2076,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -2030,7 +2087,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -2040,7 +2098,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -2050,7 +2109,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -2060,7 +2120,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -2070,7 +2131,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -2080,7 +2142,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -2090,9 +2153,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_1_0_6" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn3800-d112c8-t1-version_2_0_0.json b/tests/db_migrator_input/config_db/mellanox-sn3800-d112c8-t1-version_2_0_0.json index 1a3822d3f34f..9093aa176b04 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn3800-d112c8-t1-version_2_0_0.json +++ b/tests/db_migrator_input/config_db/mellanox-sn3800-d112c8-t1-version_2_0_0.json @@ -1461,7 +1461,8 @@ "alias": "etp19a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet74": { "index": "18", @@ -1471,7 +1472,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1481,7 +1483,8 @@ "alias": "etp20", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet80": { "index": "20", @@ -1491,7 +1494,8 @@ "alias": "etp21a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet82": { "index": "20", @@ -1501,7 +1505,8 @@ "alias": "etp21b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet84": { "index": "21", @@ -1511,7 +1516,8 @@ "alias": "etp22a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet86": { "index": "21", @@ -1521,7 +1527,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "22", @@ -1531,7 +1538,8 @@ "alias": "etp23a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet90": { "index": "22", @@ -1541,7 +1549,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "23", @@ -1551,7 +1560,8 @@ "alias": "etp24", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet96": { "index": "24", @@ -1561,7 +1571,8 @@ "alias": "etp25", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet100": { "index": "25", @@ -1571,7 +1582,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet104": { "index": "26", @@ -1581,7 +1593,8 @@ "alias": "etp27a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet106": { "index": "26", @@ -1591,7 +1604,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "27", @@ -1601,7 +1615,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet112": { "index": "28", @@ -1611,7 +1626,8 @@ "alias": "etp29", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet116": { "index": "29", @@ -1621,7 +1637,8 @@ "alias": "etp30", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet120": { "index": "30", @@ -1631,7 +1648,8 @@ "alias": "etp31a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet122": { "index": "30", @@ -1641,7 +1659,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "31", @@ -1651,7 +1670,8 @@ "alias": "etp32", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet128": { "index": "32", @@ -1661,7 +1681,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1671,7 +1692,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1681,7 +1703,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1691,7 +1714,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1701,7 +1725,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1711,7 +1736,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1721,7 +1747,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1731,7 +1758,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1741,7 +1769,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1751,7 +1780,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1761,7 +1791,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1771,7 +1802,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1781,7 +1813,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1791,7 +1824,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1801,7 +1835,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1811,7 +1846,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1821,7 +1857,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1831,7 +1868,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1841,7 +1879,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1851,7 +1890,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1861,7 +1901,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1871,7 +1912,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1881,7 +1923,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1891,7 +1934,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1901,7 +1945,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1911,7 +1956,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1921,7 +1967,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1931,7 +1978,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1941,7 +1989,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1951,7 +2000,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1961,7 +2011,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1971,7 +2022,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1981,7 +2033,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1991,7 +2044,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -2001,7 +2055,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -2011,7 +2066,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -2021,7 +2077,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -2031,7 +2088,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -2041,7 +2099,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -2051,7 +2110,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -2061,7 +2121,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -2071,7 +2132,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -2081,7 +2143,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -2091,9 +2154,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_2_0_0" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn3800-d112c8-t1-version_2_0_3.json b/tests/db_migrator_input/config_db/mellanox-sn3800-d112c8-t1-version_2_0_3.json index 2b9a0fc916da..6169646c0873 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn3800-d112c8-t1-version_2_0_3.json +++ b/tests/db_migrator_input/config_db/mellanox-sn3800-d112c8-t1-version_2_0_3.json @@ -1461,7 +1461,8 @@ "alias": "etp19a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet74": { "index": "18", @@ -1471,7 +1472,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1481,7 +1483,8 @@ "alias": "etp20", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet80": { "index": "20", @@ -1491,7 +1494,8 @@ "alias": "etp21a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet82": { "index": "20", @@ -1501,7 +1505,8 @@ "alias": "etp21b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet84": { "index": "21", @@ -1511,7 +1516,8 @@ "alias": "etp22a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet86": { "index": "21", @@ -1521,7 +1527,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "22", @@ -1531,7 +1538,8 @@ "alias": "etp23a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet90": { "index": "22", @@ -1541,7 +1549,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "23", @@ -1551,7 +1560,8 @@ "alias": "etp24", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet96": { "index": "24", @@ -1561,7 +1571,8 @@ "alias": "etp25", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet100": { "index": "25", @@ -1571,7 +1582,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet104": { "index": "26", @@ -1581,7 +1593,8 @@ "alias": "etp27a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet106": { "index": "26", @@ -1591,7 +1604,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "27", @@ -1601,7 +1615,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet112": { "index": "28", @@ -1611,7 +1626,8 @@ "alias": "etp29", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet116": { "index": "29", @@ -1621,7 +1637,8 @@ "alias": "etp30", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet120": { "index": "30", @@ -1631,7 +1648,8 @@ "alias": "etp31a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet122": { "index": "30", @@ -1641,7 +1659,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "31", @@ -1651,7 +1670,8 @@ "alias": "etp32", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet128": { "index": "32", @@ -1661,7 +1681,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1671,7 +1692,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1681,7 +1703,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1691,7 +1714,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1701,7 +1725,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1711,7 +1736,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1721,7 +1747,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1731,7 +1758,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1741,7 +1769,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1751,7 +1780,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1761,7 +1791,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1771,7 +1802,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1781,7 +1813,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1791,7 +1824,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1801,7 +1835,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1811,7 +1846,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1821,7 +1857,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1831,7 +1868,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1841,7 +1879,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1851,7 +1890,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1861,7 +1901,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1871,7 +1912,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1881,7 +1923,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1891,7 +1934,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1901,7 +1945,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1911,7 +1956,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1921,7 +1967,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1931,7 +1978,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1941,7 +1989,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1951,7 +2000,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1961,7 +2011,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1971,7 +2022,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1981,7 +2033,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1991,7 +2044,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -2001,7 +2055,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -2011,7 +2066,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -2021,7 +2077,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -2031,7 +2088,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -2041,7 +2099,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -2051,7 +2110,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -2061,7 +2121,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -2071,7 +2132,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -2081,7 +2143,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -2091,9 +2154,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_2_0_3" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn3800-d24c52-t0-version_1_0_5.json b/tests/db_migrator_input/config_db/mellanox-sn3800-d24c52-t0-version_1_0_5.json index 5c5d7ecc6caa..9b331a15d53c 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn3800-d24c52-t0-version_1_0_5.json +++ b/tests/db_migrator_input/config_db/mellanox-sn3800-d24c52-t0-version_1_0_5.json @@ -714,7 +714,8 @@ "alias": "etp1a", "pfc_asym": "off", "speed": "10000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet2": { "index": "0", @@ -988,7 +989,8 @@ "alias": "etp15a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet58": { "index": "14", @@ -998,7 +1000,8 @@ "alias": "etp15b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet60": { "index": "15", @@ -1008,7 +1011,8 @@ "alias": "etp16", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet64": { "index": "16", @@ -1062,7 +1066,8 @@ "alias": "etp19a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet74": { "index": "18", @@ -1072,7 +1077,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1082,7 +1088,8 @@ "alias": "etp20", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet80": { "index": "20", @@ -1092,7 +1099,8 @@ "alias": "etp21a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet82": { "index": "20", @@ -1102,7 +1110,8 @@ "alias": "etp21b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet84": { "index": "21", @@ -1112,7 +1121,8 @@ "alias": "etp22a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet86": { "index": "21", @@ -1122,7 +1132,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "22", @@ -1132,7 +1143,8 @@ "alias": "etp23a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet90": { "index": "22", @@ -1142,7 +1154,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "23", @@ -1152,7 +1165,8 @@ "alias": "etp24", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet96": { "index": "24", @@ -1162,7 +1176,8 @@ "alias": "etp25", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet100": { "index": "25", @@ -1172,7 +1187,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet104": { "index": "26", @@ -1182,7 +1198,8 @@ "alias": "etp27a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet106": { "index": "26", @@ -1192,7 +1209,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "27", @@ -1202,7 +1220,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet112": { "index": "28", @@ -1212,7 +1231,8 @@ "alias": "etp29", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet116": { "index": "29", @@ -1222,7 +1242,8 @@ "alias": "etp30", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet120": { "index": "30", @@ -1232,7 +1253,8 @@ "alias": "etp31a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet122": { "index": "30", @@ -1242,7 +1264,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "31", @@ -1252,7 +1275,8 @@ "alias": "etp32", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet128": { "index": "32", @@ -1262,7 +1286,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1272,7 +1297,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1282,7 +1308,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1292,7 +1319,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1302,7 +1330,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1312,7 +1341,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1322,7 +1352,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1332,7 +1363,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1342,7 +1374,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1352,7 +1385,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1362,7 +1396,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1372,7 +1407,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1382,7 +1418,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1392,7 +1429,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1402,7 +1440,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1412,7 +1451,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1422,7 +1462,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1432,7 +1473,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1442,7 +1484,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1452,7 +1495,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1462,7 +1506,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1472,7 +1517,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1482,7 +1528,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1492,7 +1539,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1502,7 +1550,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1512,7 +1561,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1522,7 +1572,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1532,7 +1583,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1542,7 +1594,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1552,7 +1605,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1562,7 +1616,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1572,7 +1627,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1582,7 +1638,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1592,7 +1649,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -1602,7 +1660,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -1612,7 +1671,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1622,7 +1682,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -1632,7 +1693,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -1642,7 +1704,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -1652,7 +1715,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -1662,7 +1726,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1672,7 +1737,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -1682,7 +1748,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -1692,9 +1759,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_1_0_5" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn3800-d24c52-t0-version_1_0_6.json b/tests/db_migrator_input/config_db/mellanox-sn3800-d24c52-t0-version_1_0_6.json index 4330671cfea9..edefc7e4bfb0 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn3800-d24c52-t0-version_1_0_6.json +++ b/tests/db_migrator_input/config_db/mellanox-sn3800-d24c52-t0-version_1_0_6.json @@ -714,7 +714,8 @@ "alias": "etp1a", "pfc_asym": "off", "speed": "10000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet2": { "index": "0", @@ -988,7 +989,8 @@ "alias": "etp15a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet58": { "index": "14", @@ -998,7 +1000,8 @@ "alias": "etp15b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet60": { "index": "15", @@ -1008,7 +1011,8 @@ "alias": "etp16", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet64": { "index": "16", @@ -1062,7 +1066,8 @@ "alias": "etp19a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet74": { "index": "18", @@ -1072,7 +1077,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1082,7 +1088,8 @@ "alias": "etp20", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet80": { "index": "20", @@ -1092,7 +1099,8 @@ "alias": "etp21a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet82": { "index": "20", @@ -1102,7 +1110,8 @@ "alias": "etp21b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet84": { "index": "21", @@ -1112,7 +1121,8 @@ "alias": "etp22a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet86": { "index": "21", @@ -1122,7 +1132,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "22", @@ -1132,7 +1143,8 @@ "alias": "etp23a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet90": { "index": "22", @@ -1142,7 +1154,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "23", @@ -1152,7 +1165,8 @@ "alias": "etp24", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet96": { "index": "24", @@ -1162,7 +1176,8 @@ "alias": "etp25", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet100": { "index": "25", @@ -1172,7 +1187,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet104": { "index": "26", @@ -1182,7 +1198,8 @@ "alias": "etp27a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet106": { "index": "26", @@ -1192,7 +1209,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "27", @@ -1202,7 +1220,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet112": { "index": "28", @@ -1212,7 +1231,8 @@ "alias": "etp29", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet116": { "index": "29", @@ -1222,7 +1242,8 @@ "alias": "etp30", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet120": { "index": "30", @@ -1232,7 +1253,8 @@ "alias": "etp31a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet122": { "index": "30", @@ -1242,7 +1264,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "31", @@ -1252,7 +1275,8 @@ "alias": "etp32", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet128": { "index": "32", @@ -1262,7 +1286,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1272,7 +1297,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1282,7 +1308,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1292,7 +1319,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1302,7 +1330,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1312,7 +1341,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1322,7 +1352,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1332,7 +1363,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1342,7 +1374,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1352,7 +1385,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1362,7 +1396,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1372,7 +1407,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1382,7 +1418,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1392,7 +1429,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1402,7 +1440,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1412,7 +1451,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1422,7 +1462,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1432,7 +1473,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1442,7 +1484,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1452,7 +1495,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1462,7 +1506,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1472,7 +1517,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1482,7 +1528,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1492,7 +1539,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1502,7 +1550,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1512,7 +1561,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1522,7 +1572,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1532,7 +1583,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1542,7 +1594,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1552,7 +1605,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1562,7 +1616,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1572,7 +1627,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1582,7 +1638,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1592,7 +1649,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -1602,7 +1660,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -1612,7 +1671,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1622,7 +1682,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -1632,7 +1693,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -1642,7 +1704,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -1652,7 +1715,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -1662,7 +1726,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1672,7 +1737,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -1682,7 +1748,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -1692,9 +1759,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_1_0_6" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn3800-d24c52-t0-version_2_0_0.json b/tests/db_migrator_input/config_db/mellanox-sn3800-d24c52-t0-version_2_0_0.json index 90034883b206..a4477de9ad09 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn3800-d24c52-t0-version_2_0_0.json +++ b/tests/db_migrator_input/config_db/mellanox-sn3800-d24c52-t0-version_2_0_0.json @@ -715,7 +715,8 @@ "alias": "etp1a", "pfc_asym": "off", "speed": "10000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet2": { "index": "0", @@ -989,7 +990,8 @@ "alias": "etp15a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet58": { "index": "14", @@ -999,7 +1001,8 @@ "alias": "etp15b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet60": { "index": "15", @@ -1009,7 +1012,8 @@ "alias": "etp16", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet64": { "index": "16", @@ -1063,7 +1067,8 @@ "alias": "etp19a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet74": { "index": "18", @@ -1073,7 +1078,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1083,7 +1089,8 @@ "alias": "etp20", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet80": { "index": "20", @@ -1093,7 +1100,8 @@ "alias": "etp21a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet82": { "index": "20", @@ -1103,7 +1111,8 @@ "alias": "etp21b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet84": { "index": "21", @@ -1113,7 +1122,8 @@ "alias": "etp22a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet86": { "index": "21", @@ -1123,7 +1133,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "22", @@ -1133,7 +1144,8 @@ "alias": "etp23a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet90": { "index": "22", @@ -1143,7 +1155,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "23", @@ -1153,7 +1166,8 @@ "alias": "etp24", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet96": { "index": "24", @@ -1163,7 +1177,8 @@ "alias": "etp25", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet100": { "index": "25", @@ -1173,7 +1188,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet104": { "index": "26", @@ -1183,7 +1199,8 @@ "alias": "etp27a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet106": { "index": "26", @@ -1193,7 +1210,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "27", @@ -1203,7 +1221,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet112": { "index": "28", @@ -1213,7 +1232,8 @@ "alias": "etp29", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet116": { "index": "29", @@ -1223,7 +1243,8 @@ "alias": "etp30", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet120": { "index": "30", @@ -1233,7 +1254,8 @@ "alias": "etp31a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet122": { "index": "30", @@ -1243,7 +1265,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "31", @@ -1253,7 +1276,8 @@ "alias": "etp32", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet128": { "index": "32", @@ -1263,7 +1287,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1273,7 +1298,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1283,7 +1309,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1293,7 +1320,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1303,7 +1331,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1313,7 +1342,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1323,7 +1353,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1333,7 +1364,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1343,7 +1375,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1353,7 +1386,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1363,7 +1397,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1373,7 +1408,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1383,7 +1419,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1393,7 +1430,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1403,7 +1441,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1413,7 +1452,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1423,7 +1463,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1433,7 +1474,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1443,7 +1485,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1453,7 +1496,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1463,7 +1507,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1473,7 +1518,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1483,7 +1529,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1493,7 +1540,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1503,7 +1551,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1513,7 +1562,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1523,7 +1573,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1533,7 +1584,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1543,7 +1595,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1553,7 +1606,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1563,7 +1617,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1573,7 +1628,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1583,7 +1639,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1593,7 +1650,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -1603,7 +1661,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -1613,7 +1672,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1623,7 +1683,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -1633,7 +1694,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -1643,7 +1705,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -1653,7 +1716,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -1663,7 +1727,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1673,7 +1738,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -1683,7 +1749,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -1693,9 +1760,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_2_0_0" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn3800-d24c52-t0-version_2_0_3.json b/tests/db_migrator_input/config_db/mellanox-sn3800-d24c52-t0-version_2_0_3.json index ef5903fe05b0..9358cc568e2b 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn3800-d24c52-t0-version_2_0_3.json +++ b/tests/db_migrator_input/config_db/mellanox-sn3800-d24c52-t0-version_2_0_3.json @@ -715,7 +715,8 @@ "alias": "etp1a", "pfc_asym": "off", "speed": "10000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet2": { "index": "0", @@ -989,7 +990,8 @@ "alias": "etp15a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet58": { "index": "14", @@ -999,7 +1001,8 @@ "alias": "etp15b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet60": { "index": "15", @@ -1009,7 +1012,8 @@ "alias": "etp16", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet64": { "index": "16", @@ -1063,7 +1067,8 @@ "alias": "etp19a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet74": { "index": "18", @@ -1073,7 +1078,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1083,7 +1089,8 @@ "alias": "etp20", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet80": { "index": "20", @@ -1093,7 +1100,8 @@ "alias": "etp21a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet82": { "index": "20", @@ -1103,7 +1111,8 @@ "alias": "etp21b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet84": { "index": "21", @@ -1113,7 +1122,8 @@ "alias": "etp22a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet86": { "index": "21", @@ -1123,7 +1133,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "22", @@ -1133,7 +1144,8 @@ "alias": "etp23a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet90": { "index": "22", @@ -1143,7 +1155,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "23", @@ -1153,7 +1166,8 @@ "alias": "etp24", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet96": { "index": "24", @@ -1163,7 +1177,8 @@ "alias": "etp25", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet100": { "index": "25", @@ -1173,7 +1188,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet104": { "index": "26", @@ -1183,7 +1199,8 @@ "alias": "etp27a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet106": { "index": "26", @@ -1193,7 +1210,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "27", @@ -1203,7 +1221,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet112": { "index": "28", @@ -1213,7 +1232,8 @@ "alias": "etp29", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet116": { "index": "29", @@ -1223,7 +1243,8 @@ "alias": "etp30", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet120": { "index": "30", @@ -1233,7 +1254,8 @@ "alias": "etp31a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet122": { "index": "30", @@ -1243,7 +1265,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "31", @@ -1253,7 +1276,8 @@ "alias": "etp32", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet128": { "index": "32", @@ -1263,7 +1287,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1273,7 +1298,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1283,7 +1309,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1293,7 +1320,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1303,7 +1331,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1313,7 +1342,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1323,7 +1353,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1333,7 +1364,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1343,7 +1375,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1353,7 +1386,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1363,7 +1397,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1373,7 +1408,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1383,7 +1419,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1393,7 +1430,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1403,7 +1441,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1413,7 +1452,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1423,7 +1463,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1433,7 +1474,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1443,7 +1485,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1453,7 +1496,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1463,7 +1507,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1473,7 +1518,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1483,7 +1529,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1493,7 +1540,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1503,7 +1551,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1513,7 +1562,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1523,7 +1573,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1533,7 +1584,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1543,7 +1595,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1553,7 +1606,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1563,7 +1617,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1573,7 +1628,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1583,7 +1639,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1593,7 +1650,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -1603,7 +1661,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -1613,7 +1672,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1623,7 +1683,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -1633,7 +1694,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -1643,7 +1705,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -1653,7 +1716,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -1663,7 +1727,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1673,7 +1738,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -1683,7 +1749,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -1693,9 +1760,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_2_0_3" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn3800-d24c52-t1-version_1_0_5.json b/tests/db_migrator_input/config_db/mellanox-sn3800-d24c52-t1-version_1_0_5.json index 883e13fc2647..5a0c41c854ea 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn3800-d24c52-t1-version_1_0_5.json +++ b/tests/db_migrator_input/config_db/mellanox-sn3800-d24c52-t1-version_1_0_5.json @@ -1188,7 +1188,8 @@ "alias": "etp19a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet74": { "index": "18", @@ -1198,7 +1199,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1208,7 +1210,8 @@ "alias": "etp20", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet80": { "index": "20", @@ -1218,7 +1221,8 @@ "alias": "etp21a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet82": { "index": "20", @@ -1228,7 +1232,8 @@ "alias": "etp21b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet84": { "index": "21", @@ -1238,7 +1243,8 @@ "alias": "etp22a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet86": { "index": "21", @@ -1248,7 +1254,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "22", @@ -1258,7 +1265,8 @@ "alias": "etp23a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet90": { "index": "22", @@ -1268,7 +1276,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "23", @@ -1278,7 +1287,8 @@ "alias": "etp24", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet96": { "index": "24", @@ -1288,7 +1298,8 @@ "alias": "etp25", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet100": { "index": "25", @@ -1298,7 +1309,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet104": { "index": "26", @@ -1308,7 +1320,8 @@ "alias": "etp27a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet106": { "index": "26", @@ -1318,7 +1331,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "27", @@ -1328,7 +1342,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet112": { "index": "28", @@ -1338,7 +1353,8 @@ "alias": "etp29", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet116": { "index": "29", @@ -1348,7 +1364,8 @@ "alias": "etp30", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet120": { "index": "30", @@ -1358,7 +1375,8 @@ "alias": "etp31a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet122": { "index": "30", @@ -1368,7 +1386,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "31", @@ -1378,7 +1397,8 @@ "alias": "etp32", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet128": { "index": "32", @@ -1388,7 +1408,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1398,7 +1419,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1408,7 +1430,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1418,7 +1441,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1428,7 +1452,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1438,7 +1463,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1448,7 +1474,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1458,7 +1485,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1468,7 +1496,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1478,7 +1507,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1488,7 +1518,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1498,7 +1529,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1508,7 +1540,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1518,7 +1551,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1528,7 +1562,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1538,7 +1573,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1548,7 +1584,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1558,7 +1595,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1568,7 +1606,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1578,7 +1617,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1588,7 +1628,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1598,7 +1639,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1608,7 +1650,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1618,7 +1661,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1628,7 +1672,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1638,7 +1683,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1648,7 +1694,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1658,7 +1705,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1668,7 +1716,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1678,7 +1727,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1688,7 +1738,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1698,7 +1749,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1708,7 +1760,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1718,7 +1771,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -1728,7 +1782,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -1738,7 +1793,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1748,7 +1804,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -1758,7 +1815,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -1768,7 +1826,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -1778,7 +1837,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -1788,7 +1848,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1798,7 +1859,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -1808,7 +1870,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -1818,9 +1881,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_1_0_5" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn3800-d24c52-t1-version_1_0_6.json b/tests/db_migrator_input/config_db/mellanox-sn3800-d24c52-t1-version_1_0_6.json index 883e13fc2647..5a0c41c854ea 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn3800-d24c52-t1-version_1_0_6.json +++ b/tests/db_migrator_input/config_db/mellanox-sn3800-d24c52-t1-version_1_0_6.json @@ -1188,7 +1188,8 @@ "alias": "etp19a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet74": { "index": "18", @@ -1198,7 +1199,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1208,7 +1210,8 @@ "alias": "etp20", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet80": { "index": "20", @@ -1218,7 +1221,8 @@ "alias": "etp21a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet82": { "index": "20", @@ -1228,7 +1232,8 @@ "alias": "etp21b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet84": { "index": "21", @@ -1238,7 +1243,8 @@ "alias": "etp22a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet86": { "index": "21", @@ -1248,7 +1254,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "22", @@ -1258,7 +1265,8 @@ "alias": "etp23a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet90": { "index": "22", @@ -1268,7 +1276,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "23", @@ -1278,7 +1287,8 @@ "alias": "etp24", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet96": { "index": "24", @@ -1288,7 +1298,8 @@ "alias": "etp25", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet100": { "index": "25", @@ -1298,7 +1309,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet104": { "index": "26", @@ -1308,7 +1320,8 @@ "alias": "etp27a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet106": { "index": "26", @@ -1318,7 +1331,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "27", @@ -1328,7 +1342,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet112": { "index": "28", @@ -1338,7 +1353,8 @@ "alias": "etp29", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet116": { "index": "29", @@ -1348,7 +1364,8 @@ "alias": "etp30", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet120": { "index": "30", @@ -1358,7 +1375,8 @@ "alias": "etp31a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet122": { "index": "30", @@ -1368,7 +1386,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "31", @@ -1378,7 +1397,8 @@ "alias": "etp32", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet128": { "index": "32", @@ -1388,7 +1408,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1398,7 +1419,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1408,7 +1430,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1418,7 +1441,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1428,7 +1452,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1438,7 +1463,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1448,7 +1474,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1458,7 +1485,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1468,7 +1496,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1478,7 +1507,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1488,7 +1518,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1498,7 +1529,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1508,7 +1540,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1518,7 +1551,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1528,7 +1562,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1538,7 +1573,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1548,7 +1584,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1558,7 +1595,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1568,7 +1606,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1578,7 +1617,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1588,7 +1628,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1598,7 +1639,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1608,7 +1650,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1618,7 +1661,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1628,7 +1672,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1638,7 +1683,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1648,7 +1694,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1658,7 +1705,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1668,7 +1716,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1678,7 +1727,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1688,7 +1738,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1698,7 +1749,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1708,7 +1760,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1718,7 +1771,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -1728,7 +1782,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -1738,7 +1793,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1748,7 +1804,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -1758,7 +1815,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -1768,7 +1826,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -1778,7 +1837,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -1788,7 +1848,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1798,7 +1859,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -1808,7 +1870,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -1818,9 +1881,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_1_0_5" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn3800-d24c52-t1-version_2_0_0.json b/tests/db_migrator_input/config_db/mellanox-sn3800-d24c52-t1-version_2_0_0.json index f1240ff40197..4772573a66ae 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn3800-d24c52-t1-version_2_0_0.json +++ b/tests/db_migrator_input/config_db/mellanox-sn3800-d24c52-t1-version_2_0_0.json @@ -1189,7 +1189,8 @@ "alias": "etp19a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet74": { "index": "18", @@ -1199,7 +1200,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1209,7 +1211,8 @@ "alias": "etp20", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet80": { "index": "20", @@ -1219,7 +1222,8 @@ "alias": "etp21a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet82": { "index": "20", @@ -1229,7 +1233,8 @@ "alias": "etp21b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet84": { "index": "21", @@ -1239,7 +1244,8 @@ "alias": "etp22a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet86": { "index": "21", @@ -1249,7 +1255,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "22", @@ -1259,7 +1266,8 @@ "alias": "etp23a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet90": { "index": "22", @@ -1269,7 +1277,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "23", @@ -1279,7 +1288,8 @@ "alias": "etp24", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet96": { "index": "24", @@ -1289,7 +1299,8 @@ "alias": "etp25", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet100": { "index": "25", @@ -1299,7 +1310,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet104": { "index": "26", @@ -1309,7 +1321,8 @@ "alias": "etp27a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet106": { "index": "26", @@ -1319,7 +1332,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "27", @@ -1329,7 +1343,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet112": { "index": "28", @@ -1339,7 +1354,8 @@ "alias": "etp29", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet116": { "index": "29", @@ -1349,7 +1365,8 @@ "alias": "etp30", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet120": { "index": "30", @@ -1359,7 +1376,8 @@ "alias": "etp31a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet122": { "index": "30", @@ -1369,7 +1387,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "31", @@ -1379,7 +1398,8 @@ "alias": "etp32", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet128": { "index": "32", @@ -1389,7 +1409,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1399,7 +1420,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1409,7 +1431,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1419,7 +1442,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1429,7 +1453,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1439,7 +1464,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1449,7 +1475,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1459,7 +1486,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1469,7 +1497,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1479,7 +1508,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1489,7 +1519,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1499,7 +1530,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1509,7 +1541,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1519,7 +1552,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1529,7 +1563,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1539,7 +1574,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1549,7 +1585,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1559,7 +1596,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1569,7 +1607,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1579,7 +1618,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1589,7 +1629,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1599,7 +1640,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1609,7 +1651,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1619,7 +1662,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1629,7 +1673,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1639,7 +1684,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1649,7 +1695,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1659,7 +1706,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1669,7 +1717,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1679,7 +1728,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1689,7 +1739,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1699,7 +1750,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1709,7 +1761,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1719,7 +1772,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -1729,7 +1783,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -1739,7 +1794,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1749,7 +1805,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -1759,7 +1816,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -1769,7 +1827,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -1779,7 +1838,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -1789,7 +1849,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1799,7 +1860,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -1809,7 +1871,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -1819,9 +1882,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_2_0_0" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn3800-d24c52-t1-version_2_0_3.json b/tests/db_migrator_input/config_db/mellanox-sn3800-d24c52-t1-version_2_0_3.json index 36fb641289c9..0ae91b3c53e2 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn3800-d24c52-t1-version_2_0_3.json +++ b/tests/db_migrator_input/config_db/mellanox-sn3800-d24c52-t1-version_2_0_3.json @@ -1189,7 +1189,8 @@ "alias": "etp19a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet74": { "index": "18", @@ -1199,7 +1200,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1209,7 +1211,8 @@ "alias": "etp20", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet80": { "index": "20", @@ -1219,7 +1222,8 @@ "alias": "etp21a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet82": { "index": "20", @@ -1229,7 +1233,8 @@ "alias": "etp21b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet84": { "index": "21", @@ -1239,7 +1244,8 @@ "alias": "etp22a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet86": { "index": "21", @@ -1249,7 +1255,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "22", @@ -1259,7 +1266,8 @@ "alias": "etp23a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet90": { "index": "22", @@ -1269,7 +1277,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "23", @@ -1279,7 +1288,8 @@ "alias": "etp24", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet96": { "index": "24", @@ -1289,7 +1299,8 @@ "alias": "etp25", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet100": { "index": "25", @@ -1299,7 +1310,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet104": { "index": "26", @@ -1309,7 +1321,8 @@ "alias": "etp27a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet106": { "index": "26", @@ -1319,7 +1332,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "27", @@ -1329,7 +1343,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet112": { "index": "28", @@ -1339,7 +1354,8 @@ "alias": "etp29", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet116": { "index": "29", @@ -1349,7 +1365,8 @@ "alias": "etp30", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet120": { "index": "30", @@ -1359,7 +1376,8 @@ "alias": "etp31a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet122": { "index": "30", @@ -1369,7 +1387,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "31", @@ -1379,7 +1398,8 @@ "alias": "etp32", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet128": { "index": "32", @@ -1389,7 +1409,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1399,7 +1420,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1409,7 +1431,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1419,7 +1442,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1429,7 +1453,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1439,7 +1464,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1449,7 +1475,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1459,7 +1486,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1469,7 +1497,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1479,7 +1508,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1489,7 +1519,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1499,7 +1530,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1509,7 +1541,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1519,7 +1552,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1529,7 +1563,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1539,7 +1574,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1549,7 +1585,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1559,7 +1596,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1569,7 +1607,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1579,7 +1618,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1589,7 +1629,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1599,7 +1640,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1609,7 +1651,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1619,7 +1662,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1629,7 +1673,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1639,7 +1684,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1649,7 +1695,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1659,7 +1706,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1669,7 +1717,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1679,7 +1728,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1689,7 +1739,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1699,7 +1750,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1709,7 +1761,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1719,7 +1772,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -1729,7 +1783,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -1739,7 +1794,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1749,7 +1805,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -1759,7 +1816,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -1769,7 +1827,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -1779,7 +1838,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -1789,7 +1849,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1799,7 +1860,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -1809,7 +1871,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -1819,9 +1882,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_2_0_3" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn3800-d28c50-t0-version_1_0_5.json b/tests/db_migrator_input/config_db/mellanox-sn3800-d28c50-t0-version_1_0_5.json index 0af2e481f341..340de9a2fea4 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn3800-d28c50-t0-version_1_0_5.json +++ b/tests/db_migrator_input/config_db/mellanox-sn3800-d28c50-t0-version_1_0_5.json @@ -714,7 +714,8 @@ "alias": "etp1a", "pfc_asym": "off", "speed": "10000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet2": { "index": "0", @@ -988,7 +989,8 @@ "alias": "etp15a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet58": { "index": "14", @@ -998,7 +1000,8 @@ "alias": "etp15b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet60": { "index": "15", @@ -1008,7 +1011,8 @@ "alias": "etp16", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet64": { "index": "16", @@ -1062,7 +1066,8 @@ "alias": "etp19a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet74": { "index": "18", @@ -1072,7 +1077,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1082,7 +1088,8 @@ "alias": "etp20", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet80": { "index": "20", @@ -1092,7 +1099,8 @@ "alias": "etp21a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet82": { "index": "20", @@ -1102,7 +1110,8 @@ "alias": "etp21b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet84": { "index": "21", @@ -1112,7 +1121,8 @@ "alias": "etp22a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet86": { "index": "21", @@ -1122,7 +1132,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "22", @@ -1132,7 +1143,8 @@ "alias": "etp23a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet90": { "index": "22", @@ -1142,7 +1154,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "23", @@ -1152,7 +1165,8 @@ "alias": "etp24", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet96": { "index": "24", @@ -1162,7 +1176,8 @@ "alias": "etp25", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet100": { "index": "25", @@ -1172,7 +1187,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet104": { "index": "26", @@ -1182,7 +1198,8 @@ "alias": "etp27a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet106": { "index": "26", @@ -1192,7 +1209,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "27", @@ -1202,7 +1220,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet112": { "index": "28", @@ -1212,7 +1231,8 @@ "alias": "etp29", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet116": { "index": "29", @@ -1222,7 +1242,8 @@ "alias": "etp30", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet120": { "index": "30", @@ -1232,7 +1253,8 @@ "alias": "etp31a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet122": { "index": "30", @@ -1242,7 +1264,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "31", @@ -1252,7 +1275,8 @@ "alias": "etp32", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet128": { "index": "32", @@ -1262,7 +1286,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1272,7 +1297,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1282,7 +1308,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1292,7 +1319,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1302,7 +1330,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1312,7 +1341,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1322,7 +1352,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1332,7 +1363,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1342,7 +1374,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1352,7 +1385,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1362,7 +1396,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1372,7 +1407,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1382,7 +1418,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1392,7 +1429,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1402,7 +1440,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1412,7 +1451,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1422,7 +1462,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1432,7 +1473,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1442,7 +1484,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1452,7 +1495,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1462,7 +1506,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1472,7 +1517,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1482,7 +1528,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1492,7 +1539,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1502,7 +1550,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1512,7 +1561,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1522,7 +1572,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1532,7 +1583,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1542,7 +1594,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1552,7 +1605,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1562,7 +1616,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1572,7 +1627,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1582,7 +1638,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1592,7 +1649,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -1602,7 +1660,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -1612,7 +1671,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1622,7 +1682,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -1632,7 +1693,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -1642,7 +1704,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -1652,7 +1715,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -1662,7 +1726,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1672,7 +1737,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -1682,7 +1748,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -1692,9 +1759,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_1_0_5" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn3800-d28c50-t0-version_1_0_6.json b/tests/db_migrator_input/config_db/mellanox-sn3800-d28c50-t0-version_1_0_6.json index b130de11f122..5d439de32062 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn3800-d28c50-t0-version_1_0_6.json +++ b/tests/db_migrator_input/config_db/mellanox-sn3800-d28c50-t0-version_1_0_6.json @@ -714,7 +714,8 @@ "alias": "etp1a", "pfc_asym": "off", "speed": "10000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet2": { "index": "0", @@ -988,7 +989,8 @@ "alias": "etp15a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet58": { "index": "14", @@ -998,7 +1000,8 @@ "alias": "etp15b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet60": { "index": "15", @@ -1008,7 +1011,8 @@ "alias": "etp16", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet64": { "index": "16", @@ -1062,7 +1066,8 @@ "alias": "etp19a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet74": { "index": "18", @@ -1072,7 +1077,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1082,7 +1088,8 @@ "alias": "etp20", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet80": { "index": "20", @@ -1092,7 +1099,8 @@ "alias": "etp21a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet82": { "index": "20", @@ -1102,7 +1110,8 @@ "alias": "etp21b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet84": { "index": "21", @@ -1112,7 +1121,8 @@ "alias": "etp22a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet86": { "index": "21", @@ -1122,7 +1132,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "22", @@ -1132,7 +1143,8 @@ "alias": "etp23a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet90": { "index": "22", @@ -1142,7 +1154,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "23", @@ -1152,7 +1165,8 @@ "alias": "etp24", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet96": { "index": "24", @@ -1162,7 +1176,8 @@ "alias": "etp25", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet100": { "index": "25", @@ -1172,7 +1187,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet104": { "index": "26", @@ -1182,7 +1198,8 @@ "alias": "etp27a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet106": { "index": "26", @@ -1192,7 +1209,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "27", @@ -1202,7 +1220,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet112": { "index": "28", @@ -1212,7 +1231,8 @@ "alias": "etp29", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet116": { "index": "29", @@ -1222,7 +1242,8 @@ "alias": "etp30", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet120": { "index": "30", @@ -1232,7 +1253,8 @@ "alias": "etp31a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet122": { "index": "30", @@ -1242,7 +1264,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "31", @@ -1252,7 +1275,8 @@ "alias": "etp32", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet128": { "index": "32", @@ -1262,7 +1286,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1272,7 +1297,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1282,7 +1308,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1292,7 +1319,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1302,7 +1330,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1312,7 +1341,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1322,7 +1352,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1332,7 +1363,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1342,7 +1374,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1352,7 +1385,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1362,7 +1396,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1372,7 +1407,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1382,7 +1418,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1392,7 +1429,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1402,7 +1440,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1412,7 +1451,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1422,7 +1462,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1432,7 +1473,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1442,7 +1484,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1452,7 +1495,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1462,7 +1506,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1472,7 +1517,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1482,7 +1528,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1492,7 +1539,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1502,7 +1550,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1512,7 +1561,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1522,7 +1572,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1532,7 +1583,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1542,7 +1594,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1552,7 +1605,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1562,7 +1616,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1572,7 +1627,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1582,7 +1638,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1592,7 +1649,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -1602,7 +1660,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -1612,7 +1671,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1622,7 +1682,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -1632,7 +1693,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -1642,7 +1704,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -1652,7 +1715,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -1662,7 +1726,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1672,7 +1737,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -1682,7 +1748,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -1692,9 +1759,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_1_0_6" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn3800-d28c50-t0-version_2_0_0.json b/tests/db_migrator_input/config_db/mellanox-sn3800-d28c50-t0-version_2_0_0.json index 7183e5abe857..941a6fdb752b 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn3800-d28c50-t0-version_2_0_0.json +++ b/tests/db_migrator_input/config_db/mellanox-sn3800-d28c50-t0-version_2_0_0.json @@ -715,7 +715,8 @@ "alias": "etp1a", "pfc_asym": "off", "speed": "10000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet2": { "index": "0", @@ -989,7 +990,8 @@ "alias": "etp15a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet58": { "index": "14", @@ -999,7 +1001,8 @@ "alias": "etp15b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet60": { "index": "15", @@ -1009,7 +1012,8 @@ "alias": "etp16", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet64": { "index": "16", @@ -1063,7 +1067,8 @@ "alias": "etp19a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet74": { "index": "18", @@ -1073,7 +1078,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1083,7 +1089,8 @@ "alias": "etp20", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet80": { "index": "20", @@ -1093,7 +1100,8 @@ "alias": "etp21a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet82": { "index": "20", @@ -1103,7 +1111,8 @@ "alias": "etp21b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet84": { "index": "21", @@ -1113,7 +1122,8 @@ "alias": "etp22a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet86": { "index": "21", @@ -1123,7 +1133,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "22", @@ -1133,7 +1144,8 @@ "alias": "etp23a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet90": { "index": "22", @@ -1143,7 +1155,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "23", @@ -1153,7 +1166,8 @@ "alias": "etp24", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet96": { "index": "24", @@ -1163,7 +1177,8 @@ "alias": "etp25", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet100": { "index": "25", @@ -1173,7 +1188,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet104": { "index": "26", @@ -1183,7 +1199,8 @@ "alias": "etp27a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet106": { "index": "26", @@ -1193,7 +1210,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "27", @@ -1203,7 +1221,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet112": { "index": "28", @@ -1213,7 +1232,8 @@ "alias": "etp29", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet116": { "index": "29", @@ -1223,7 +1243,8 @@ "alias": "etp30", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet120": { "index": "30", @@ -1233,7 +1254,8 @@ "alias": "etp31a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet122": { "index": "30", @@ -1243,7 +1265,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "31", @@ -1253,7 +1276,8 @@ "alias": "etp32", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet128": { "index": "32", @@ -1263,7 +1287,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1273,7 +1298,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1283,7 +1309,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1293,7 +1320,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1303,7 +1331,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1313,7 +1342,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1323,7 +1353,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1333,7 +1364,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1343,7 +1375,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1353,7 +1386,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1363,7 +1397,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1373,7 +1408,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1383,7 +1419,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1393,7 +1430,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1403,7 +1441,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1413,7 +1452,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1423,7 +1463,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1433,7 +1474,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1443,7 +1485,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1453,7 +1496,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1463,7 +1507,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1473,7 +1518,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1483,7 +1529,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1493,7 +1540,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1503,7 +1551,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1513,7 +1562,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1523,7 +1573,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1533,7 +1584,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1543,7 +1595,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1553,7 +1606,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1563,7 +1617,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1573,7 +1628,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1583,7 +1639,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1593,7 +1650,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -1603,7 +1661,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -1613,7 +1672,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1623,7 +1683,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -1633,7 +1694,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -1643,7 +1705,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -1653,7 +1716,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -1663,7 +1727,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1673,7 +1738,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -1683,7 +1749,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -1693,9 +1760,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_2_0_0" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn3800-d28c50-t0-version_2_0_3.json b/tests/db_migrator_input/config_db/mellanox-sn3800-d28c50-t0-version_2_0_3.json index af62d48346c9..362f763df127 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn3800-d28c50-t0-version_2_0_3.json +++ b/tests/db_migrator_input/config_db/mellanox-sn3800-d28c50-t0-version_2_0_3.json @@ -715,7 +715,8 @@ "alias": "etp1a", "pfc_asym": "off", "speed": "10000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet2": { "index": "0", @@ -989,7 +990,8 @@ "alias": "etp15a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet58": { "index": "14", @@ -999,7 +1001,8 @@ "alias": "etp15b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet60": { "index": "15", @@ -1009,7 +1012,8 @@ "alias": "etp16", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet64": { "index": "16", @@ -1063,7 +1067,8 @@ "alias": "etp19a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet74": { "index": "18", @@ -1073,7 +1078,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1083,7 +1089,8 @@ "alias": "etp20", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet80": { "index": "20", @@ -1093,7 +1100,8 @@ "alias": "etp21a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet82": { "index": "20", @@ -1103,7 +1111,8 @@ "alias": "etp21b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet84": { "index": "21", @@ -1113,7 +1122,8 @@ "alias": "etp22a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet86": { "index": "21", @@ -1123,7 +1133,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "22", @@ -1133,7 +1144,8 @@ "alias": "etp23a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet90": { "index": "22", @@ -1143,7 +1155,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "23", @@ -1153,7 +1166,8 @@ "alias": "etp24", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet96": { "index": "24", @@ -1163,7 +1177,8 @@ "alias": "etp25", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet100": { "index": "25", @@ -1173,7 +1188,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet104": { "index": "26", @@ -1183,7 +1199,8 @@ "alias": "etp27a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet106": { "index": "26", @@ -1193,7 +1210,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "27", @@ -1203,7 +1221,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet112": { "index": "28", @@ -1213,7 +1232,8 @@ "alias": "etp29", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet116": { "index": "29", @@ -1223,7 +1243,8 @@ "alias": "etp30", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet120": { "index": "30", @@ -1233,7 +1254,8 @@ "alias": "etp31a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet122": { "index": "30", @@ -1243,7 +1265,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "31", @@ -1253,7 +1276,8 @@ "alias": "etp32", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet128": { "index": "32", @@ -1263,7 +1287,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1273,7 +1298,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1283,7 +1309,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1293,7 +1320,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1303,7 +1331,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1313,7 +1342,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1323,7 +1353,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1333,7 +1364,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1343,7 +1375,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1353,7 +1386,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1363,7 +1397,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1373,7 +1408,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1383,7 +1419,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1393,7 +1430,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1403,7 +1441,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1413,7 +1452,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1423,7 +1463,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1433,7 +1474,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1443,7 +1485,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1453,7 +1496,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1463,7 +1507,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1473,7 +1518,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1483,7 +1529,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1493,7 +1540,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1503,7 +1551,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1513,7 +1562,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1523,7 +1573,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1533,7 +1584,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1543,7 +1595,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1553,7 +1606,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1563,7 +1617,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1573,7 +1628,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1583,7 +1639,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1593,7 +1650,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -1603,7 +1661,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -1613,7 +1672,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1623,7 +1683,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -1633,7 +1694,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -1643,7 +1705,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -1653,7 +1716,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -1663,7 +1727,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1673,7 +1738,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -1683,7 +1749,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -1693,9 +1760,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_2_0_3" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn3800-d28c50-t1-version_1_0_5.json b/tests/db_migrator_input/config_db/mellanox-sn3800-d28c50-t1-version_1_0_5.json index 7a8ae9c71603..97403e343d8b 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn3800-d28c50-t1-version_1_0_5.json +++ b/tests/db_migrator_input/config_db/mellanox-sn3800-d28c50-t1-version_1_0_5.json @@ -1188,7 +1188,8 @@ "alias": "etp19a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet74": { "index": "18", @@ -1198,7 +1199,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1208,7 +1210,8 @@ "alias": "etp20", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet80": { "index": "20", @@ -1218,7 +1221,8 @@ "alias": "etp21a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet82": { "index": "20", @@ -1228,7 +1232,8 @@ "alias": "etp21b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet84": { "index": "21", @@ -1238,7 +1243,8 @@ "alias": "etp22a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet86": { "index": "21", @@ -1248,7 +1254,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "22", @@ -1258,7 +1265,8 @@ "alias": "etp23a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet90": { "index": "22", @@ -1268,7 +1276,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "23", @@ -1278,7 +1287,8 @@ "alias": "etp24", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet96": { "index": "24", @@ -1288,7 +1298,8 @@ "alias": "etp25", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet100": { "index": "25", @@ -1298,7 +1309,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet104": { "index": "26", @@ -1308,7 +1320,8 @@ "alias": "etp27a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet106": { "index": "26", @@ -1318,7 +1331,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "27", @@ -1328,7 +1342,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet112": { "index": "28", @@ -1338,7 +1353,8 @@ "alias": "etp29", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet116": { "index": "29", @@ -1348,7 +1364,8 @@ "alias": "etp30", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet120": { "index": "30", @@ -1358,7 +1375,8 @@ "alias": "etp31a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet122": { "index": "30", @@ -1368,7 +1386,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "31", @@ -1378,7 +1397,8 @@ "alias": "etp32", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet128": { "index": "32", @@ -1388,7 +1408,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1398,7 +1419,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1408,7 +1430,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1418,7 +1441,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1428,7 +1452,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1438,7 +1463,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1448,7 +1474,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1458,7 +1485,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1468,7 +1496,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1478,7 +1507,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1488,7 +1518,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1498,7 +1529,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1508,7 +1540,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1518,7 +1551,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1528,7 +1562,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1538,7 +1573,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1548,7 +1584,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1558,7 +1595,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1568,7 +1606,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1578,7 +1617,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1588,7 +1628,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1598,7 +1639,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1608,7 +1650,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1618,7 +1661,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1628,7 +1672,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1638,7 +1683,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1648,7 +1694,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1658,7 +1705,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1668,7 +1716,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1678,7 +1727,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1688,7 +1738,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1698,7 +1749,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1708,7 +1760,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1718,7 +1771,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -1728,7 +1782,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -1738,7 +1793,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1748,7 +1804,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -1758,7 +1815,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -1768,7 +1826,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -1778,7 +1837,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -1788,7 +1848,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1798,7 +1859,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -1808,7 +1870,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -1818,9 +1881,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_1_0_5" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn3800-d28c50-t1-version_1_0_6.json b/tests/db_migrator_input/config_db/mellanox-sn3800-d28c50-t1-version_1_0_6.json index 7a8ae9c71603..97403e343d8b 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn3800-d28c50-t1-version_1_0_6.json +++ b/tests/db_migrator_input/config_db/mellanox-sn3800-d28c50-t1-version_1_0_6.json @@ -1188,7 +1188,8 @@ "alias": "etp19a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet74": { "index": "18", @@ -1198,7 +1199,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1208,7 +1210,8 @@ "alias": "etp20", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet80": { "index": "20", @@ -1218,7 +1221,8 @@ "alias": "etp21a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet82": { "index": "20", @@ -1228,7 +1232,8 @@ "alias": "etp21b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet84": { "index": "21", @@ -1238,7 +1243,8 @@ "alias": "etp22a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet86": { "index": "21", @@ -1248,7 +1254,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "22", @@ -1258,7 +1265,8 @@ "alias": "etp23a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet90": { "index": "22", @@ -1268,7 +1276,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "23", @@ -1278,7 +1287,8 @@ "alias": "etp24", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet96": { "index": "24", @@ -1288,7 +1298,8 @@ "alias": "etp25", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet100": { "index": "25", @@ -1298,7 +1309,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet104": { "index": "26", @@ -1308,7 +1320,8 @@ "alias": "etp27a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet106": { "index": "26", @@ -1318,7 +1331,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "27", @@ -1328,7 +1342,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet112": { "index": "28", @@ -1338,7 +1353,8 @@ "alias": "etp29", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet116": { "index": "29", @@ -1348,7 +1364,8 @@ "alias": "etp30", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet120": { "index": "30", @@ -1358,7 +1375,8 @@ "alias": "etp31a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet122": { "index": "30", @@ -1368,7 +1386,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "31", @@ -1378,7 +1397,8 @@ "alias": "etp32", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet128": { "index": "32", @@ -1388,7 +1408,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1398,7 +1419,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1408,7 +1430,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1418,7 +1441,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1428,7 +1452,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1438,7 +1463,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1448,7 +1474,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1458,7 +1485,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1468,7 +1496,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1478,7 +1507,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1488,7 +1518,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1498,7 +1529,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1508,7 +1540,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1518,7 +1551,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1528,7 +1562,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1538,7 +1573,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1548,7 +1584,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1558,7 +1595,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1568,7 +1606,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1578,7 +1617,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1588,7 +1628,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1598,7 +1639,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1608,7 +1650,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1618,7 +1661,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1628,7 +1672,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1638,7 +1683,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1648,7 +1694,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1658,7 +1705,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1668,7 +1716,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1678,7 +1727,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1688,7 +1738,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1698,7 +1749,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1708,7 +1760,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1718,7 +1771,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -1728,7 +1782,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -1738,7 +1793,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1748,7 +1804,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -1758,7 +1815,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -1768,7 +1826,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -1778,7 +1837,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -1788,7 +1848,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1798,7 +1859,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -1808,7 +1870,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -1818,9 +1881,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_1_0_5" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn3800-d28c50-t1-version_2_0_0.json b/tests/db_migrator_input/config_db/mellanox-sn3800-d28c50-t1-version_2_0_0.json index 76b271001409..429324cb1146 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn3800-d28c50-t1-version_2_0_0.json +++ b/tests/db_migrator_input/config_db/mellanox-sn3800-d28c50-t1-version_2_0_0.json @@ -1189,7 +1189,8 @@ "alias": "etp19a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet74": { "index": "18", @@ -1199,7 +1200,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1209,7 +1211,8 @@ "alias": "etp20", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet80": { "index": "20", @@ -1219,7 +1222,8 @@ "alias": "etp21a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet82": { "index": "20", @@ -1229,7 +1233,8 @@ "alias": "etp21b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet84": { "index": "21", @@ -1239,7 +1244,8 @@ "alias": "etp22a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet86": { "index": "21", @@ -1249,7 +1255,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "22", @@ -1259,7 +1266,8 @@ "alias": "etp23a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet90": { "index": "22", @@ -1269,7 +1277,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "23", @@ -1279,7 +1288,8 @@ "alias": "etp24", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet96": { "index": "24", @@ -1289,7 +1299,8 @@ "alias": "etp25", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet100": { "index": "25", @@ -1299,7 +1310,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet104": { "index": "26", @@ -1309,7 +1321,8 @@ "alias": "etp27a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet106": { "index": "26", @@ -1319,7 +1332,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "27", @@ -1329,7 +1343,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet112": { "index": "28", @@ -1339,7 +1354,8 @@ "alias": "etp29", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet116": { "index": "29", @@ -1349,7 +1365,8 @@ "alias": "etp30", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet120": { "index": "30", @@ -1359,7 +1376,8 @@ "alias": "etp31a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet122": { "index": "30", @@ -1369,7 +1387,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "31", @@ -1379,7 +1398,8 @@ "alias": "etp32", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet128": { "index": "32", @@ -1389,7 +1409,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1399,7 +1420,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1409,7 +1431,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1419,7 +1442,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1429,7 +1453,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1439,7 +1464,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1449,7 +1475,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1459,7 +1486,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1469,7 +1497,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1479,7 +1508,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1489,7 +1519,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1499,7 +1530,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1509,7 +1541,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1519,7 +1552,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1529,7 +1563,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1539,7 +1574,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1549,7 +1585,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1559,7 +1596,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1569,7 +1607,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1579,7 +1618,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1589,7 +1629,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1599,7 +1640,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1609,7 +1651,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1619,7 +1662,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1629,7 +1673,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1639,7 +1684,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1649,7 +1695,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1659,7 +1706,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1669,7 +1717,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1679,7 +1728,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1689,7 +1739,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1699,7 +1750,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1709,7 +1761,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1719,7 +1772,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -1729,7 +1783,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -1739,7 +1794,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1749,7 +1805,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -1759,7 +1816,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -1769,7 +1827,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -1779,7 +1838,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -1789,7 +1849,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1799,7 +1860,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -1809,7 +1871,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -1819,9 +1882,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_2_0_0" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/mellanox-sn3800-d28c50-t1-version_2_0_3.json b/tests/db_migrator_input/config_db/mellanox-sn3800-d28c50-t1-version_2_0_3.json index de7a6ed7d267..0a97a493ec5d 100644 --- a/tests/db_migrator_input/config_db/mellanox-sn3800-d28c50-t1-version_2_0_3.json +++ b/tests/db_migrator_input/config_db/mellanox-sn3800-d28c50-t1-version_2_0_3.json @@ -1189,7 +1189,8 @@ "alias": "etp19a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet74": { "index": "18", @@ -1199,7 +1200,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1209,7 +1211,8 @@ "alias": "etp20", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet80": { "index": "20", @@ -1219,7 +1222,8 @@ "alias": "etp21a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet82": { "index": "20", @@ -1229,7 +1233,8 @@ "alias": "etp21b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet84": { "index": "21", @@ -1239,7 +1244,8 @@ "alias": "etp22a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet86": { "index": "21", @@ -1249,7 +1255,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "22", @@ -1259,7 +1266,8 @@ "alias": "etp23a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet90": { "index": "22", @@ -1269,7 +1277,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "23", @@ -1279,7 +1288,8 @@ "alias": "etp24", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet96": { "index": "24", @@ -1289,7 +1299,8 @@ "alias": "etp25", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet100": { "index": "25", @@ -1299,7 +1310,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet104": { "index": "26", @@ -1309,7 +1321,8 @@ "alias": "etp27a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet106": { "index": "26", @@ -1319,7 +1332,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "27", @@ -1329,7 +1343,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet112": { "index": "28", @@ -1339,7 +1354,8 @@ "alias": "etp29", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet116": { "index": "29", @@ -1349,7 +1365,8 @@ "alias": "etp30", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet120": { "index": "30", @@ -1359,7 +1376,8 @@ "alias": "etp31a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet122": { "index": "30", @@ -1369,7 +1387,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "31", @@ -1379,7 +1398,8 @@ "alias": "etp32", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet128": { "index": "32", @@ -1389,7 +1409,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1399,7 +1420,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1409,7 +1431,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1419,7 +1442,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1429,7 +1453,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1439,7 +1464,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1449,7 +1475,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1459,7 +1486,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1469,7 +1497,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1479,7 +1508,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1489,7 +1519,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1499,7 +1530,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1509,7 +1541,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1519,7 +1552,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1529,7 +1563,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1539,7 +1574,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1549,7 +1585,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1559,7 +1596,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1569,7 +1607,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1579,7 +1618,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1589,7 +1629,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1599,7 +1640,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1609,7 +1651,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1619,7 +1662,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1629,7 +1673,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1639,7 +1684,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1649,7 +1695,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1659,7 +1706,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1669,7 +1717,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1679,7 +1728,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1689,7 +1739,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1699,7 +1750,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1709,7 +1761,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1719,7 +1772,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -1729,7 +1783,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -1739,7 +1794,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1749,7 +1805,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -1759,7 +1816,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -1769,7 +1827,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -1779,7 +1838,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -1789,7 +1849,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1799,7 +1860,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -1809,7 +1871,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -1819,9 +1882,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_2_0_3" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/non-default-config-expected.json b/tests/db_migrator_input/config_db/non-default-config-expected.json index ebc8ab187ffe..dab1997e2416 100644 --- a/tests/db_migrator_input/config_db/non-default-config-expected.json +++ b/tests/db_migrator_input/config_db/non-default-config-expected.json @@ -1117,4 +1117,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_2_0_3" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/non-default-config-input.json b/tests/db_migrator_input/config_db/non-default-config-input.json index 8862a9247eab..b806793fc435 100644 --- a/tests/db_migrator_input/config_db/non-default-config-input.json +++ b/tests/db_migrator_input/config_db/non-default-config-input.json @@ -746,7 +746,8 @@ "alias": "etp1", "pfc_asym": "off", "speed": "10000", - "description": "etp1" + "description": "etp1", + "admin_status": "up" }, "PORT|Ethernet4": { "lanes": "4,5,6,7", @@ -995,7 +996,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "description": "etp26" + "description": "etp26", + "admin_status": "up" }, "PORT|Ethernet104": { "lanes": "104,105,106,107", @@ -1004,7 +1006,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "100000", - "description": "etp27" + "description": "etp27", + "admin_status": "up" }, "PORT|Ethernet108": { "lanes": "108,109,110,111", @@ -1013,7 +1016,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "100000", - "description": "etp28" + "description": "etp28", + "admin_status": "up" }, "PORT|Ethernet112": { "lanes": "112,113,114,115", @@ -1056,4 +1060,4 @@ "VERSIONS|DATABASE": { "VERSION": "version_1_0_1" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/non-default-lossless-profile-in-pg-expected.json b/tests/db_migrator_input/config_db/non-default-lossless-profile-in-pg-expected.json index 7355db0d9434..b0e640078565 100644 --- a/tests/db_migrator_input/config_db/non-default-lossless-profile-in-pg-expected.json +++ b/tests/db_migrator_input/config_db/non-default-lossless-profile-in-pg-expected.json @@ -1358,7 +1358,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1412,7 +1413,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "12", @@ -1433,7 +1435,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "24", @@ -1487,7 +1490,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "28", @@ -1541,7 +1545,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "32", @@ -1573,7 +1578,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "18", @@ -1594,7 +1600,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1604,7 +1611,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "19", @@ -1625,7 +1633,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "20", @@ -1646,7 +1655,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1656,7 +1666,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "21", @@ -1677,7 +1688,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1687,7 +1699,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1697,7 +1710,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "22", @@ -1718,7 +1732,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1728,7 +1743,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "23", @@ -1749,7 +1765,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1759,7 +1776,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1769,7 +1787,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "24", @@ -1790,7 +1809,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1800,7 +1820,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "25", @@ -1821,7 +1842,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1831,7 +1853,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "26", @@ -1841,7 +1864,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "400000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1851,7 +1875,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "27", @@ -1861,7 +1886,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "400000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1871,7 +1897,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1881,7 +1908,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "28", @@ -1891,7 +1919,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "400000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1901,7 +1930,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "29", @@ -1922,7 +1952,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1932,7 +1963,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "30", @@ -1953,7 +1985,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "31", @@ -1974,7 +2007,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1984,7 +2018,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "32", @@ -2005,9 +2040,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_2_0_3" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/non-default-lossless-profile-in-pg-input.json b/tests/db_migrator_input/config_db/non-default-lossless-profile-in-pg-input.json index 3e6e7ae721e5..94e3f8004d5e 100644 --- a/tests/db_migrator_input/config_db/non-default-lossless-profile-in-pg-input.json +++ b/tests/db_migrator_input/config_db/non-default-lossless-profile-in-pg-input.json @@ -1357,7 +1357,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1411,7 +1412,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "12", @@ -1432,7 +1434,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "24", @@ -1486,7 +1489,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "28", @@ -1540,7 +1544,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "32", @@ -1572,7 +1577,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "18", @@ -1593,7 +1599,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1603,7 +1610,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "19", @@ -1624,7 +1632,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "20", @@ -1645,7 +1654,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1655,7 +1665,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "21", @@ -1676,7 +1687,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1686,7 +1698,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1696,7 +1709,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "22", @@ -1717,7 +1731,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1727,7 +1742,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "23", @@ -1748,7 +1764,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1758,7 +1775,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1768,7 +1786,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "24", @@ -1789,7 +1808,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1799,7 +1819,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "25", @@ -1820,7 +1841,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1830,7 +1852,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "26", @@ -1840,7 +1863,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "400000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1850,7 +1874,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "27", @@ -1860,7 +1885,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "400000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1870,7 +1896,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1880,7 +1907,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "28", @@ -1890,7 +1918,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "400000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1900,7 +1929,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "29", @@ -1921,7 +1951,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1931,7 +1962,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "30", @@ -1952,7 +1984,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "31", @@ -1973,7 +2006,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1983,7 +2017,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "32", @@ -2004,9 +2039,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_1_0_5" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/non-default-lossy-profile-in-pg-expected.json b/tests/db_migrator_input/config_db/non-default-lossy-profile-in-pg-expected.json index d7b489979cb5..f42708ea4906 100644 --- a/tests/db_migrator_input/config_db/non-default-lossy-profile-in-pg-expected.json +++ b/tests/db_migrator_input/config_db/non-default-lossy-profile-in-pg-expected.json @@ -1356,7 +1356,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1410,7 +1411,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "12", @@ -1431,7 +1433,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "24", @@ -1485,7 +1488,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "28", @@ -1539,7 +1543,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "32", @@ -1571,7 +1576,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "18", @@ -1592,7 +1598,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1602,7 +1609,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "19", @@ -1623,7 +1631,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "20", @@ -1644,7 +1653,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1654,7 +1664,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "21", @@ -1675,7 +1686,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1685,7 +1697,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1695,7 +1708,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "22", @@ -1716,7 +1730,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1726,7 +1741,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "23", @@ -1747,7 +1763,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1757,7 +1774,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1767,7 +1785,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "24", @@ -1788,7 +1807,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1798,7 +1818,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "25", @@ -1819,7 +1840,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1829,7 +1851,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "26", @@ -1839,7 +1862,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "400000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1849,7 +1873,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "27", @@ -1859,7 +1884,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "400000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1869,7 +1895,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1879,7 +1906,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "28", @@ -1889,7 +1917,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "400000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1899,7 +1928,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "29", @@ -1920,7 +1950,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1930,7 +1961,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "30", @@ -1951,7 +1983,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "31", @@ -1972,7 +2005,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1982,7 +2016,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "32", @@ -2003,9 +2038,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_2_0_3" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/non-default-lossy-profile-in-pg-input.json b/tests/db_migrator_input/config_db/non-default-lossy-profile-in-pg-input.json index e271590f49c0..85d5da7ea879 100644 --- a/tests/db_migrator_input/config_db/non-default-lossy-profile-in-pg-input.json +++ b/tests/db_migrator_input/config_db/non-default-lossy-profile-in-pg-input.json @@ -1355,7 +1355,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1409,7 +1410,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "12", @@ -1430,7 +1432,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "24", @@ -1484,7 +1487,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "28", @@ -1538,7 +1542,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "32", @@ -1570,7 +1575,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "18", @@ -1591,7 +1597,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1601,7 +1608,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "19", @@ -1622,7 +1630,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "20", @@ -1643,7 +1652,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1653,7 +1663,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "21", @@ -1674,7 +1685,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1684,7 +1696,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1694,7 +1707,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "22", @@ -1715,7 +1729,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1725,7 +1740,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "23", @@ -1746,7 +1762,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1756,7 +1773,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1766,7 +1784,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "24", @@ -1787,7 +1806,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1797,7 +1817,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "25", @@ -1818,7 +1839,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1828,7 +1850,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "26", @@ -1838,7 +1861,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "400000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1848,7 +1872,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "27", @@ -1858,7 +1883,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "400000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1868,7 +1894,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1878,7 +1905,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "28", @@ -1888,7 +1916,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "400000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1898,7 +1927,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "29", @@ -1919,7 +1949,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1929,7 +1960,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "30", @@ -1950,7 +1982,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "31", @@ -1971,7 +2004,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1981,7 +2015,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "32", @@ -2002,9 +2037,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_1_0_5" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/non-default-pg-expected.json b/tests/db_migrator_input/config_db/non-default-pg-expected.json index eff61f4f7424..efa881e34dc1 100644 --- a/tests/db_migrator_input/config_db/non-default-pg-expected.json +++ b/tests/db_migrator_input/config_db/non-default-pg-expected.json @@ -1354,7 +1354,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1408,7 +1409,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "12", @@ -1429,7 +1431,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "24", @@ -1483,7 +1486,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "28", @@ -1537,7 +1541,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "32", @@ -1569,7 +1574,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "18", @@ -1590,7 +1596,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1600,7 +1607,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "19", @@ -1621,7 +1629,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "20", @@ -1642,7 +1651,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1652,7 +1662,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "21", @@ -1673,7 +1684,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1683,7 +1695,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1693,7 +1706,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "22", @@ -1714,7 +1728,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1724,7 +1739,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "23", @@ -1745,7 +1761,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1755,7 +1772,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1765,7 +1783,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "24", @@ -1786,7 +1805,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1796,7 +1816,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "25", @@ -1817,7 +1838,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1827,7 +1849,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "26", @@ -1837,7 +1860,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "400000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1847,7 +1871,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "27", @@ -1857,7 +1882,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "400000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1867,7 +1893,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1877,7 +1904,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "28", @@ -1887,7 +1915,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "400000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1897,7 +1926,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "29", @@ -1918,7 +1948,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1928,7 +1959,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "30", @@ -1949,7 +1981,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "31", @@ -1970,7 +2003,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1980,7 +2014,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "32", @@ -2001,9 +2036,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_2_0_3" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/non-default-pg-input.json b/tests/db_migrator_input/config_db/non-default-pg-input.json index b1ca63c3707b..87c8d59a0c8e 100644 --- a/tests/db_migrator_input/config_db/non-default-pg-input.json +++ b/tests/db_migrator_input/config_db/non-default-pg-input.json @@ -1353,7 +1353,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1407,7 +1408,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "12", @@ -1428,7 +1430,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "24", @@ -1482,7 +1485,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "28", @@ -1536,7 +1540,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "32", @@ -1568,7 +1573,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "18", @@ -1589,7 +1595,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1599,7 +1606,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "19", @@ -1620,7 +1628,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "20", @@ -1641,7 +1650,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1651,7 +1661,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "21", @@ -1672,7 +1683,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1682,7 +1694,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1692,7 +1705,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "22", @@ -1713,7 +1727,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1723,7 +1738,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "23", @@ -1744,7 +1760,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1754,7 +1771,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1764,7 +1782,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "24", @@ -1785,7 +1804,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1795,7 +1815,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "25", @@ -1816,7 +1837,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1826,7 +1848,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "26", @@ -1836,7 +1859,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "400000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1846,7 +1870,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "27", @@ -1856,7 +1881,8 @@ "alias": "etp27", "pfc_asym": "off", "speed": "400000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1866,7 +1892,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1876,7 +1903,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "28", @@ -1886,7 +1914,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "400000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1896,7 +1925,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "29", @@ -1917,7 +1947,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1927,7 +1958,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "30", @@ -1948,7 +1980,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "31", @@ -1969,7 +2002,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1979,7 +2013,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "32", @@ -2000,9 +2035,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_1_0_5" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/non-default-xoff-expected.json b/tests/db_migrator_input/config_db/non-default-xoff-expected.json index 26b3b8faefe3..0d762a5baa6a 100644 --- a/tests/db_migrator_input/config_db/non-default-xoff-expected.json +++ b/tests/db_migrator_input/config_db/non-default-xoff-expected.json @@ -1000,7 +1000,8 @@ "alias": "etp1a", "pfc_asym": "off", "speed": "10000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet2": { "index": "0", @@ -1274,7 +1275,8 @@ "alias": "etp15a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet58": { "index": "14", @@ -1284,7 +1286,8 @@ "alias": "etp15b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet60": { "index": "15", @@ -1294,7 +1297,8 @@ "alias": "etp16", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet64": { "index": "16", @@ -1348,7 +1352,8 @@ "alias": "etp19a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet74": { "index": "18", @@ -1358,7 +1363,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1368,7 +1374,8 @@ "alias": "etp20", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet80": { "index": "20", @@ -1378,7 +1385,8 @@ "alias": "etp21a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet82": { "index": "20", @@ -1388,7 +1396,8 @@ "alias": "etp21b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet84": { "index": "21", @@ -1398,7 +1407,8 @@ "alias": "etp22a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet86": { "index": "21", @@ -1408,7 +1418,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "22", @@ -1418,7 +1429,8 @@ "alias": "etp23a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet90": { "index": "22", @@ -1428,7 +1440,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "23", @@ -1438,7 +1451,8 @@ "alias": "etp24", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet96": { "index": "24", @@ -1448,7 +1462,8 @@ "alias": "etp25", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet100": { "index": "25", @@ -1458,7 +1473,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet104": { "index": "26", @@ -1468,7 +1484,8 @@ "alias": "etp27a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet106": { "index": "26", @@ -1478,7 +1495,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "27", @@ -1488,7 +1506,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet112": { "index": "28", @@ -1498,7 +1517,8 @@ "alias": "etp29", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet116": { "index": "29", @@ -1508,7 +1528,8 @@ "alias": "etp30", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet120": { "index": "30", @@ -1518,7 +1539,8 @@ "alias": "etp31a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet122": { "index": "30", @@ -1528,7 +1550,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "31", @@ -1538,7 +1561,8 @@ "alias": "etp32", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet128": { "index": "32", @@ -1548,7 +1572,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1558,7 +1583,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1568,7 +1594,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1578,7 +1605,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1588,7 +1616,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1598,7 +1627,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1608,7 +1638,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1618,7 +1649,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1628,7 +1660,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1638,7 +1671,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1648,7 +1682,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1658,7 +1693,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1668,7 +1704,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1678,7 +1715,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1688,7 +1726,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1698,7 +1737,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1708,7 +1748,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1718,7 +1759,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1728,7 +1770,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1738,7 +1781,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1748,7 +1792,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1758,7 +1803,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1768,7 +1814,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1778,7 +1825,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1788,7 +1836,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1798,7 +1847,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1808,7 +1858,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1818,7 +1869,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1828,7 +1880,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1838,7 +1891,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1848,7 +1902,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1858,7 +1913,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1868,7 +1924,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1878,7 +1935,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -1888,7 +1946,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -1898,7 +1957,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1908,7 +1968,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -1918,7 +1979,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -1928,7 +1990,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -1938,7 +2001,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -1948,7 +2012,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1958,7 +2023,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -1968,7 +2034,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -1978,9 +2045,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_2_0_3" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/non-default-xoff-input.json b/tests/db_migrator_input/config_db/non-default-xoff-input.json index 7f8089c8c253..aa9d8574eafe 100644 --- a/tests/db_migrator_input/config_db/non-default-xoff-input.json +++ b/tests/db_migrator_input/config_db/non-default-xoff-input.json @@ -999,7 +999,8 @@ "alias": "etp1a", "pfc_asym": "off", "speed": "10000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet2": { "index": "0", @@ -1273,7 +1274,8 @@ "alias": "etp15a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet58": { "index": "14", @@ -1283,7 +1285,8 @@ "alias": "etp15b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet60": { "index": "15", @@ -1293,7 +1296,8 @@ "alias": "etp16", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet64": { "index": "16", @@ -1347,7 +1351,8 @@ "alias": "etp19a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet74": { "index": "18", @@ -1357,7 +1362,8 @@ "alias": "etp19b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet76": { "index": "19", @@ -1367,7 +1373,8 @@ "alias": "etp20", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet80": { "index": "20", @@ -1377,7 +1384,8 @@ "alias": "etp21a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet82": { "index": "20", @@ -1387,7 +1395,8 @@ "alias": "etp21b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet84": { "index": "21", @@ -1397,7 +1406,8 @@ "alias": "etp22a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet86": { "index": "21", @@ -1407,7 +1417,8 @@ "alias": "etp22b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet88": { "index": "22", @@ -1417,7 +1428,8 @@ "alias": "etp23a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet90": { "index": "22", @@ -1427,7 +1439,8 @@ "alias": "etp23b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet92": { "index": "23", @@ -1437,7 +1450,8 @@ "alias": "etp24", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet96": { "index": "24", @@ -1447,7 +1461,8 @@ "alias": "etp25", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet100": { "index": "25", @@ -1457,7 +1472,8 @@ "alias": "etp26", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet104": { "index": "26", @@ -1467,7 +1483,8 @@ "alias": "etp27a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet106": { "index": "26", @@ -1477,7 +1494,8 @@ "alias": "etp27b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet108": { "index": "27", @@ -1487,7 +1505,8 @@ "alias": "etp28", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet112": { "index": "28", @@ -1497,7 +1516,8 @@ "alias": "etp29", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet116": { "index": "29", @@ -1507,7 +1527,8 @@ "alias": "etp30", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet120": { "index": "30", @@ -1517,7 +1538,8 @@ "alias": "etp31a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet122": { "index": "30", @@ -1527,7 +1549,8 @@ "alias": "etp31b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet124": { "index": "31", @@ -1537,7 +1560,8 @@ "alias": "etp32", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet128": { "index": "32", @@ -1547,7 +1571,8 @@ "alias": "etp33", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet132": { "index": "33", @@ -1557,7 +1582,8 @@ "alias": "etp34", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet136": { "index": "34", @@ -1567,7 +1593,8 @@ "alias": "etp35a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet138": { "index": "34", @@ -1577,7 +1604,8 @@ "alias": "etp35b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet140": { "index": "35", @@ -1587,7 +1615,8 @@ "alias": "etp36", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet144": { "index": "36", @@ -1597,7 +1626,8 @@ "alias": "etp37", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet148": { "index": "37", @@ -1607,7 +1637,8 @@ "alias": "etp38", "pfc_asym": "off", "speed": "100000", - "fec": "rs" + "fec": "rs", + "admin_status": "up" }, "PORT|Ethernet152": { "index": "38", @@ -1617,7 +1648,8 @@ "alias": "etp39a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet154": { "index": "38", @@ -1627,7 +1659,8 @@ "alias": "etp39b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet156": { "index": "39", @@ -1637,7 +1670,8 @@ "alias": "etp40", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet160": { "index": "40", @@ -1647,7 +1681,8 @@ "alias": "etp41a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet162": { "index": "40", @@ -1657,7 +1692,8 @@ "alias": "etp41b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet164": { "index": "41", @@ -1667,7 +1703,8 @@ "alias": "etp42a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet166": { "index": "41", @@ -1677,7 +1714,8 @@ "alias": "etp42b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet168": { "index": "42", @@ -1687,7 +1725,8 @@ "alias": "etp43a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet170": { "index": "42", @@ -1697,7 +1736,8 @@ "alias": "etp43b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet172": { "index": "43", @@ -1707,7 +1747,8 @@ "alias": "etp44", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet176": { "index": "44", @@ -1717,7 +1758,8 @@ "alias": "etp45a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet178": { "index": "44", @@ -1727,7 +1769,8 @@ "alias": "etp45b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet180": { "index": "45", @@ -1737,7 +1780,8 @@ "alias": "etp46a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet182": { "index": "45", @@ -1747,7 +1791,8 @@ "alias": "etp46b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet184": { "index": "46", @@ -1757,7 +1802,8 @@ "alias": "etp47a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet186": { "index": "46", @@ -1767,7 +1813,8 @@ "alias": "etp47b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet188": { "index": "47", @@ -1777,7 +1824,8 @@ "alias": "etp48", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet192": { "index": "48", @@ -1787,7 +1835,8 @@ "alias": "etp49a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet196": { "index": "49", @@ -1797,7 +1846,8 @@ "alias": "etp50a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet198": { "index": "49", @@ -1807,7 +1857,8 @@ "alias": "etp50b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet200": { "index": "50", @@ -1817,7 +1868,8 @@ "alias": "etp51a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet204": { "index": "51", @@ -1827,7 +1879,8 @@ "alias": "etp52", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet208": { "index": "52", @@ -1837,7 +1890,8 @@ "alias": "etp53a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet212": { "index": "53", @@ -1847,7 +1901,8 @@ "alias": "etp54a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet214": { "index": "53", @@ -1857,7 +1912,8 @@ "alias": "etp54b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet216": { "index": "54", @@ -1867,7 +1923,8 @@ "alias": "etp55a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet220": { "index": "55", @@ -1877,7 +1934,8 @@ "alias": "etp56", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet224": { "index": "56", @@ -1887,7 +1945,8 @@ "alias": "etp57a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet228": { "index": "57", @@ -1897,7 +1956,8 @@ "alias": "etp58a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet230": { "index": "57", @@ -1907,7 +1967,8 @@ "alias": "etp58b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet232": { "index": "58", @@ -1917,7 +1978,8 @@ "alias": "etp59a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet236": { "index": "59", @@ -1927,7 +1989,8 @@ "alias": "etp60", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet240": { "index": "60", @@ -1937,7 +2000,8 @@ "alias": "etp61a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet244": { "index": "61", @@ -1947,7 +2011,8 @@ "alias": "etp62a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet246": { "index": "61", @@ -1957,7 +2022,8 @@ "alias": "etp62b", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet248": { "index": "62", @@ -1967,7 +2033,8 @@ "alias": "etp63a", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "PORT|Ethernet252": { "index": "63", @@ -1977,9 +2044,10 @@ "alias": "etp64", "pfc_asym": "off", "speed": "50000", - "fec": "none" + "fec": "none", + "admin_status": "up" }, "VERSIONS|DATABASE": { "VERSION": "version_1_0_4" } -} +} \ No newline at end of file diff --git a/tests/db_migrator_input/config_db/reclaiming-buffer-dynamic-double-pools-expected.json b/tests/db_migrator_input/config_db/reclaiming-buffer-dynamic-double-pools-expected.json new file mode 100644 index 000000000000..03b21b7d4c2c --- /dev/null +++ b/tests/db_migrator_input/config_db/reclaiming-buffer-dynamic-double-pools-expected.json @@ -0,0 +1,289 @@ +{ + "BUFFER_PG|Ethernet0|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet0|3-4": { + "profile": "NULL" + }, + "BUFFER_PG|Ethernet4|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet4|3-4": { + "profile": "NULL" + }, + "BUFFER_PG|Ethernet8|3-4": { + "profile": "customized_lossless_profile" + }, + "BUFFER_PG|Ethernet12|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet12|3-4": { + "profile": "NULL" + }, + "BUFFER_PG|Ethernet16|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet16|1": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet20|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet20|3-4": { + "profile": "NULL" + }, + "BUFFER_PG|Ethernet24|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet24|3-4": { + "profile": "NULL" + }, + "BUFFER_PG|Ethernet28|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet28|3-4": { + "profile": "NULL" + }, + "BUFFER_POOL|egress_lossless_pool": { + "type": "egress", + "mode": "dynamic", + "size": "13945824" + }, + "BUFFER_POOL|egress_lossy_pool": { + "type": "egress", + "mode": "dynamic" + }, + "BUFFER_POOL|ingress_lossless_pool": { + "type": "ingress", + "mode": "dynamic" + }, + "BUFFER_POOL|ingress_lossy_pool": { + "type": "ingress", + "mode": "dynamic" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet0": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet4": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet8": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet12": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet16": { + "profile_list": "customized_egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet20": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet24": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet0": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet4": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet8": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet12": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet20": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet16": { + "profile_list": "customized_ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet24": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PROFILE|egress_lossless_profile": { + "dynamic_th": "7", + "pool": "egress_lossless_pool", + "size": "0" + }, + "BUFFER_PROFILE|egress_lossy_profile": { + "dynamic_th": "7", + "pool": "egress_lossy_pool", + "size": "9216" + }, + "BUFFER_PROFILE|ingress_lossless_profile": { + "dynamic_th": "7", + "pool": "ingress_lossless_pool", + "size": "0" + }, + "BUFFER_PROFILE|ingress_lossy_profile": { + "dynamic_th": "3", + "pool": "ingress_lossy_pool", + "size": "0" + }, + "BUFFER_PROFILE|q_lossy_profile": { + "dynamic_th": "3", + "pool": "egress_lossy_pool", + "size": "0" + }, + "BUFFER_QUEUE|Ethernet0|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet0|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet0|5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet4|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet4|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet4|5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet8|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet8|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet8|5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet12|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet12|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet12|5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet16|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet20|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet24|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet24|5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet28|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet28|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet28|5-6": { + "profile": "q_lossy_profile" + }, + "CABLE_LENGTH|AZURE": { + "Ethernet0": "5m", + "Ethernet4": "5m", + "Ethernet8": "5m", + "Ethernet12": "5m", + "Ethernet16": "5m", + "Ethernet20": "5m", + "Ethernet24": "5m", + "Ethernet28": "5m" + }, + "DEVICE_METADATA|localhost": { + "hwsku": "Mellanox-SN2700", + "default_bgp_status": "up", + "type": "ToRRouter", + "hostname": "sonic", + "platform": "x86_64-mlnx_msn2700-r0", + "mac": "00:01:02:03:04:00", + "default_pfcwd_status": "disable", + "bgp_asn": "65100", + "buffer_model": "dynamic", + "deployment_id": "1", + "docker_routing_config_mode": "unified" + }, + "PORT|Ethernet0": { + "lanes": "0,1,2,3", + "fec": "rs", + "mtu": "9100", + "alias": "etp1", + "pfc_asym": "off", + "speed": "100000", + "description": "etp1" + }, + "PORT|Ethernet4": { + "lanes": "4,5,6,7", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp2", + "speed": "10000", + "description": "Servers0:eth0" + }, + "PORT|Ethernet8": { + "lanes": "8,9,10,11", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp3", + "speed": "25000", + "description": "Servers1:eth0" + }, + "PORT|Ethernet12": { + "lanes": "12,13,14,15", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp4", + "speed": "40000", + "description": "Servers2:eth0" + }, + "PORT|Ethernet16": { + "lanes": "16,17,18,19", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp5", + "speed": "50000", + "description": "Servers3:eth0" + }, + "PORT|Ethernet20": { + "lanes": "20,21,22,23", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp6", + "admin_status": "down", + "speed": "100000", + "description": "Servers4:eth0" + }, + "PORT|Ethernet24": { + "lanes": "24,25,26,27", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp7", + "admin_status": "down", + "speed": "100000", + "description": "Servers5:eth0" + }, + "PORT|Ethernet28": { + "lanes": "28,29,30,31", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp8", + "admin_status": "up", + "speed": "100000", + "description": "Servers6:eth0" + }, + "VERSIONS|DATABASE": { + "VERSION": "version_2_0_3" + } +} diff --git a/tests/db_migrator_input/config_db/reclaiming-buffer-dynamic-double-pools-input.json b/tests/db_migrator_input/config_db/reclaiming-buffer-dynamic-double-pools-input.json new file mode 100644 index 000000000000..7d059812f54f --- /dev/null +++ b/tests/db_migrator_input/config_db/reclaiming-buffer-dynamic-double-pools-input.json @@ -0,0 +1,205 @@ +{ + "BUFFER_PG|Ethernet4|3-4": { + "profile": "NULL" + }, + "BUFFER_PG|Ethernet8|3-4": { + "profile": "customized_lossless_profile" + }, + "BUFFER_PG|Ethernet12|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet12|3-4": { + "profile": "NULL" + }, + "BUFFER_PG|Ethernet16|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet16|1": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet20|3-4": { + "profile": "NULL" + }, + "BUFFER_PG|Ethernet28|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet28|3-4": { + "profile": "NULL" + }, + "BUFFER_POOL|egress_lossless_pool": { + "type": "egress", + "mode": "dynamic", + "size": "13945824" + }, + "BUFFER_POOL|egress_lossy_pool": { + "type": "egress", + "mode": "dynamic" + }, + "BUFFER_POOL|ingress_lossless_pool": { + "type": "ingress", + "mode": "dynamic" + }, + "BUFFER_POOL|ingress_lossy_pool": { + "type": "ingress", + "mode": "dynamic" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet16": { + "profile_list": "customized_egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet20": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet16": { + "profile_list": "customized_ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet24": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PROFILE|egress_lossless_profile": { + "dynamic_th": "7", + "pool": "egress_lossless_pool", + "size": "0" + }, + "BUFFER_PROFILE|egress_lossy_profile": { + "dynamic_th": "7", + "pool": "egress_lossy_pool", + "size": "9216" + }, + "BUFFER_PROFILE|ingress_lossless_profile": { + "dynamic_th": "7", + "pool": "ingress_lossless_pool", + "size": "0" + }, + "BUFFER_PROFILE|ingress_lossy_profile": { + "dynamic_th": "3", + "pool": "ingress_lossy_pool", + "size": "0" + }, + "BUFFER_PROFILE|q_lossy_profile": { + "dynamic_th": "3", + "pool": "egress_lossy_pool", + "size": "0" + }, + "BUFFER_QUEUE|Ethernet16|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet20|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet24|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet24|5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet28|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet28|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet28|5-6": { + "profile": "q_lossy_profile" + }, + "CABLE_LENGTH|AZURE": { + "Ethernet0": "5m", + "Ethernet4": "5m", + "Ethernet8": "5m", + "Ethernet12": "5m", + "Ethernet16": "5m", + "Ethernet20": "5m", + "Ethernet24": "5m", + "Ethernet28": "5m" + }, + "DEVICE_METADATA|localhost": { + "hwsku": "Mellanox-SN2700", + "default_bgp_status": "up", + "type": "ToRRouter", + "hostname": "sonic", + "platform": "x86_64-mlnx_msn2700-r0", + "mac": "00:01:02:03:04:00", + "default_pfcwd_status": "disable", + "bgp_asn": "65100", + "buffer_model": "dynamic", + "deployment_id": "1", + "docker_routing_config_mode": "unified" + }, + "PORT|Ethernet0": { + "lanes": "0,1,2,3", + "fec": "rs", + "mtu": "9100", + "alias": "etp1", + "pfc_asym": "off", + "speed": "100000", + "description": "etp1" + }, + "PORT|Ethernet4": { + "lanes": "4,5,6,7", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp2", + "speed": "10000", + "description": "Servers0:eth0" + }, + "PORT|Ethernet8": { + "lanes": "8,9,10,11", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp3", + "speed": "25000", + "description": "Servers1:eth0" + }, + "PORT|Ethernet12": { + "lanes": "12,13,14,15", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp4", + "speed": "40000", + "description": "Servers2:eth0" + }, + "PORT|Ethernet16": { + "lanes": "16,17,18,19", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp5", + "speed": "50000", + "description": "Servers3:eth0" + }, + "PORT|Ethernet20": { + "lanes": "20,21,22,23", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp6", + "admin_status": "down", + "speed": "100000", + "description": "Servers4:eth0" + }, + "PORT|Ethernet24": { + "lanes": "24,25,26,27", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp7", + "admin_status": "down", + "speed": "100000", + "description": "Servers5:eth0" + }, + "PORT|Ethernet28": { + "lanes": "28,29,30,31", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp8", + "admin_status": "up", + "speed": "100000", + "description": "Servers6:eth0" + }, + "VERSIONS|DATABASE": { + "VERSION": "version_2_0_2" + } +} diff --git a/tests/db_migrator_input/config_db/reclaiming-buffer-dynamic-single-pool-expected.json b/tests/db_migrator_input/config_db/reclaiming-buffer-dynamic-single-pool-expected.json new file mode 100644 index 000000000000..52aeb07c9355 --- /dev/null +++ b/tests/db_migrator_input/config_db/reclaiming-buffer-dynamic-single-pool-expected.json @@ -0,0 +1,285 @@ +{ + "BUFFER_PG|Ethernet0|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet0|3-4": { + "profile": "NULL" + }, + "BUFFER_PG|Ethernet4|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet4|3-4": { + "profile": "NULL" + }, + "BUFFER_PG|Ethernet8|3-4": { + "profile": "customized_lossless_profile" + }, + "BUFFER_PG|Ethernet12|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet12|3-4": { + "profile": "NULL" + }, + "BUFFER_PG|Ethernet16|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet16|1": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet20|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet20|3-4": { + "profile": "NULL" + }, + "BUFFER_PG|Ethernet24|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet24|3-4": { + "profile": "NULL" + }, + "BUFFER_PG|Ethernet28|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet28|3-4": { + "profile": "NULL" + }, + "BUFFER_POOL|egress_lossless_pool": { + "type": "egress", + "mode": "dynamic", + "size": "13945824" + }, + "BUFFER_POOL|egress_lossy_pool": { + "type": "egress", + "mode": "dynamic" + }, + "BUFFER_POOL|ingress_lossless_pool": { + "type": "ingress", + "mode": "dynamic" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet0": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet4": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet8": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet12": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet16": { + "profile_list": "customized_egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet20": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet24": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet0": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet4": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet8": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet12": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet16": { + "profile_list": "customized_ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet20": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet24": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PROFILE|egress_lossless_profile": { + "dynamic_th": "7", + "pool": "egress_lossless_pool", + "size": "0" + }, + "BUFFER_PROFILE|egress_lossy_profile": { + "dynamic_th": "7", + "pool": "egress_lossy_pool", + "size": "9216" + }, + "BUFFER_PROFILE|ingress_lossless_profile": { + "dynamic_th": "7", + "pool": "ingress_lossless_pool", + "size": "0" + }, + "BUFFER_PROFILE|ingress_lossy_profile": { + "dynamic_th": "3", + "pool": "ingress_lossless_pool", + "size": "0" + }, + "BUFFER_PROFILE|q_lossy_profile": { + "dynamic_th": "3", + "pool": "egress_lossy_pool", + "size": "0" + }, + "BUFFER_QUEUE|Ethernet0|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet0|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet0|5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet4|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet4|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet4|5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet8|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet8|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet8|5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet12|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet12|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet12|5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet16|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet20|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet24|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet24|5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet28|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet28|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet28|5-6": { + "profile": "q_lossy_profile" + }, + "CABLE_LENGTH|AZURE": { + "Ethernet0": "5m", + "Ethernet4": "5m", + "Ethernet8": "5m", + "Ethernet12": "5m", + "Ethernet16": "5m", + "Ethernet20": "5m", + "Ethernet24": "5m", + "Ethernet28": "5m" + }, + "DEVICE_METADATA|localhost": { + "hwsku": "Mellanox-SN2700", + "default_bgp_status": "up", + "type": "ToRRouter", + "hostname": "sonic", + "platform": "x86_64-mlnx_msn2700-r0", + "mac": "00:01:02:03:04:00", + "default_pfcwd_status": "disable", + "bgp_asn": "65100", + "buffer_model": "dynamic", + "deployment_id": "1", + "docker_routing_config_mode": "unified" + }, + "PORT|Ethernet0": { + "lanes": "0,1,2,3", + "fec": "rs", + "mtu": "9100", + "alias": "etp1", + "pfc_asym": "off", + "speed": "100000", + "description": "etp1" + }, + "PORT|Ethernet4": { + "lanes": "4,5,6,7", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp2", + "speed": "10000", + "description": "Servers0:eth0" + }, + "PORT|Ethernet8": { + "lanes": "8,9,10,11", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp3", + "speed": "25000", + "description": "Servers1:eth0" + }, + "PORT|Ethernet12": { + "lanes": "12,13,14,15", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp4", + "speed": "40000", + "description": "Servers2:eth0" + }, + "PORT|Ethernet16": { + "lanes": "16,17,18,19", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp5", + "speed": "50000", + "description": "Servers3:eth0" + }, + "PORT|Ethernet20": { + "lanes": "20,21,22,23", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp6", + "admin_status": "down", + "speed": "100000", + "description": "Servers4:eth0" + }, + "PORT|Ethernet24": { + "lanes": "24,25,26,27", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp7", + "admin_status": "down", + "speed": "100000", + "description": "Servers5:eth0" + }, + "PORT|Ethernet28": { + "lanes": "28,29,30,31", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp8", + "admin_status": "up", + "speed": "100000", + "description": "Servers6:eth0" + }, + "VERSIONS|DATABASE": { + "VERSION": "version_2_0_3" + } +} diff --git a/tests/db_migrator_input/config_db/reclaiming-buffer-dynamic-single-pool-input.json b/tests/db_migrator_input/config_db/reclaiming-buffer-dynamic-single-pool-input.json new file mode 100644 index 000000000000..3ec46e9c63d8 --- /dev/null +++ b/tests/db_migrator_input/config_db/reclaiming-buffer-dynamic-single-pool-input.json @@ -0,0 +1,201 @@ +{ + "BUFFER_PG|Ethernet4|3-4": { + "profile": "NULL" + }, + "BUFFER_PG|Ethernet8|3-4": { + "profile": "customized_lossless_profile" + }, + "BUFFER_PG|Ethernet12|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet12|3-4": { + "profile": "NULL" + }, + "BUFFER_PG|Ethernet16|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet16|1": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet20|3-4": { + "profile": "NULL" + }, + "BUFFER_PG|Ethernet28|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet28|3-4": { + "profile": "NULL" + }, + "BUFFER_POOL|egress_lossless_pool": { + "type": "egress", + "mode": "dynamic", + "size": "13945824" + }, + "BUFFER_POOL|egress_lossy_pool": { + "type": "egress", + "mode": "dynamic" + }, + "BUFFER_POOL|ingress_lossless_pool": { + "type": "ingress", + "mode": "dynamic" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet16": { + "profile_list": "customized_egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet20": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet16": { + "profile_list": "customized_ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet24": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PROFILE|egress_lossless_profile": { + "dynamic_th": "7", + "pool": "egress_lossless_pool", + "size": "0" + }, + "BUFFER_PROFILE|egress_lossy_profile": { + "dynamic_th": "7", + "pool": "egress_lossy_pool", + "size": "9216" + }, + "BUFFER_PROFILE|ingress_lossless_profile": { + "dynamic_th": "7", + "pool": "ingress_lossless_pool", + "size": "0" + }, + "BUFFER_PROFILE|ingress_lossy_profile": { + "dynamic_th": "3", + "pool": "ingress_lossless_pool", + "size": "0" + }, + "BUFFER_PROFILE|q_lossy_profile": { + "dynamic_th": "3", + "pool": "egress_lossy_pool", + "size": "0" + }, + "BUFFER_QUEUE|Ethernet16|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet20|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet24|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet24|5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet28|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet28|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet28|5-6": { + "profile": "q_lossy_profile" + }, + "CABLE_LENGTH|AZURE": { + "Ethernet0": "5m", + "Ethernet4": "5m", + "Ethernet8": "5m", + "Ethernet12": "5m", + "Ethernet16": "5m", + "Ethernet20": "5m", + "Ethernet24": "5m", + "Ethernet28": "5m" + }, + "DEVICE_METADATA|localhost": { + "hwsku": "Mellanox-SN2700", + "default_bgp_status": "up", + "type": "ToRRouter", + "hostname": "sonic", + "platform": "x86_64-mlnx_msn2700-r0", + "mac": "00:01:02:03:04:00", + "default_pfcwd_status": "disable", + "bgp_asn": "65100", + "buffer_model": "dynamic", + "deployment_id": "1", + "docker_routing_config_mode": "unified" + }, + "PORT|Ethernet0": { + "lanes": "0,1,2,3", + "fec": "rs", + "mtu": "9100", + "alias": "etp1", + "pfc_asym": "off", + "speed": "100000", + "description": "etp1" + }, + "PORT|Ethernet4": { + "lanes": "4,5,6,7", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp2", + "speed": "10000", + "description": "Servers0:eth0" + }, + "PORT|Ethernet8": { + "lanes": "8,9,10,11", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp3", + "speed": "25000", + "description": "Servers1:eth0" + }, + "PORT|Ethernet12": { + "lanes": "12,13,14,15", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp4", + "speed": "40000", + "description": "Servers2:eth0" + }, + "PORT|Ethernet16": { + "lanes": "16,17,18,19", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp5", + "speed": "50000", + "description": "Servers3:eth0" + }, + "PORT|Ethernet20": { + "lanes": "20,21,22,23", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp6", + "admin_status": "down", + "speed": "100000", + "description": "Servers4:eth0" + }, + "PORT|Ethernet24": { + "lanes": "24,25,26,27", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp7", + "admin_status": "down", + "speed": "100000", + "description": "Servers5:eth0" + }, + "PORT|Ethernet28": { + "lanes": "28,29,30,31", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp8", + "admin_status": "up", + "speed": "100000", + "description": "Servers6:eth0" + }, + "VERSIONS|DATABASE": { + "VERSION": "version_2_0_2" + } +} diff --git a/tests/db_migrator_input/config_db/reclaiming-buffer-traditional-double-pools-expected.json b/tests/db_migrator_input/config_db/reclaiming-buffer-traditional-double-pools-expected.json new file mode 100644 index 000000000000..7b2b0d658d68 --- /dev/null +++ b/tests/db_migrator_input/config_db/reclaiming-buffer-traditional-double-pools-expected.json @@ -0,0 +1,348 @@ +{ + "BUFFER_PG|Ethernet0|0": { + "profile": "ingress_lossy_pg_zero_profile" + }, + "BUFFER_PG|Ethernet4|0": { + "profile": "ingress_lossy_pg_zero_profile" + }, + "BUFFER_PG|Ethernet4|3-4": { + "profile": "pg_lossless_10000_5m_profile" + }, + "BUFFER_PG|Ethernet8|3-4": { + "profile": "pg_lossless_10000_5m_profile" + }, + "BUFFER_PG|Ethernet12|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet12|3-4": { + "profile": "pg_lossless_40000_5m_profile" + }, + "BUFFER_PG|Ethernet16|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet16|1": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet16|3-4": { + "profile": "pg_lossless_50000_5m_profile" + }, + "BUFFER_PG|Ethernet20|0": { + "profile": "ingress_lossy_pg_zero_profile" + }, + "BUFFER_PG|Ethernet20|3-4": { + "profile": "pg_lossless_100000_5m_profile" + }, + "BUFFER_PG|Ethernet24|0": { + "profile": "ingress_lossy_pg_zero_profile" + }, + "BUFFER_PG|Ethernet28|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet28|3-4": { + "profile": "pg_lossless_100000_5m_profile" + }, + "BUFFER_POOL|ingress_zero_pool": { + "type": "ingress", + "mode": "static", + "size": "0" + }, + "BUFFER_POOL|egress_lossless_pool": { + "type": "egress", + "mode": "dynamic", + "size": "13945824" + }, + "BUFFER_POOL|egress_lossy_pool": { + "type": "egress", + "mode": "dynamic", + "size": "5088768" + }, + "BUFFER_POOL|ingress_lossless_pool": { + "xoff": "688128", + "type": "ingress", + "mode": "dynamic", + "size": "5088768" + }, + "BUFFER_POOL|ingress_lossy_pool": { + "type": "ingress", + "mode": "dynamic", + "size": "5088768" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet0": { + "profile_list": "egress_lossless_zero_profile,egress_lossy_zero_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet0": { + "profile_list": "ingress_lossless_zero_profile,ingress_lossy_zero_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet4": { + "profile_list": "egress_lossless_zero_profile,egress_lossy_zero_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet4": { + "profile_list": "ingress_lossless_zero_profile,ingress_lossy_zero_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet8": { + "profile_list": "egress_lossless_zero_profile,egress_lossy_zero_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet8": { + "profile_list": "ingress_lossless_zero_profile,ingress_lossy_zero_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet12": { + "profile_list": "egress_lossless_zero_profile,egress_lossy_zero_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet12": { + "profile_list": "ingress_lossless_zero_profile,ingress_lossy_zero_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet24": { + "profile_list": "egress_lossless_zero_profile,egress_lossy_zero_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet20": { + "profile_list": "ingress_lossless_zero_profile,ingress_lossy_zero_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet16": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet20": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet16": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet24": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PROFILE|egress_lossless_profile": { + "dynamic_th": "7", + "pool": "egress_lossless_pool", + "size": "0" + }, + "BUFFER_PROFILE|egress_lossy_profile": { + "dynamic_th": "7", + "pool": "egress_lossy_pool", + "size": "9216" + }, + "BUFFER_PROFILE|ingress_lossless_profile": { + "dynamic_th": "7", + "pool": "ingress_lossless_pool", + "size": "0" + }, + "BUFFER_PROFILE|ingress_lossy_profile": { + "dynamic_th": "3", + "pool": "ingress_lossy_pool", + "size": "0" + }, + "BUFFER_PROFILE|pg_lossless_10000_5m_profile": { + "xon": "19456", + "dynamic_th": "0", + "xoff": "22528", + "pool": "ingress_lossless_pool", + "size": "19456" + }, + "BUFFER_PROFILE|pg_lossless_40000_5m_profile": { + "xon": "19456", + "dynamic_th": "0", + "xoff": "22528", + "pool": "ingress_lossless_pool", + "size": "19456" + }, + "BUFFER_PROFILE|pg_lossless_50000_5m_profile": { + "xon": "19456", + "dynamic_th": "0", + "xoff": "22528", + "pool": "ingress_lossless_pool", + "size": "19456" + }, + "BUFFER_PROFILE|pg_lossless_100000_5m_profile": { + "xon": "19456", + "dynamic_th": "0", + "xoff": "23552", + "pool": "ingress_lossless_pool", + "size": "19456" + }, + "BUFFER_PROFILE|q_lossy_profile": { + "dynamic_th": "3", + "pool": "egress_lossy_pool", + "size": "0" + }, + "BUFFER_PROFILE|ingress_lossy_pg_zero_profile" : { + "pool":"ingress_zero_pool", + "size":"0", + "static_th":"0" + }, + "BUFFER_PROFILE|ingress_lossless_zero_profile" : { + "pool":"ingress_lossless_pool", + "size":"0", + "dynamic_th":"-8" + }, + "BUFFER_PROFILE|ingress_lossy_zero_profile" : { + "pool":"ingress_lossy_pool", + "size":"0", + "dynamic_th":"-8" + }, + "BUFFER_PROFILE|egress_lossless_zero_profile" : { + "pool":"egress_lossless_pool", + "size":"0", + "dynamic_th":"-8" + }, + "BUFFER_PROFILE|egress_lossy_zero_profile" : { + "pool":"egress_lossy_pool", + "size":"0", + "dynamic_th":"-8" + }, + "BUFFER_QUEUE|Ethernet0|0-2": { + "profile": "egress_lossy_zero_profile" + }, + "BUFFER_QUEUE|Ethernet0|3-4": { + "profile": "egress_lossless_zero_profile" + }, + "BUFFER_QUEUE|Ethernet0|5-6": { + "profile": "egress_lossy_zero_profile" + }, + "BUFFER_QUEUE|Ethernet4|0-2": { + "profile": "egress_lossy_zero_profile" + }, + "BUFFER_QUEUE|Ethernet4|3-4": { + "profile": "egress_lossless_zero_profile" + }, + "BUFFER_QUEUE|Ethernet4|5-6": { + "profile": "egress_lossy_zero_profile" + }, + "BUFFER_QUEUE|Ethernet8|0-2": { + "profile": "egress_lossy_zero_profile" + }, + "BUFFER_QUEUE|Ethernet8|3-4": { + "profile": "egress_lossless_zero_profile" + }, + "BUFFER_QUEUE|Ethernet8|5-6": { + "profile": "egress_lossy_zero_profile" + }, + "BUFFER_QUEUE|Ethernet12|0-2": { + "profile": "egress_lossy_zero_profile" + }, + "BUFFER_QUEUE|Ethernet12|3-4": { + "profile": "egress_lossless_zero_profile" + }, + "BUFFER_QUEUE|Ethernet12|5-6": { + "profile": "egress_lossy_zero_profile" + }, + "BUFFER_QUEUE|Ethernet16|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet20|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet24|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet24|5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet28|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet28|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet28|5-6": { + "profile": "q_lossy_profile" + }, + "CABLE_LENGTH|AZURE": { + "Ethernet0": "5m", + "Ethernet4": "5m", + "Ethernet8": "5m", + "Ethernet12": "5m", + "Ethernet16": "5m", + "Ethernet20": "5m", + "Ethernet24": "5m", + "Ethernet28": "5m" + }, + "DEVICE_METADATA|localhost": { + "hwsku": "Mellanox-SN2700", + "default_bgp_status": "up", + "type": "ToRRouter", + "hostname": "sonic", + "platform": "x86_64-mlnx_msn2700-r0", + "mac": "00:01:02:03:04:00", + "default_pfcwd_status": "disable", + "bgp_asn": "65100", + "buffer_model": "traditional", + "deployment_id": "1", + "docker_routing_config_mode": "unified" + }, + "PORT|Ethernet0": { + "lanes": "0,1,2,3", + "fec": "rs", + "mtu": "9100", + "alias": "etp1", + "pfc_asym": "off", + "speed": "100000", + "description": "etp1" + }, + "PORT|Ethernet4": { + "lanes": "4,5,6,7", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp2", + "speed": "10000", + "description": "Servers0:eth0" + }, + "PORT|Ethernet8": { + "lanes": "8,9,10,11", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp3", + "speed": "25000", + "description": "Servers1:eth0" + }, + "PORT|Ethernet12": { + "lanes": "12,13,14,15", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp4", + "speed": "40000", + "description": "Servers2:eth0" + }, + "PORT|Ethernet16": { + "lanes": "16,17,18,19", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp5", + "speed": "50000", + "description": "Servers3:eth0" + }, + "PORT|Ethernet20": { + "lanes": "20,21,22,23", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp6", + "admin_status": "down", + "speed": "100000", + "description": "Servers4:eth0" + }, + "PORT|Ethernet24": { + "lanes": "24,25,26,27", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp7", + "admin_status": "down", + "speed": "100000", + "description": "Servers5:eth0" + }, + "PORT|Ethernet28": { + "lanes": "28,29,30,31", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp8", + "admin_status": "up", + "speed": "100000", + "description": "Servers6:eth0" + }, + "VERSIONS|DATABASE": { + "VERSION": "version_2_0_3" + } +} diff --git a/tests/db_migrator_input/config_db/reclaiming-buffer-traditional-double-pools-input.json b/tests/db_migrator_input/config_db/reclaiming-buffer-traditional-double-pools-input.json new file mode 100644 index 000000000000..a7832fe14d8d --- /dev/null +++ b/tests/db_migrator_input/config_db/reclaiming-buffer-traditional-double-pools-input.json @@ -0,0 +1,240 @@ +{ + "BUFFER_PG|Ethernet4|3-4": { + "profile": "pg_lossless_10000_5m_profile" + }, + "BUFFER_PG|Ethernet8|3-4": { + "profile": "pg_lossless_10000_5m_profile" + }, + "BUFFER_PG|Ethernet12|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet12|3-4": { + "profile": "pg_lossless_40000_5m_profile" + }, + "BUFFER_PG|Ethernet16|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet16|1": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet16|3-4": { + "profile": "pg_lossless_50000_5m_profile" + }, + "BUFFER_PG|Ethernet20|3-4": { + "profile": "pg_lossless_100000_5m_profile" + }, + "BUFFER_PG|Ethernet28|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet28|3-4": { + "profile": "pg_lossless_100000_5m_profile" + }, + "BUFFER_POOL|egress_lossless_pool": { + "type": "egress", + "mode": "dynamic", + "size": "13945824" + }, + "BUFFER_POOL|egress_lossy_pool": { + "type": "egress", + "mode": "dynamic", + "size": "5088768" + }, + "BUFFER_POOL|ingress_lossless_pool": { + "xoff": "688128", + "type": "ingress", + "mode": "dynamic", + "size": "5088768" + }, + "BUFFER_POOL|ingress_lossy_pool": { + "type": "ingress", + "mode": "dynamic", + "size": "5088768" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet16": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet20": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet16": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet24": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PROFILE|egress_lossless_profile": { + "dynamic_th": "7", + "pool": "egress_lossless_pool", + "size": "0" + }, + "BUFFER_PROFILE|egress_lossy_profile": { + "dynamic_th": "7", + "pool": "egress_lossy_pool", + "size": "9216" + }, + "BUFFER_PROFILE|ingress_lossless_profile": { + "dynamic_th": "7", + "pool": "ingress_lossless_pool", + "size": "0" + }, + "BUFFER_PROFILE|ingress_lossy_profile": { + "dynamic_th": "3", + "pool": "ingress_lossy_pool", + "size": "0" + }, + "BUFFER_PROFILE|pg_lossless_10000_5m_profile": { + "xon": "19456", + "dynamic_th": "0", + "xoff": "22528", + "pool": "ingress_lossless_pool", + "size": "19456" + }, + "BUFFER_PROFILE|pg_lossless_40000_5m_profile": { + "xon": "19456", + "dynamic_th": "0", + "xoff": "22528", + "pool": "ingress_lossless_pool", + "size": "19456" + }, + "BUFFER_PROFILE|pg_lossless_50000_5m_profile": { + "xon": "19456", + "dynamic_th": "0", + "xoff": "22528", + "pool": "ingress_lossless_pool", + "size": "19456" + }, + "BUFFER_PROFILE|pg_lossless_100000_5m_profile": { + "xon": "19456", + "dynamic_th": "0", + "xoff": "23552", + "pool": "ingress_lossless_pool", + "size": "19456" + }, + "BUFFER_PROFILE|q_lossy_profile": { + "dynamic_th": "3", + "pool": "egress_lossy_pool", + "size": "0" + }, + "BUFFER_QUEUE|Ethernet16|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet20|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet24|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet24|5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet28|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet28|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet28|5-6": { + "profile": "q_lossy_profile" + }, + "CABLE_LENGTH|AZURE": { + "Ethernet0": "5m", + "Ethernet4": "5m", + "Ethernet8": "5m", + "Ethernet12": "5m", + "Ethernet16": "5m", + "Ethernet20": "5m", + "Ethernet24": "5m", + "Ethernet28": "5m" + }, + "DEVICE_METADATA|localhost": { + "hwsku": "Mellanox-SN2700", + "default_bgp_status": "up", + "type": "ToRRouter", + "hostname": "sonic", + "platform": "x86_64-mlnx_msn2700-r0", + "mac": "00:01:02:03:04:00", + "default_pfcwd_status": "disable", + "bgp_asn": "65100", + "buffer_model": "traditional", + "deployment_id": "1", + "docker_routing_config_mode": "unified" + }, + "PORT|Ethernet0": { + "lanes": "0,1,2,3", + "fec": "rs", + "mtu": "9100", + "alias": "etp1", + "pfc_asym": "off", + "speed": "100000", + "description": "etp1" + }, + "PORT|Ethernet4": { + "lanes": "4,5,6,7", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp2", + "speed": "10000", + "description": "Servers0:eth0" + }, + "PORT|Ethernet8": { + "lanes": "8,9,10,11", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp3", + "speed": "25000", + "description": "Servers1:eth0" + }, + "PORT|Ethernet12": { + "lanes": "12,13,14,15", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp4", + "speed": "40000", + "description": "Servers2:eth0" + }, + "PORT|Ethernet16": { + "lanes": "16,17,18,19", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp5", + "speed": "50000", + "description": "Servers3:eth0" + }, + "PORT|Ethernet20": { + "lanes": "20,21,22,23", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp6", + "admin_status": "down", + "speed": "100000", + "description": "Servers4:eth0" + }, + "PORT|Ethernet24": { + "lanes": "24,25,26,27", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp7", + "admin_status": "down", + "speed": "100000", + "description": "Servers5:eth0" + }, + "PORT|Ethernet28": { + "lanes": "28,29,30,31", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp8", + "admin_status": "up", + "speed": "100000", + "description": "Servers6:eth0" + }, + "VERSIONS|DATABASE": { + "VERSION": "version_2_0_2" + } +} diff --git a/tests/db_migrator_input/config_db/reclaiming-buffer-traditional-single-pool-expected.json b/tests/db_migrator_input/config_db/reclaiming-buffer-traditional-single-pool-expected.json new file mode 100644 index 000000000000..557072bd868e --- /dev/null +++ b/tests/db_migrator_input/config_db/reclaiming-buffer-traditional-single-pool-expected.json @@ -0,0 +1,343 @@ +{ + "BUFFER_PG|Ethernet0|0": { + "profile": "ingress_lossy_pg_zero_profile" + }, + "BUFFER_PG|Ethernet4|0": { + "profile": "ingress_lossy_pg_zero_profile" + }, + "BUFFER_PG|Ethernet4|3-4": { + "profile": "pg_lossless_10000_5m_profile" + }, + "BUFFER_PG|Ethernet8|3-4": { + "profile": "pg_lossless_10000_5m_profile" + }, + "BUFFER_PG|Ethernet12|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet12|3-4": { + "profile": "pg_lossless_40000_5m_profile" + }, + "BUFFER_PG|Ethernet16|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet16|1": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet16|3-4": { + "profile": "pg_lossless_50000_5m_profile" + }, + "BUFFER_PG|Ethernet20|0": { + "profile": "ingress_lossy_pg_zero_profile" + }, + "BUFFER_PG|Ethernet20|3-4": { + "profile": "pg_lossless_100000_5m_profile" + }, + "BUFFER_PG|Ethernet24|0": { + "profile": "ingress_lossy_pg_zero_profile" + }, + "BUFFER_PG|Ethernet28|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet28|3-4": { + "profile": "pg_lossless_100000_5m_profile" + }, + "BUFFER_POOL|ingress_zero_pool": { + "type": "ingress", + "mode": "static", + "size": "0" + }, + "BUFFER_POOL|egress_lossless_pool": { + "type": "egress", + "mode": "dynamic", + "size": "13945824" + }, + "BUFFER_POOL|egress_lossy_pool": { + "type": "egress", + "mode": "dynamic", + "size": "5088768" + }, + "BUFFER_POOL|ingress_lossy_pool": { + "type": "ingress", + "mode": "dynamic", + "size": "5088768" + }, + "BUFFER_POOL|ingress_lossless_pool": { + "xoff": "688128", + "type": "ingress", + "mode": "dynamic", + "size": "5088768" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet0": { + "profile_list": "egress_lossless_zero_profile,egress_lossy_zero_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet0": { + "profile_list": "ingress_lossless_zero_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet4": { + "profile_list": "egress_lossless_zero_profile,egress_lossy_zero_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet4": { + "profile_list": "ingress_lossless_zero_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet8": { + "profile_list": "egress_lossless_zero_profile,egress_lossy_zero_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet8": { + "profile_list": "ingress_lossless_zero_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet12": { + "profile_list": "egress_lossless_zero_profile,egress_lossy_zero_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet12": { + "profile_list": "ingress_lossless_zero_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet24": { + "profile_list": "egress_lossless_zero_profile,egress_lossy_zero_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet20": { + "profile_list": "ingress_lossless_zero_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet16": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet20": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet16": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet24": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PROFILE|egress_lossless_profile": { + "dynamic_th": "7", + "pool": "egress_lossless_pool", + "size": "0" + }, + "BUFFER_PROFILE|egress_lossy_profile": { + "dynamic_th": "7", + "pool": "egress_lossy_pool", + "size": "9216" + }, + "BUFFER_PROFILE|ingress_lossless_profile": { + "dynamic_th": "7", + "pool": "ingress_lossless_pool", + "size": "0" + }, + "BUFFER_PROFILE|ingress_lossy_profile": { + "dynamic_th": "3", + "pool": "ingress_lossless_pool", + "size": "0" + }, + "BUFFER_PROFILE|pg_lossless_10000_5m_profile": { + "xon": "19456", + "dynamic_th": "0", + "xoff": "22528", + "pool": "ingress_lossless_pool", + "size": "19456" + }, + "BUFFER_PROFILE|pg_lossless_40000_5m_profile": { + "xon": "19456", + "dynamic_th": "0", + "xoff": "22528", + "pool": "ingress_lossless_pool", + "size": "19456" + }, + "BUFFER_PROFILE|pg_lossless_50000_5m_profile": { + "xon": "19456", + "dynamic_th": "0", + "xoff": "22528", + "pool": "ingress_lossless_pool", + "size": "19456" + }, + "BUFFER_PROFILE|pg_lossless_100000_5m_profile": { + "xon": "19456", + "dynamic_th": "0", + "xoff": "23552", + "pool": "ingress_lossless_pool", + "size": "19456" + }, + "BUFFER_PROFILE|q_lossy_profile": { + "dynamic_th": "3", + "pool": "egress_lossy_pool", + "size": "0" + }, + "BUFFER_PROFILE|ingress_lossy_pg_zero_profile" : { + "pool":"ingress_zero_pool", + "size":"0", + "static_th":"0" + }, + "BUFFER_PROFILE|ingress_lossless_zero_profile" : { + "pool":"ingress_lossless_pool", + "size":"0", + "dynamic_th":"-8" + }, + "BUFFER_PROFILE|egress_lossless_zero_profile" : { + "pool":"egress_lossless_pool", + "size":"0", + "dynamic_th":"-8" + }, + "BUFFER_PROFILE|egress_lossy_zero_profile" : { + "pool":"egress_lossy_pool", + "size":"0", + "dynamic_th":"-8" + }, + "BUFFER_QUEUE|Ethernet0|0-2": { + "profile": "egress_lossy_zero_profile" + }, + "BUFFER_QUEUE|Ethernet0|3-4": { + "profile": "egress_lossless_zero_profile" + }, + "BUFFER_QUEUE|Ethernet0|5-6": { + "profile": "egress_lossy_zero_profile" + }, + "BUFFER_QUEUE|Ethernet4|0-2": { + "profile": "egress_lossy_zero_profile" + }, + "BUFFER_QUEUE|Ethernet4|3-4": { + "profile": "egress_lossless_zero_profile" + }, + "BUFFER_QUEUE|Ethernet4|5-6": { + "profile": "egress_lossy_zero_profile" + }, + "BUFFER_QUEUE|Ethernet8|0-2": { + "profile": "egress_lossy_zero_profile" + }, + "BUFFER_QUEUE|Ethernet8|3-4": { + "profile": "egress_lossless_zero_profile" + }, + "BUFFER_QUEUE|Ethernet8|5-6": { + "profile": "egress_lossy_zero_profile" + }, + "BUFFER_QUEUE|Ethernet12|0-2": { + "profile": "egress_lossy_zero_profile" + }, + "BUFFER_QUEUE|Ethernet12|3-4": { + "profile": "egress_lossless_zero_profile" + }, + "BUFFER_QUEUE|Ethernet12|5-6": { + "profile": "egress_lossy_zero_profile" + }, + "BUFFER_QUEUE|Ethernet16|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet20|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet24|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet24|5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet28|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet28|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet28|5-6": { + "profile": "q_lossy_profile" + }, + "CABLE_LENGTH|AZURE": { + "Ethernet0": "5m", + "Ethernet4": "5m", + "Ethernet8": "5m", + "Ethernet12": "5m", + "Ethernet16": "5m", + "Ethernet20": "5m", + "Ethernet24": "5m", + "Ethernet28": "5m" + }, + "DEVICE_METADATA|localhost": { + "hwsku": "Mellanox-SN2700", + "default_bgp_status": "up", + "type": "ToRRouter", + "hostname": "sonic", + "platform": "x86_64-mlnx_msn2700-r0", + "mac": "00:01:02:03:04:00", + "default_pfcwd_status": "disable", + "bgp_asn": "65100", + "buffer_model": "traditional", + "deployment_id": "1", + "docker_routing_config_mode": "unified" + }, + "PORT|Ethernet0": { + "lanes": "0,1,2,3", + "fec": "rs", + "mtu": "9100", + "alias": "etp1", + "pfc_asym": "off", + "speed": "100000", + "description": "etp1" + }, + "PORT|Ethernet4": { + "lanes": "4,5,6,7", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp2", + "speed": "10000", + "description": "Servers0:eth0" + }, + "PORT|Ethernet8": { + "lanes": "8,9,10,11", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp3", + "speed": "25000", + "description": "Servers1:eth0" + }, + "PORT|Ethernet12": { + "lanes": "12,13,14,15", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp4", + "speed": "40000", + "description": "Servers2:eth0" + }, + "PORT|Ethernet16": { + "lanes": "16,17,18,19", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp5", + "speed": "50000", + "description": "Servers3:eth0" + }, + "PORT|Ethernet20": { + "lanes": "20,21,22,23", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp6", + "admin_status": "down", + "speed": "100000", + "description": "Servers4:eth0" + }, + "PORT|Ethernet24": { + "lanes": "24,25,26,27", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp7", + "admin_status": "down", + "speed": "100000", + "description": "Servers5:eth0" + }, + "PORT|Ethernet28": { + "lanes": "28,29,30,31", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp8", + "admin_status": "up", + "speed": "100000", + "description": "Servers6:eth0" + }, + "VERSIONS|DATABASE": { + "VERSION": "version_2_0_3" + } +} diff --git a/tests/db_migrator_input/config_db/reclaiming-buffer-traditional-single-pool-input.json b/tests/db_migrator_input/config_db/reclaiming-buffer-traditional-single-pool-input.json new file mode 100644 index 000000000000..85f50fe3a3a5 --- /dev/null +++ b/tests/db_migrator_input/config_db/reclaiming-buffer-traditional-single-pool-input.json @@ -0,0 +1,240 @@ +{ + "BUFFER_PG|Ethernet4|3-4": { + "profile": "pg_lossless_10000_5m_profile" + }, + "BUFFER_PG|Ethernet8|3-4": { + "profile": "pg_lossless_10000_5m_profile" + }, + "BUFFER_PG|Ethernet12|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet12|3-4": { + "profile": "pg_lossless_40000_5m_profile" + }, + "BUFFER_PG|Ethernet16|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet16|1": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet16|3-4": { + "profile": "pg_lossless_50000_5m_profile" + }, + "BUFFER_PG|Ethernet20|3-4": { + "profile": "pg_lossless_100000_5m_profile" + }, + "BUFFER_PG|Ethernet28|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet28|3-4": { + "profile": "pg_lossless_100000_5m_profile" + }, + "BUFFER_POOL|egress_lossless_pool": { + "type": "egress", + "mode": "dynamic", + "size": "13945824" + }, + "BUFFER_POOL|egress_lossy_pool": { + "type": "egress", + "mode": "dynamic", + "size": "5088768" + }, + "BUFFER_POOL|ingress_lossy_pool": { + "type": "ingress", + "mode": "dynamic", + "size": "5088768" + }, + "BUFFER_POOL|ingress_lossless_pool": { + "xoff": "688128", + "type": "ingress", + "mode": "dynamic", + "size": "5088768" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet16": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet20": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet16": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet24": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PROFILE|egress_lossless_profile": { + "dynamic_th": "7", + "pool": "egress_lossless_pool", + "size": "0" + }, + "BUFFER_PROFILE|egress_lossy_profile": { + "dynamic_th": "7", + "pool": "egress_lossy_pool", + "size": "9216" + }, + "BUFFER_PROFILE|ingress_lossless_profile": { + "dynamic_th": "7", + "pool": "ingress_lossless_pool", + "size": "0" + }, + "BUFFER_PROFILE|ingress_lossy_profile": { + "dynamic_th": "3", + "pool": "ingress_lossless_pool", + "size": "0" + }, + "BUFFER_PROFILE|pg_lossless_10000_5m_profile": { + "xon": "19456", + "dynamic_th": "0", + "xoff": "22528", + "pool": "ingress_lossless_pool", + "size": "19456" + }, + "BUFFER_PROFILE|pg_lossless_40000_5m_profile": { + "xon": "19456", + "dynamic_th": "0", + "xoff": "22528", + "pool": "ingress_lossless_pool", + "size": "19456" + }, + "BUFFER_PROFILE|pg_lossless_50000_5m_profile": { + "xon": "19456", + "dynamic_th": "0", + "xoff": "22528", + "pool": "ingress_lossless_pool", + "size": "19456" + }, + "BUFFER_PROFILE|pg_lossless_100000_5m_profile": { + "xon": "19456", + "dynamic_th": "0", + "xoff": "23552", + "pool": "ingress_lossless_pool", + "size": "19456" + }, + "BUFFER_PROFILE|q_lossy_profile": { + "dynamic_th": "3", + "pool": "egress_lossy_pool", + "size": "0" + }, + "BUFFER_QUEUE|Ethernet16|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet20|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet24|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet24|5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet28|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet28|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet28|5-6": { + "profile": "q_lossy_profile" + }, + "CABLE_LENGTH|AZURE": { + "Ethernet0": "5m", + "Ethernet4": "5m", + "Ethernet8": "5m", + "Ethernet12": "5m", + "Ethernet16": "5m", + "Ethernet20": "5m", + "Ethernet24": "5m", + "Ethernet28": "5m" + }, + "DEVICE_METADATA|localhost": { + "hwsku": "Mellanox-SN2700", + "default_bgp_status": "up", + "type": "ToRRouter", + "hostname": "sonic", + "platform": "x86_64-mlnx_msn2700-r0", + "mac": "00:01:02:03:04:00", + "default_pfcwd_status": "disable", + "bgp_asn": "65100", + "buffer_model": "traditional", + "deployment_id": "1", + "docker_routing_config_mode": "unified" + }, + "PORT|Ethernet0": { + "lanes": "0,1,2,3", + "fec": "rs", + "mtu": "9100", + "alias": "etp1", + "pfc_asym": "off", + "speed": "100000", + "description": "etp1" + }, + "PORT|Ethernet4": { + "lanes": "4,5,6,7", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp2", + "speed": "10000", + "description": "Servers0:eth0" + }, + "PORT|Ethernet8": { + "lanes": "8,9,10,11", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp3", + "speed": "25000", + "description": "Servers1:eth0" + }, + "PORT|Ethernet12": { + "lanes": "12,13,14,15", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp4", + "speed": "40000", + "description": "Servers2:eth0" + }, + "PORT|Ethernet16": { + "lanes": "16,17,18,19", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp5", + "speed": "50000", + "description": "Servers3:eth0" + }, + "PORT|Ethernet20": { + "lanes": "20,21,22,23", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp6", + "admin_status": "down", + "speed": "100000", + "description": "Servers4:eth0" + }, + "PORT|Ethernet24": { + "lanes": "24,25,26,27", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp7", + "admin_status": "down", + "speed": "100000", + "description": "Servers5:eth0" + }, + "PORT|Ethernet28": { + "lanes": "28,29,30,31", + "fec": "rs", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp8", + "admin_status": "up", + "speed": "100000", + "description": "Servers6:eth0" + }, + "VERSIONS|DATABASE": { + "VERSION": "version_2_0_2" + } +} diff --git a/tests/db_migrator_input/config_db/reclaiming-buffer-warmreboot-expected.json b/tests/db_migrator_input/config_db/reclaiming-buffer-warmreboot-expected.json new file mode 100644 index 000000000000..09d6fc8c77cb --- /dev/null +++ b/tests/db_migrator_input/config_db/reclaiming-buffer-warmreboot-expected.json @@ -0,0 +1,2048 @@ +{ + "BUFFER_PG|Ethernet0|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet0|3-4": { + "profile": "NULL" + }, + "BUFFER_PG|Ethernet8|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet8|3-4": { + "profile": "NULL" + }, + "BUFFER_PG|Ethernet16|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet16|3-4": { + "profile": "NULL" + }, + "BUFFER_PG|Ethernet24|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet24|3-4": { + "profile": "NULL" + }, + "BUFFER_PG|Ethernet32|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet32|3-4": { + "profile": "NULL" + }, + "BUFFER_PG|Ethernet40|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet40|3-4": { + "profile": "NULL" + }, + "BUFFER_PG|Ethernet48|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet48|3-4": { + "profile": "NULL" + }, + "BUFFER_PG|Ethernet56|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet56|3-4": { + "profile": "NULL" + }, + "BUFFER_PG|Ethernet64|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet64|3-4": { + "profile": "NULL" + }, + "BUFFER_PG|Ethernet72|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet72|3-4": { + "profile": "NULL" + }, + "BUFFER_PG|Ethernet80|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet80|3-4": { + "profile": "NULL" + }, + "BUFFER_PG|Ethernet88|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet88|3-4": { + "profile": "NULL" + }, + "BUFFER_PG|Ethernet96|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet96|3-4": { + "profile": "NULL" + }, + "BUFFER_PG|Ethernet104|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet104|3-4": { + "profile": "NULL" + }, + "BUFFER_PG|Ethernet112|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet112|3-4": { + "profile": "NULL" + }, + "BUFFER_PG|Ethernet120|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet120|3-4": { + "profile": "NULL" + }, + "BUFFER_PG|Ethernet128|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet128|3-4": { + "profile": "NULL" + }, + "BUFFER_PG|Ethernet136|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet136|3-4": { + "profile": "NULL" + }, + "BUFFER_PG|Ethernet144|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet144|3-4": { + "profile": "NULL" + }, + "BUFFER_PG|Ethernet152|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet152|3-4": { + "profile": "NULL" + }, + "BUFFER_PG|Ethernet160|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet160|3-4": { + "profile": "NULL" + }, + "BUFFER_PG|Ethernet168|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet168|3-4": { + "profile": "NULL" + }, + "BUFFER_PG|Ethernet176|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet176|3-4": { + "profile": "NULL" + }, + "BUFFER_PG|Ethernet184|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet184|3-4": { + "profile": "NULL" + }, + "BUFFER_PG|Ethernet192|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet192|3-4": { + "profile": "NULL" + }, + "BUFFER_PG|Ethernet200|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet200|3-4": { + "profile": "NULL" + }, + "BUFFER_PG|Ethernet208|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet208|3-4": { + "profile": "NULL" + }, + "BUFFER_PG|Ethernet216|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet216|3-4": { + "profile": "NULL" + }, + "BUFFER_PG|Ethernet224|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet224|3-4": { + "profile": "NULL" + }, + "BUFFER_PG|Ethernet232|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet232|3-4": { + "profile": "NULL" + }, + "BUFFER_PG|Ethernet240|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet240|3-4": { + "profile": "NULL" + }, + "BUFFER_PG|Ethernet248|0": { + "profile": "ingress_lossy_profile" + }, + "BUFFER_PG|Ethernet248|3-4": { + "profile": "NULL" + }, + "BUFFER_POOL|egress_lossless_pool": { + "type": "egress", + "mode": "dynamic", + "size": "60817392" + }, + "BUFFER_POOL|egress_lossy_pool": { + "type": "egress", + "mode": "dynamic" + }, + "BUFFER_POOL|ingress_lossless_pool": { + "type": "ingress", + "mode": "dynamic" + }, + "BUFFER_POOL|ingress_lossy_pool": { + "type": "ingress", + "mode": "dynamic" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet0": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet2": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet4": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet6": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet8": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet10": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet12": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet16": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet18": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet20": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet22": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet24": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet26": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet28": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet32": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet34": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet36": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet38": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet40": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet42": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet44": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet48": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet50": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet52": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet54": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet56": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet58": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet60": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet64": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet65": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet66": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet67": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet68": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet70": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet72": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet76": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet80": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet82": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet84": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet88": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet92": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet96": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet100": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet104": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet108": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet112": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet116": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet120": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet124": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet128": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet136": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet144": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet152": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet160": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet168": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet176": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet184": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet192": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet200": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet208": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet216": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet224": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet232": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet240": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet248": { + "profile_list": "egress_lossless_profile,egress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet0": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet2": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet4": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet6": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet8": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet10": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet12": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet16": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet18": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet20": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet22": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet24": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet26": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet28": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet32": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet34": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet36": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet38": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet40": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet42": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet44": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet48": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet50": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet52": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet54": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet56": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet58": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet60": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet64": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet65": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet66": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet67": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet68": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet70": { + "profile_list": "ingress_lossless_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet72": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet76": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet80": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet82": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet84": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet88": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet92": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet96": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet100": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet104": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet108": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet112": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet116": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet120": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet124": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet128": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet136": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet144": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet152": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet160": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet168": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet176": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet184": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet192": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet200": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet208": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet216": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet224": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet232": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet240": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet248": { + "profile_list": "ingress_lossless_profile,ingress_lossy_profile" + }, + "BUFFER_PROFILE|egress_lossless_profile": { + "dynamic_th": "7", + "pool": "egress_lossless_pool", + "size": "0" + }, + "BUFFER_PROFILE|egress_lossy_profile": { + "dynamic_th": "7", + "pool": "egress_lossy_pool", + "size": "9216" + }, + "BUFFER_PROFILE|ingress_lossless_profile": { + "dynamic_th": "7", + "pool": "ingress_lossless_pool", + "size": "0" + }, + "BUFFER_PROFILE|ingress_lossy_profile": { + "dynamic_th": "3", + "pool": "ingress_lossy_pool", + "size": "0" + }, + "BUFFER_PROFILE|q_lossy_profile": { + "dynamic_th": "3", + "pool": "egress_lossy_pool", + "size": "0" + }, + "BUFFER_QUEUE|Ethernet0|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet0|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet0|5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet8|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet8|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet8|5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet16|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet16|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet16|5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet24|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet24|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet24|5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet32|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet32|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet32|5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet40|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet40|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet40|5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet48|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet48|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet48|5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet56|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet56|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet56|5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet64|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet64|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet64|5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet72|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet72|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet72|5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet80|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet80|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet80|5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet88|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet88|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet88|5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet96|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet96|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet96|5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet104|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet104|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet104|5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet112|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet112|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet112|5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet120|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet120|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet120|5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet128|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet128|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet128|5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet136|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet136|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet136|5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet144|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet144|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet144|5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet152|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet152|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet152|5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet160|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet160|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet160|5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet168|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet168|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet168|5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet176|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet176|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet176|5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet184|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet184|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet184|5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet192|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet192|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet192|5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet200|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet200|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet200|5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet208|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet208|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet208|5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet216|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet216|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet216|5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet224|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet224|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet224|5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet232|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet232|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet232|5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet240|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet240|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet240|5-6": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet248|0-2": { + "profile": "q_lossy_profile" + }, + "BUFFER_QUEUE|Ethernet248|3-4": { + "profile": "egress_lossless_profile" + }, + "BUFFER_QUEUE|Ethernet248|5-6": { + "profile": "q_lossy_profile" + }, + "CABLE_LENGTH|AZURE": { + "Ethernet8": "300m", + "Ethernet184": "40m", + "Ethernet0": "300m", + "Ethernet248": "300m", + "Ethernet104": "300m", + "Ethernet240": "40m", + "Ethernet200": "40m", + "Ethernet168": "40m", + "Ethernet120": "300m", + "Ethernet144": "40m", + "Ethernet208": "40m", + "Ethernet160": "40m", + "Ethernet224": "40m", + "Ethernet56": "300m", + "Ethernet128": "40m", + "Ethernet72": "300m", + "Ethernet32": "300m", + "Ethernet16": "300m", + "Ethernet192": "40m", + "Ethernet96": "300m", + "Ethernet88": "300m", + "Ethernet80": "300m", + "Ethernet112": "300m", + "Ethernet152": "40m", + "Ethernet136": "40m", + "Ethernet48": "300m", + "Ethernet232": "40m", + "Ethernet216": "40m", + "Ethernet176": "40m", + "Ethernet40": "300m", + "Ethernet64": "300m", + "Ethernet24": "300m" + }, + "DEFAULT_LOSSLESS_BUFFER_PARAMETER|AZURE": { + "default_dynamic_th": "0" + }, + "DEVICE_METADATA|localhost": { + "hwsku": "ACS-MSN4700", + "default_bgp_status": "up", + "type": "LeafRouter", + "region": "None", + "hostname": "sonic", + "platform": "x86_64-mlnx_msn4700-r0", + "mac": "00:01:02:03:04:00", + "default_pfcwd_status": "disable", + "bgp_asn": "65100", + "buffer_model": "dynamic", + "deployment_id": "1", + "docker_routing_config_mode": "separated", + "cloudtype": "None" + }, + "LOSSLESS_TRAFFIC_PATTERN|AZURE": { + "small_packet_percentage": "100", + "mtu": "1024" + }, + "PORT|Ethernet0": { + "index": "1", + "lanes": "0,1,2,3,4,5,6,7", + "description": "ARISTA01T2:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp1", + "pfc_asym": "off", + "speed": "10000", + "fec": "rs" + }, + "PORT|Ethernet2": { + "index": "0", + "lanes": "2,3", + "description": "ARISTA01T2:Ethernet2", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp1b", + "admin_status": "up", + "speed": "25000", + "fec": "none" + }, + "PORT|Ethernet4": { + "index": "2", + "lanes": "4,5,6,7", + "description": "Servers0:eth0", + "admin_status": "up", + "mtu": "9100", + "alias": "etp2", + "pfc_asym": "off", + "speed": "25000", + "fec": "rs" + }, + "PORT|Ethernet6": { + "index": "1", + "lanes": "6,7", + "description": "ARISTA03T2:Ethernet2", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp2b", + "admin_status": "up", + "speed": "40000", + "fec": "none" + }, + "PORT|Ethernet8": { + "index": "2", + "lanes": "8,9,10,11,12,13,14,15", + "description": "ARISTA01T2:Ethernet2", + "admin_status": "up", + "mtu": "9100", + "alias": "etp2", + "pfc_asym": "off", + "speed": "25000", + "fec": "rs" + }, + "PORT|Ethernet10": { + "index": "2", + "lanes": "10,11", + "description": "ARISTA05T2:Ethernet2", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp3b", + "admin_status": "up", + "speed": "50000", + "fec": "none" + }, + "PORT|Ethernet12": { + "index": "4", + "lanes": "12,13,14,15", + "description": "Servers2:eth0", + "admin_status": "up", + "mtu": "9100", + "alias": "etp4", + "pfc_asym": "off", + "speed": "40000", + "fec": "rs" + }, + "PORT|Ethernet16": { + "index": "3", + "lanes": "16,17,18,19,20,21,22,23", + "description": "ARISTA03T2:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp3", + "pfc_asym": "off", + "speed": "50000", + "fec": "rs" + }, + "PORT|Ethernet18": { + "index": "4", + "lanes": "18,19", + "description": "ARISTA09T2:Ethernet1", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp5b", + "admin_status": "up", + "speed": "50000", + "fec": "none" + }, + "PORT|Ethernet20": { + "index": "6", + "lanes": "20,21,22,23", + "description": "Servers4:eth0", + "admin_status": "up", + "mtu": "9100", + "alias": "etp6", + "pfc_asym": "off", + "speed": "200000", + "fec": "rs" + }, + "PORT|Ethernet22": { + "index": "5", + "lanes": "22,23", + "description": "ARISTA11T2:Ethernet1", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp6b", + "admin_status": "up", + "speed": "50000", + "fec": "none" + }, + "PORT|Ethernet24": { + "index": "4", + "lanes": "24,25,26,27,28,29,30,31", + "description": "ARISTA03T2:Ethernet2", + "admin_status": "up", + "mtu": "9100", + "alias": "etp4", + "pfc_asym": "off", + "speed": "40000", + "fec": "rs" + }, + "PORT|Ethernet26": { + "index": "6", + "lanes": "26,27", + "description": "ARISTA13T2:Ethernet1", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp7b", + "admin_status": "up", + "speed": "50000", + "fec": "none" + }, + "PORT|Ethernet28": { + "index": "8", + "lanes": "28,29,30,31", + "description": "Servers6:eth0", + "admin_status": "up", + "mtu": "9100", + "alias": "etp8", + "pfc_asym": "off", + "speed": "100000", + "fec": "rs" + }, + "PORT|Ethernet32": { + "index": "5", + "lanes": "32,33,34,35,36,37,38,39", + "description": "ARISTA05T2:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp5", + "pfc_asym": "off", + "speed": "100000", + "fec": "rs" + }, + "PORT|Ethernet34": { + "index": "8", + "lanes": "34,35", + "description": "ARISTA15T2:Ethernet2", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp9b", + "admin_status": "up", + "speed": "50000", + "fec": "none" + }, + "PORT|Ethernet36": { + "index": "10", + "lanes": "36,37,38,39", + "description": "Servers8:eth0", + "admin_status": "up", + "mtu": "9100", + "alias": "etp10", + "pfc_asym": "off", + "speed": "100000", + "fec": "rs" + }, + "PORT|Ethernet38": { + "index": "9", + "lanes": "38,39", + "description": "ARISTA02T0:Ethernet1", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp10b", + "admin_status": "up", + "speed": "25000", + "fec": "none" + }, + "PORT|Ethernet40": { + "index": "6", + "lanes": "40,41,42,43,44,45,46,47", + "description": "ARISTA05T2:Ethernet2", + "admin_status": "up", + "mtu": "9100", + "alias": "etp6", + "pfc_asym": "off", + "speed": "200000", + "fec": "rs" + }, + "PORT|Ethernet42": { + "index": "10", + "lanes": "42,43", + "description": "ARISTA04T0:Ethernet1", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp11b", + "admin_status": "up", + "speed": "50000", + "fec": "none" + }, + "PORT|Ethernet44": { + "index": "12", + "lanes": "44,45,46,47", + "description": "Servers10:eth0", + "admin_status": "up", + "mtu": "9100", + "alias": "etp12", + "pfc_asym": "off", + "speed": "100000", + "fec": "rs" + }, + "PORT|Ethernet48": { + "index": "7", + "lanes": "48,49,50,51,52,53,54,55", + "description": "ARISTA07T2:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp7", + "pfc_asym": "off", + "speed": "100000", + "fec": "rs" + }, + "PORT|Ethernet50": { + "index": "12", + "lanes": "50,51", + "description": "ARISTA07T0:Ethernet1", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp13b", + "admin_status": "up", + "speed": "50000", + "fec": "none" + }, + "PORT|Ethernet52": { + "index": "14", + "lanes": "52,53,54,55", + "description": "Servers12:eth0", + "admin_status": "up", + "mtu": "9100", + "alias": "etp14", + "pfc_asym": "off", + "speed": "100000", + "fec": "rs" + }, + "PORT|Ethernet54": { + "index": "13", + "lanes": "54,55", + "description": "ARISTA09T0:Ethernet1", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp14b", + "admin_status": "up", + "speed": "50000", + "fec": "none" + }, + "PORT|Ethernet56": { + "index": "8", + "lanes": "56,57,58,59,60,61,62,63", + "description": "ARISTA07T2:Ethernet2", + "admin_status": "up", + "mtu": "9100", + "alias": "etp8", + "pfc_asym": "off", + "speed": "100000", + "fec": "rs" + }, + "PORT|Ethernet58": { + "index": "14", + "lanes": "58,59", + "description": "ARISTA11T0:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp15b", + "pfc_asym": "off", + "speed": "50000", + "fec": "none" + }, + "PORT|Ethernet60": { + "index": "16", + "lanes": "60,61,62,63", + "description": "Servers14:eth0", + "admin_status": "up", + "mtu": "9100", + "alias": "etp16", + "pfc_asym": "off", + "speed": "100000", + "fec": "rs" + }, + "PORT|Ethernet64": { + "index": "9", + "lanes": "64,65,66,67,68,69,70,71", + "description": "ARISTA09T2:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp9", + "pfc_asym": "off", + "speed": "100000", + "fec": "none" + }, + "PORT|Ethernet65": { + "index": "17", + "lanes": "65", + "description": "Servers16:eth0", + "admin_status": "up", + "mtu": "9100", + "alias": "etp17b", + "pfc_asym": "off", + "speed": "25000" + }, + "PORT|Ethernet66": { + "index": "17", + "lanes": "66", + "description": "Servers17:eth0", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp17c", + "admin_status": "up", + "speed": "25000", + "fec": "none" + }, + "PORT|Ethernet67": { + "index": "17", + "lanes": "67", + "description": "Servers18:eth0", + "admin_status": "up", + "mtu": "9100", + "alias": "etp17d", + "pfc_asym": "off", + "speed": "25000" + }, + "PORT|Ethernet68": { + "index": "17", + "lanes": "68,69", + "description": "ARISTA15T0:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp18a", + "pfc_asym": "off", + "speed": "50000", + "fec": "none" + }, + "PORT|Ethernet70": { + "index": "17", + "lanes": "70,71", + "description": "ARISTA16T0:Ethernet1", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp18b", + "admin_status": "up", + "speed": "50000", + "fec": "none" + }, + "PORT|Ethernet72": { + "index": "10", + "lanes": "72,73,74,75,76,77,78,79", + "description": "ARISTA09T2:Ethernet2", + "admin_status": "up", + "mtu": "9100", + "alias": "etp10", + "pfc_asym": "off", + "speed": "100000", + "fec": "none" + }, + "PORT|Ethernet74": { + "index": "18", + "lanes": "74,75", + "description": "etp19b", + "mtu": "9100", + "alias": "etp19b", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet76": { + "index": "19", + "lanes": "76,77,78,79", + "description": "etp20", + "admin_status": "up", + "mtu": "9100", + "alias": "etp20", + "pfc_asym": "off", + "speed": "50000", + "fec": "none" + }, + "PORT|Ethernet80": { + "index": "11", + "lanes": "80,81,82,83,84,85,86,87", + "description": "ARISTA11T2:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp11", + "pfc_asym": "off", + "speed": "100000", + "fec": "none" + }, + "PORT|Ethernet82": { + "index": "21", + "lanes": "82,83", + "description": "Servers20:eth0", + "admin_status": "up", + "mtu": "9100", + "alias": "etp21b", + "pfc_asym": "off", + "speed": "50000", + "fec": "none" + }, + "PORT|Ethernet84": { + "index": "21", + "lanes": "84,85", + "description": "etp22a", + "admin_status": "up", + "mtu": "9100", + "alias": "etp22a", + "pfc_asym": "off", + "speed": "50000", + "fec": "none" + }, + "PORT|Ethernet86": { + "index": "21", + "lanes": "86,87", + "description": "etp22b", + "mtu": "9100", + "alias": "etp22b", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet88": { + "index": "12", + "lanes": "88,89,90,91,92,93,94,95", + "description": "ARISTA11T2:Ethernet2", + "admin_status": "up", + "mtu": "9100", + "alias": "etp12", + "pfc_asym": "off", + "speed": "100000", + "fec": "rs" + }, + "PORT|Ethernet90": { + "index": "22", + "lanes": "90,91", + "description": "etp23b", + "mtu": "9100", + "alias": "etp23b", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet92": { + "index": "24", + "lanes": "92,93,94,95", + "description": "Servers22:eth0", + "admin_status": "up", + "mtu": "9100", + "alias": "etp24", + "pfc_asym": "off", + "speed": "100000", + "fec": "rs" + }, + "PORT|Ethernet96": { + "index": "13", + "lanes": "96,97,98,99,100,101,102,103", + "description": "ARISTA13T2:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp13", + "pfc_asym": "off", + "speed": "100000", + "fec": "rs" + }, + "PORT|Ethernet100": { + "index": "26", + "lanes": "100,101,102,103", + "description": "etp26", + "admin_status": "up", + "mtu": "9100", + "alias": "etp26", + "pfc_asym": "off", + "speed": "100000", + "fec": "rs" + }, + "PORT|Ethernet104": { + "index": "14", + "lanes": "104,105,106,107,108,109,110,111", + "description": "ARISTA13T2:Ethernet2", + "admin_status": "up", + "mtu": "9100", + "alias": "etp14", + "pfc_asym": "off", + "speed": "100000", + "fec": "rs" + }, + "PORT|Ethernet106": { + "index": "26", + "lanes": "106,107", + "description": "etp27b", + "mtu": "9100", + "alias": "etp27b", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet108": { + "index": "28", + "lanes": "108,109,110,111", + "description": "etp28", + "admin_status": "up", + "mtu": "9100", + "alias": "etp28", + "pfc_asym": "off", + "speed": "100000", + "fec": "rs" + }, + "PORT|Ethernet112": { + "index": "15", + "lanes": "112,113,114,115,116,117,118,119", + "description": "ARISTA15T2:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp15", + "pfc_asym": "off", + "speed": "100000", + "fec": "rs" + }, + "PORT|Ethernet116": { + "index": "30", + "lanes": "116,117,118,119", + "description": "ARISTA02T1:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp30", + "pfc_asym": "off", + "speed": "100000", + "fec": "rs" + }, + "PORT|Ethernet120": { + "index": "16", + "lanes": "120,121,122,123,124,125,126,127", + "description": "ARISTA15T2:Ethernet2", + "admin_status": "up", + "mtu": "9100", + "alias": "etp16", + "pfc_asym": "off", + "speed": "100000", + "fec": "none" + }, + "PORT|Ethernet122": { + "index": "30", + "lanes": "122,123", + "description": "etp31b", + "mtu": "9100", + "alias": "etp31b", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet124": { + "index": "32", + "lanes": "124,125,126,127", + "description": "ARISTA04T1:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp32", + "pfc_asym": "off", + "speed": "50000", + "fec": "none" + }, + "PORT|Ethernet128": { + "index": "17", + "lanes": "128,129,130,131,132,133,134,135", + "description": "ARISTA01T0:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp17", + "pfc_asym": "off", + "speed": "10000", + "fec": "rs" + }, + "PORT|Ethernet132": { + "index": "33", + "lanes": "132,133,134,135", + "description": "etp34", + "mtu": "9100", + "alias": "etp34", + "pfc_asym": "off", + "speed": "100000", + "fec": "rs", + "admin_status": "up" + }, + "PORT|Ethernet136": { + "index": "18", + "lanes": "136,137,138,139,140,141,142,143", + "description": "ARISTA02T0:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp18", + "pfc_asym": "off", + "speed": "25000", + "fec": "none" + }, + "PORT|Ethernet138": { + "index": "34", + "lanes": "138,139", + "description": "etp35b", + "mtu": "9100", + "alias": "etp35b", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet140": { + "index": "35", + "lanes": "140,141,142,143", + "description": "etp36", + "mtu": "9100", + "alias": "etp36", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet144": { + "index": "19", + "lanes": "144,145,146,147,148,149,150,151", + "description": "ARISTA03T0:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp19", + "pfc_asym": "off", + "speed": "40000", + "fec": "rs" + }, + "PORT|Ethernet148": { + "index": "37", + "lanes": "148,149,150,151", + "description": "etp38", + "mtu": "9100", + "alias": "etp38", + "pfc_asym": "off", + "speed": "100000", + "fec": "rs", + "admin_status": "up" + }, + "PORT|Ethernet152": { + "index": "20", + "lanes": "152,153,154,155,156,157,158,159", + "description": "ARISTA04T0:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp20", + "pfc_asym": "off", + "speed": "50000", + "fec": "none" + }, + "PORT|Ethernet154": { + "index": "38", + "lanes": "154,155", + "description": "etp39b", + "mtu": "9100", + "alias": "etp39b", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet156": { + "index": "39", + "lanes": "156,157,158,159", + "description": "etp40", + "mtu": "9100", + "alias": "etp40", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet160": { + "index": "21", + "lanes": "160,161,162,163,164,165,166,167", + "description": "ARISTA05T0:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp21", + "pfc_asym": "off", + "speed": "100000", + "fec": "none" + }, + "PORT|Ethernet162": { + "index": "40", + "lanes": "162,163", + "description": "etp41b", + "mtu": "9100", + "alias": "etp41b", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet164": { + "index": "41", + "lanes": "164,165", + "description": "etp42a", + "mtu": "9100", + "alias": "etp42a", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet166": { + "index": "41", + "lanes": "166,167", + "description": "etp42b", + "mtu": "9100", + "alias": "etp42b", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet168": { + "index": "22", + "lanes": "168,169,170,171,172,173,174,175", + "description": "ARISTA06T0:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp22", + "pfc_asym": "off", + "speed": "200000", + "fec": "none" + }, + "PORT|Ethernet170": { + "index": "42", + "lanes": "170,171", + "description": "etp43b", + "mtu": "9100", + "alias": "etp43b", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet172": { + "index": "43", + "lanes": "172,173,174,175", + "description": "etp44", + "mtu": "9100", + "alias": "etp44", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet176": { + "index": "23", + "lanes": "176,177,178,179,180,181,182,183", + "description": "ARISTA07T0:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp23", + "pfc_asym": "off", + "speed": "400000", + "fec": "none" + }, + "PORT|Ethernet178": { + "index": "44", + "lanes": "178,179", + "description": "etp45b", + "mtu": "9100", + "alias": "etp45b", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet180": { + "index": "45", + "lanes": "180,181", + "description": "etp46a", + "mtu": "9100", + "alias": "etp46a", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet182": { + "index": "45", + "lanes": "182,183", + "description": "etp46b", + "mtu": "9100", + "alias": "etp46b", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet184": { + "index": "24", + "lanes": "184,185,186,187,188,189,190,191", + "description": "ARISTA08T0:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp24", + "pfc_asym": "off", + "speed": "400000", + "fec": "none" + }, + "PORT|Ethernet186": { + "index": "46", + "lanes": "186,187", + "description": "etp47b", + "mtu": "9100", + "alias": "etp47b", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet188": { + "index": "47", + "lanes": "188,189,190,191", + "description": "etp48", + "mtu": "9100", + "alias": "etp48", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet192": { + "index": "25", + "lanes": "192,193,194,195,196,197,198,199", + "description": "ARISTA09T0:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp25", + "pfc_asym": "off", + "speed": "400000", + "fec": "none" + }, + "PORT|Ethernet196": { + "index": "49", + "lanes": "196,197", + "description": "etp50a", + "mtu": "9100", + "alias": "etp50a", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet198": { + "index": "49", + "lanes": "198,199", + "description": "etp50b", + "mtu": "9100", + "alias": "etp50b", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet200": { + "index": "26", + "lanes": "200,201,202,203,204,205,206,207", + "description": "ARISTA10T0:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp26", + "pfc_asym": "off", + "speed": "400000", + "fec": "none" + }, + "PORT|Ethernet204": { + "index": "51", + "lanes": "204,205,206,207", + "description": "etp52", + "mtu": "9100", + "alias": "etp52", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet208": { + "index": "27", + "lanes": "208,209,210,211,212,213,214,215", + "description": "ARISTA11T0:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp27", + "pfc_asym": "off", + "speed": "400000", + "fec": "none" + }, + "PORT|Ethernet212": { + "index": "53", + "lanes": "212,213", + "description": "etp54a", + "mtu": "9100", + "alias": "etp54a", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet214": { + "index": "53", + "lanes": "214,215", + "description": "etp54b", + "mtu": "9100", + "alias": "etp54b", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet216": { + "index": "28", + "lanes": "216,217,218,219,220,221,222,223", + "description": "ARISTA12T0:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp28", + "pfc_asym": "off", + "speed": "400000", + "fec": "none" + }, + "PORT|Ethernet220": { + "index": "55", + "lanes": "220,221,222,223", + "description": "etp56", + "mtu": "9100", + "alias": "etp56", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet224": { + "index": "29", + "lanes": "224,225,226,227,228,229,230,231", + "description": "ARISTA13T0:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp29", + "pfc_asym": "off", + "speed": "400000", + "fec": "none" + }, + "PORT|Ethernet228": { + "index": "57", + "lanes": "228,229", + "description": "etp58a", + "mtu": "9100", + "alias": "etp58a", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet230": { + "index": "57", + "lanes": "230,231", + "description": "etp58b", + "mtu": "9100", + "alias": "etp58b", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet232": { + "index": "30", + "lanes": "232,233,234,235,236,237,238,239", + "description": "ARISTA14T0:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp30", + "pfc_asym": "off", + "speed": "400000", + "fec": "none" + }, + "PORT|Ethernet236": { + "index": "59", + "lanes": "236,237,238,239", + "description": "etp60", + "mtu": "9100", + "alias": "etp60", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet240": { + "index": "31", + "lanes": "240,241,242,243,244,245,246,247", + "description": "ARISTA15T0:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp31", + "pfc_asym": "off", + "speed": "100000", + "fec": "rs" + }, + "PORT|Ethernet244": { + "index": "61", + "lanes": "244,245", + "description": "etp62a", + "mtu": "9100", + "alias": "etp62a", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet246": { + "index": "61", + "lanes": "246,247", + "description": "etp62b", + "mtu": "9100", + "alias": "etp62b", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet248": { + "index": "32", + "lanes": "248,249,250,251,252,253,254,255", + "description": "ARISTA16T0:Ethernet1", + "mtu": "9100", + "alias": "etp32", + "pfc_asym": "off", + "speed": "400000", + "fec": "rs" + }, + "PORT|Ethernet252": { + "index": "63", + "lanes": "252,253,254,255", + "description": "etp64", + "mtu": "9100", + "alias": "etp64", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "VERSIONS|DATABASE": { + "VERSION": "version_2_0_4" + } +} diff --git a/tests/db_migrator_input/config_db/reclaiming-buffer-warmreboot-input.json b/tests/db_migrator_input/config_db/reclaiming-buffer-warmreboot-input.json new file mode 100644 index 000000000000..e8a44eb4eded --- /dev/null +++ b/tests/db_migrator_input/config_db/reclaiming-buffer-warmreboot-input.json @@ -0,0 +1,2138 @@ +{ + "BUFFER_PG|Ethernet0|0": { + "profile": "[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PG|Ethernet0|3-4": { + "profile": "[BUFFER_PROFILE|pg_lossless_10000_300m_profile]" + }, + "BUFFER_PG|Ethernet8|0": { + "profile": "[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PG|Ethernet8|3-4": { + "profile": "[BUFFER_PROFILE|pg_lossless_25000_300m_profile]" + }, + "BUFFER_PG|Ethernet16|0": { + "profile": "[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PG|Ethernet16|3-4": { + "profile": "[BUFFER_PROFILE|pg_lossless_50000_300m_profile]" + }, + "BUFFER_PG|Ethernet24|0": { + "profile": "[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PG|Ethernet24|3-4": { + "profile": "[BUFFER_PROFILE|pg_lossless_40000_300m_profile]" + }, + "BUFFER_PG|Ethernet32|0": { + "profile": "[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PG|Ethernet32|3-4": { + "profile": "[BUFFER_PROFILE|pg_lossless_100000_300m_profile]" + }, + "BUFFER_PG|Ethernet40|0": { + "profile": "[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PG|Ethernet40|3-4": { + "profile": "[BUFFER_PROFILE|pg_lossless_200000_300m_profile]" + }, + "BUFFER_PG|Ethernet48|0": { + "profile": "[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PG|Ethernet48|3-4": { + "profile": "[BUFFER_PROFILE|pg_lossless_100000_300m_profile]" + }, + "BUFFER_PG|Ethernet56|0": { + "profile": "[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PG|Ethernet56|3-4": { + "profile": "[BUFFER_PROFILE|pg_lossless_100000_300m_profile]" + }, + "BUFFER_PG|Ethernet64|0": { + "profile": "[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PG|Ethernet64|3-4": { + "profile": "[BUFFER_PROFILE|pg_lossless_100000_300m_profile]" + }, + "BUFFER_PG|Ethernet72|0": { + "profile": "[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PG|Ethernet72|3-4": { + "profile": "[BUFFER_PROFILE|pg_lossless_100000_300m_profile]" + }, + "BUFFER_PG|Ethernet80|0": { + "profile": "[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PG|Ethernet80|3-4": { + "profile": "[BUFFER_PROFILE|pg_lossless_100000_300m_profile]" + }, + "BUFFER_PG|Ethernet88|0": { + "profile": "[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PG|Ethernet88|3-4": { + "profile": "[BUFFER_PROFILE|pg_lossless_100000_300m_profile]" + }, + "BUFFER_PG|Ethernet96|0": { + "profile": "[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PG|Ethernet96|3-4": { + "profile": "[BUFFER_PROFILE|pg_lossless_100000_300m_profile]" + }, + "BUFFER_PG|Ethernet104|0": { + "profile": "[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PG|Ethernet104|3-4": { + "profile": "[BUFFER_PROFILE|pg_lossless_100000_300m_profile]" + }, + "BUFFER_PG|Ethernet112|0": { + "profile": "[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PG|Ethernet112|3-4": { + "profile": "[BUFFER_PROFILE|pg_lossless_100000_300m_profile]" + }, + "BUFFER_PG|Ethernet120|0": { + "profile": "[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PG|Ethernet120|3-4": { + "profile": "[BUFFER_PROFILE|pg_lossless_100000_300m_profile]" + }, + "BUFFER_PG|Ethernet128|0": { + "profile": "[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PG|Ethernet128|3-4": { + "profile": "[BUFFER_PROFILE|pg_lossless_10000_40m_profile]" + }, + "BUFFER_PG|Ethernet136|0": { + "profile": "[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PG|Ethernet136|3-4": { + "profile": "[BUFFER_PROFILE|pg_lossless_25000_40m_profile]" + }, + "BUFFER_PG|Ethernet144|0": { + "profile": "[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PG|Ethernet144|3-4": { + "profile": "[BUFFER_PROFILE|pg_lossless_40000_40m_profile]" + }, + "BUFFER_PG|Ethernet152|0": { + "profile": "[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PG|Ethernet152|3-4": { + "profile": "[BUFFER_PROFILE|pg_lossless_50000_40m_profile]" + }, + "BUFFER_PG|Ethernet160|0": { + "profile": "[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PG|Ethernet160|3-4": { + "profile": "[BUFFER_PROFILE|pg_lossless_100000_40m_profile]" + }, + "BUFFER_PG|Ethernet168|0": { + "profile": "[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PG|Ethernet168|3-4": { + "profile": "[BUFFER_PROFILE|pg_lossless_200000_40m_profile]" + }, + "BUFFER_PG|Ethernet176|0": { + "profile": "[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PG|Ethernet176|3-4": { + "profile": "[BUFFER_PROFILE|pg_lossless_400000_40m_profile]" + }, + "BUFFER_PG|Ethernet184|0": { + "profile": "[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PG|Ethernet184|3-4": { + "profile": "[BUFFER_PROFILE|pg_lossless_400000_40m_profile]" + }, + "BUFFER_PG|Ethernet192|0": { + "profile": "[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PG|Ethernet192|3-4": { + "profile": "[BUFFER_PROFILE|pg_lossless_400000_40m_profile]" + }, + "BUFFER_PG|Ethernet200|0": { + "profile": "[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PG|Ethernet200|3-4": { + "profile": "[BUFFER_PROFILE|pg_lossless_400000_40m_profile]" + }, + "BUFFER_PG|Ethernet208|0": { + "profile": "[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PG|Ethernet208|3-4": { + "profile": "[BUFFER_PROFILE|pg_lossless_400000_40m_profile]" + }, + "BUFFER_PG|Ethernet216|0": { + "profile": "[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PG|Ethernet216|3-4": { + "profile": "[BUFFER_PROFILE|pg_lossless_400000_40m_profile]" + }, + "BUFFER_PG|Ethernet224|0": { + "profile": "[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PG|Ethernet224|3-4": { + "profile": "[BUFFER_PROFILE|pg_lossless_400000_40m_profile]" + }, + "BUFFER_PG|Ethernet232|0": { + "profile": "[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PG|Ethernet232|3-4": { + "profile": "[BUFFER_PROFILE|pg_lossless_400000_40m_profile]" + }, + "BUFFER_PG|Ethernet240|0": { + "profile": "[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PG|Ethernet240|3-4": { + "profile": "[BUFFER_PROFILE|pg_lossless_100000_40m_profile]" + }, + "BUFFER_PG|Ethernet248|3-4": { + "profile": "[BUFFER_PROFILE|pg_lossless_400000_300m_profile]" + }, + "BUFFER_POOL|egress_lossless_pool": { + "type": "egress", + "mode": "dynamic", + "size": "60817392" + }, + "BUFFER_POOL|egress_lossy_pool": { + "type": "egress", + "mode": "dynamic", + "size": "20627456" + }, + "BUFFER_POOL|ingress_lossless_pool": { + "type": "ingress", + "mode": "dynamic", + "size": "20627456" + }, + "BUFFER_POOL|ingress_lossy_pool": { + "type": "ingress", + "mode": "dynamic", + "size": "20627456" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet0": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet2": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet4": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet6": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet8": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet10": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet12": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet16": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet18": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet20": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet22": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet24": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet26": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet28": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet32": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet34": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet36": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet38": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet40": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet42": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet44": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet48": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet50": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet52": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet54": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet56": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet58": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet60": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet64": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet65": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet66": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet67": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet68": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet70": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet72": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet76": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet80": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet82": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet84": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet88": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet92": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet96": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet100": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet104": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet108": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet112": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet116": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet120": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet124": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet128": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet136": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet144": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet152": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet160": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet168": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet176": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet184": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet192": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet200": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet208": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet216": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet224": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet232": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet240": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_EGRESS_PROFILE_LIST|Ethernet248": { + "profile_list": "[BUFFER_PROFILE|egress_lossless_profile],[BUFFER_PROFILE|egress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet0": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet2": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet4": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet6": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet8": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet10": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet12": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet16": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet18": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet20": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet22": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet24": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet26": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet28": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet32": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet34": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet36": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet38": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet40": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet42": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet44": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet48": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet50": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet52": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet54": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet56": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet58": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet60": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet64": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet65": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet66": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet67": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet68": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet70": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet72": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet76": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet80": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet82": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet84": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet88": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet92": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet96": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet100": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet104": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet108": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet112": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet116": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet120": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet124": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet128": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet136": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet144": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet152": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet160": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet168": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet176": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet184": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet192": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet200": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet208": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet216": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet224": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet232": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet240": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PORT_INGRESS_PROFILE_LIST|Ethernet248": { + "profile_list": "[BUFFER_PROFILE|ingress_lossless_profile],[BUFFER_PROFILE|ingress_lossy_profile]" + }, + "BUFFER_PROFILE|egress_lossless_profile": { + "dynamic_th": "7", + "pool": "[BUFFER_POOL|egress_lossless_pool]", + "size": "0" + }, + "BUFFER_PROFILE|egress_lossy_profile": { + "dynamic_th": "7", + "pool": "[BUFFER_POOL|egress_lossy_pool]", + "size": "9216" + }, + "BUFFER_PROFILE|ingress_lossless_profile": { + "dynamic_th": "7", + "pool": "[BUFFER_POOL|ingress_lossless_pool]", + "size": "0" + }, + "BUFFER_PROFILE|ingress_lossy_profile": { + "dynamic_th": "3", + "pool": "[BUFFER_POOL|ingress_lossy_pool]", + "size": "0" + }, + "BUFFER_PROFILE|pg_lossless_10000_40m_profile": { + "xon": "19456", + "dynamic_th": "0", + "xoff": "33792", + "pool": "[BUFFER_POOL|ingress_lossless_pool]", + "size": "53248" + }, + "BUFFER_PROFILE|pg_lossless_10000_300m_profile": { + "xon": "19456", + "dynamic_th": "0", + "xoff": "40960", + "pool": "[BUFFER_POOL|ingress_lossless_pool]", + "size": "60416" + }, + "BUFFER_PROFILE|pg_lossless_25000_40m_profile": { + "xon": "19456", + "dynamic_th": "0", + "xoff": "35840", + "pool": "[BUFFER_POOL|ingress_lossless_pool]", + "size": "55296" + }, + "BUFFER_PROFILE|pg_lossless_25000_300m_profile": { + "xon": "19456", + "dynamic_th": "0", + "xoff": "54272", + "pool": "[BUFFER_POOL|ingress_lossless_pool]", + "size": "73728" + }, + "BUFFER_PROFILE|pg_lossless_40000_40m_profile": { + "xon": "19456", + "dynamic_th": "0", + "xoff": "37888", + "pool": "[BUFFER_POOL|ingress_lossless_pool]", + "size": "57344" + }, + "BUFFER_PROFILE|pg_lossless_40000_300m_profile": { + "xon": "19456", + "dynamic_th": "0", + "xoff": "66560", + "pool": "[BUFFER_POOL|ingress_lossless_pool]", + "size": "86016" + }, + "BUFFER_PROFILE|pg_lossless_50000_40m_profile": { + "xon": "19456", + "dynamic_th": "0", + "xoff": "38912", + "pool": "[BUFFER_POOL|ingress_lossless_pool]", + "size": "58368" + }, + "BUFFER_PROFILE|pg_lossless_50000_300m_profile": { + "xon": "19456", + "dynamic_th": "0", + "xoff": "75776", + "pool": "[BUFFER_POOL|ingress_lossless_pool]", + "size": "95232" + }, + "BUFFER_PROFILE|pg_lossless_100000_40m_profile": { + "xon": "19456", + "dynamic_th": "0", + "xoff": "44032", + "pool": "[BUFFER_POOL|ingress_lossless_pool]", + "size": "63488" + }, + "BUFFER_PROFILE|pg_lossless_100000_300m_profile": { + "xon": "19456", + "dynamic_th": "0", + "xoff": "117760", + "pool": "[BUFFER_POOL|ingress_lossless_pool]", + "size": "137216" + }, + "BUFFER_PROFILE|pg_lossless_200000_40m_profile": { + "xon": "19456", + "dynamic_th": "0", + "xoff": "55296", + "pool": "[BUFFER_POOL|ingress_lossless_pool]", + "size": "74752" + }, + "BUFFER_PROFILE|pg_lossless_200000_300m_profile": { + "xon": "19456", + "dynamic_th": "0", + "xoff": "203776", + "pool": "[BUFFER_POOL|ingress_lossless_pool]", + "size": "223232" + }, + "BUFFER_PROFILE|pg_lossless_400000_40m_profile": { + "xon": "37888", + "dynamic_th": "0", + "xoff": "77824", + "pool": "[BUFFER_POOL|ingress_lossless_pool]", + "size": "124928" + }, + "BUFFER_PROFILE|pg_lossless_400000_300m_profile": { + "xon": "37888", + "dynamic_th": "0", + "xoff": "373760", + "pool": "[BUFFER_POOL|ingress_lossless_pool]", + "size": "420864" + }, + "BUFFER_PROFILE|q_lossy_profile": { + "dynamic_th": "3", + "pool": "[BUFFER_POOL|egress_lossy_pool]", + "size": "0" + }, + "BUFFER_QUEUE|Ethernet0|0-2": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet0|3-4": { + "profile": "[BUFFER_PROFILE|egress_lossless_profile]" + }, + "BUFFER_QUEUE|Ethernet0|5-6": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet8|0-2": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet8|3-4": { + "profile": "[BUFFER_PROFILE|egress_lossless_profile]" + }, + "BUFFER_QUEUE|Ethernet8|5-6": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet16|0-2": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet16|3-4": { + "profile": "[BUFFER_PROFILE|egress_lossless_profile]" + }, + "BUFFER_QUEUE|Ethernet16|5-6": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet24|0-2": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet24|3-4": { + "profile": "[BUFFER_PROFILE|egress_lossless_profile]" + }, + "BUFFER_QUEUE|Ethernet24|5-6": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet32|0-2": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet32|3-4": { + "profile": "[BUFFER_PROFILE|egress_lossless_profile]" + }, + "BUFFER_QUEUE|Ethernet32|5-6": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet40|0-2": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet40|3-4": { + "profile": "[BUFFER_PROFILE|egress_lossless_profile]" + }, + "BUFFER_QUEUE|Ethernet40|5-6": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet48|0-2": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet48|3-4": { + "profile": "[BUFFER_PROFILE|egress_lossless_profile]" + }, + "BUFFER_QUEUE|Ethernet48|5-6": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet56|0-2": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet56|3-4": { + "profile": "[BUFFER_PROFILE|egress_lossless_profile]" + }, + "BUFFER_QUEUE|Ethernet56|5-6": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet64|0-2": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet64|3-4": { + "profile": "[BUFFER_PROFILE|egress_lossless_profile]" + }, + "BUFFER_QUEUE|Ethernet64|5-6": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet72|0-2": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet72|3-4": { + "profile": "[BUFFER_PROFILE|egress_lossless_profile]" + }, + "BUFFER_QUEUE|Ethernet72|5-6": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet80|0-2": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet80|3-4": { + "profile": "[BUFFER_PROFILE|egress_lossless_profile]" + }, + "BUFFER_QUEUE|Ethernet80|5-6": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet88|0-2": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet88|3-4": { + "profile": "[BUFFER_PROFILE|egress_lossless_profile]" + }, + "BUFFER_QUEUE|Ethernet88|5-6": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet96|0-2": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet96|3-4": { + "profile": "[BUFFER_PROFILE|egress_lossless_profile]" + }, + "BUFFER_QUEUE|Ethernet96|5-6": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet104|0-2": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet104|3-4": { + "profile": "[BUFFER_PROFILE|egress_lossless_profile]" + }, + "BUFFER_QUEUE|Ethernet104|5-6": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet112|0-2": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet112|3-4": { + "profile": "[BUFFER_PROFILE|egress_lossless_profile]" + }, + "BUFFER_QUEUE|Ethernet112|5-6": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet120|0-2": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet120|3-4": { + "profile": "[BUFFER_PROFILE|egress_lossless_profile]" + }, + "BUFFER_QUEUE|Ethernet120|5-6": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet128|0-2": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet128|3-4": { + "profile": "[BUFFER_PROFILE|egress_lossless_profile]" + }, + "BUFFER_QUEUE|Ethernet128|5-6": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet136|0-2": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet136|3-4": { + "profile": "[BUFFER_PROFILE|egress_lossless_profile]" + }, + "BUFFER_QUEUE|Ethernet136|5-6": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet144|0-2": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet144|3-4": { + "profile": "[BUFFER_PROFILE|egress_lossless_profile]" + }, + "BUFFER_QUEUE|Ethernet144|5-6": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet152|0-2": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet152|3-4": { + "profile": "[BUFFER_PROFILE|egress_lossless_profile]" + }, + "BUFFER_QUEUE|Ethernet152|5-6": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet160|0-2": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet160|3-4": { + "profile": "[BUFFER_PROFILE|egress_lossless_profile]" + }, + "BUFFER_QUEUE|Ethernet160|5-6": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet168|0-2": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet168|3-4": { + "profile": "[BUFFER_PROFILE|egress_lossless_profile]" + }, + "BUFFER_QUEUE|Ethernet168|5-6": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet176|0-2": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet176|3-4": { + "profile": "[BUFFER_PROFILE|egress_lossless_profile]" + }, + "BUFFER_QUEUE|Ethernet176|5-6": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet184|0-2": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet184|3-4": { + "profile": "[BUFFER_PROFILE|egress_lossless_profile]" + }, + "BUFFER_QUEUE|Ethernet184|5-6": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet192|0-2": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet192|3-4": { + "profile": "[BUFFER_PROFILE|egress_lossless_profile]" + }, + "BUFFER_QUEUE|Ethernet192|5-6": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet200|0-2": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet200|3-4": { + "profile": "[BUFFER_PROFILE|egress_lossless_profile]" + }, + "BUFFER_QUEUE|Ethernet200|5-6": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet208|0-2": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet208|3-4": { + "profile": "[BUFFER_PROFILE|egress_lossless_profile]" + }, + "BUFFER_QUEUE|Ethernet208|5-6": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet216|0-2": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet216|3-4": { + "profile": "[BUFFER_PROFILE|egress_lossless_profile]" + }, + "BUFFER_QUEUE|Ethernet216|5-6": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet224|0-2": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet224|3-4": { + "profile": "[BUFFER_PROFILE|egress_lossless_profile]" + }, + "BUFFER_QUEUE|Ethernet224|5-6": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet232|0-2": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet232|3-4": { + "profile": "[BUFFER_PROFILE|egress_lossless_profile]" + }, + "BUFFER_QUEUE|Ethernet232|5-6": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet240|0-2": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet240|3-4": { + "profile": "[BUFFER_PROFILE|egress_lossless_profile]" + }, + "BUFFER_QUEUE|Ethernet240|5-6": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet248|0-2": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "BUFFER_QUEUE|Ethernet248|3-4": { + "profile": "[BUFFER_PROFILE|egress_lossless_profile]" + }, + "BUFFER_QUEUE|Ethernet248|5-6": { + "profile": "[BUFFER_PROFILE|q_lossy_profile]" + }, + "CABLE_LENGTH|AZURE": { + "Ethernet8": "300m", + "Ethernet184": "40m", + "Ethernet0": "300m", + "Ethernet248": "300m", + "Ethernet104": "300m", + "Ethernet240": "40m", + "Ethernet200": "40m", + "Ethernet168": "40m", + "Ethernet120": "300m", + "Ethernet144": "40m", + "Ethernet208": "40m", + "Ethernet160": "40m", + "Ethernet224": "40m", + "Ethernet56": "300m", + "Ethernet128": "40m", + "Ethernet72": "300m", + "Ethernet32": "300m", + "Ethernet16": "300m", + "Ethernet192": "40m", + "Ethernet96": "300m", + "Ethernet88": "300m", + "Ethernet80": "300m", + "Ethernet112": "300m", + "Ethernet152": "40m", + "Ethernet136": "40m", + "Ethernet48": "300m", + "Ethernet232": "40m", + "Ethernet216": "40m", + "Ethernet176": "40m", + "Ethernet40": "300m", + "Ethernet64": "300m", + "Ethernet24": "300m" + }, + "DEVICE_METADATA|localhost": { + "hwsku": "ACS-MSN4700", + "default_bgp_status": "up", + "type": "LeafRouter", + "region": "None", + "hostname": "sonic", + "platform": "x86_64-mlnx_msn4700-r0", + "mac": "00:01:02:03:04:00", + "default_pfcwd_status": "disable", + "bgp_asn": "65100", + "deployment_id": "1", + "docker_routing_config_mode": "separated", + "cloudtype": "None" + }, + "PORT|Ethernet0": { + "index": "1", + "lanes": "0,1,2,3,4,5,6,7", + "description": "ARISTA01T2:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp1", + "pfc_asym": "off", + "speed": "10000", + "fec": "rs" + }, + "PORT|Ethernet2": { + "index": "0", + "lanes": "2,3", + "description": "ARISTA01T2:Ethernet2", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp1b", + "admin_status": "up", + "speed": "25000", + "fec": "none" + }, + "PORT|Ethernet4": { + "index": "2", + "lanes": "4,5,6,7", + "description": "Servers0:eth0", + "admin_status": "up", + "mtu": "9100", + "alias": "etp2", + "pfc_asym": "off", + "speed": "25000", + "fec": "rs" + }, + "PORT|Ethernet6": { + "index": "1", + "lanes": "6,7", + "description": "ARISTA03T2:Ethernet2", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp2b", + "admin_status": "up", + "speed": "40000", + "fec": "none" + }, + "PORT|Ethernet8": { + "index": "2", + "lanes": "8,9,10,11,12,13,14,15", + "description": "ARISTA01T2:Ethernet2", + "admin_status": "up", + "mtu": "9100", + "alias": "etp2", + "pfc_asym": "off", + "speed": "25000", + "fec": "rs" + }, + "PORT|Ethernet10": { + "index": "2", + "lanes": "10,11", + "description": "ARISTA05T2:Ethernet2", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp3b", + "admin_status": "up", + "speed": "50000", + "fec": "none" + }, + "PORT|Ethernet12": { + "index": "4", + "lanes": "12,13,14,15", + "description": "Servers2:eth0", + "admin_status": "up", + "mtu": "9100", + "alias": "etp4", + "pfc_asym": "off", + "speed": "40000", + "fec": "rs" + }, + "PORT|Ethernet16": { + "index": "3", + "lanes": "16,17,18,19,20,21,22,23", + "description": "ARISTA03T2:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp3", + "pfc_asym": "off", + "speed": "50000", + "fec": "rs" + }, + "PORT|Ethernet18": { + "index": "4", + "lanes": "18,19", + "description": "ARISTA09T2:Ethernet1", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp5b", + "admin_status": "up", + "speed": "50000", + "fec": "none" + }, + "PORT|Ethernet20": { + "index": "6", + "lanes": "20,21,22,23", + "description": "Servers4:eth0", + "admin_status": "up", + "mtu": "9100", + "alias": "etp6", + "pfc_asym": "off", + "speed": "200000", + "fec": "rs" + }, + "PORT|Ethernet22": { + "index": "5", + "lanes": "22,23", + "description": "ARISTA11T2:Ethernet1", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp6b", + "admin_status": "up", + "speed": "50000", + "fec": "none" + }, + "PORT|Ethernet24": { + "index": "4", + "lanes": "24,25,26,27,28,29,30,31", + "description": "ARISTA03T2:Ethernet2", + "admin_status": "up", + "mtu": "9100", + "alias": "etp4", + "pfc_asym": "off", + "speed": "40000", + "fec": "rs" + }, + "PORT|Ethernet26": { + "index": "6", + "lanes": "26,27", + "description": "ARISTA13T2:Ethernet1", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp7b", + "admin_status": "up", + "speed": "50000", + "fec": "none" + }, + "PORT|Ethernet28": { + "index": "8", + "lanes": "28,29,30,31", + "description": "Servers6:eth0", + "admin_status": "up", + "mtu": "9100", + "alias": "etp8", + "pfc_asym": "off", + "speed": "100000", + "fec": "rs" + }, + "PORT|Ethernet32": { + "index": "5", + "lanes": "32,33,34,35,36,37,38,39", + "description": "ARISTA05T2:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp5", + "pfc_asym": "off", + "speed": "100000", + "fec": "rs" + }, + "PORT|Ethernet34": { + "index": "8", + "lanes": "34,35", + "description": "ARISTA15T2:Ethernet2", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp9b", + "admin_status": "up", + "speed": "50000", + "fec": "none" + }, + "PORT|Ethernet36": { + "index": "10", + "lanes": "36,37,38,39", + "description": "Servers8:eth0", + "admin_status": "up", + "mtu": "9100", + "alias": "etp10", + "pfc_asym": "off", + "speed": "100000", + "fec": "rs" + }, + "PORT|Ethernet38": { + "index": "9", + "lanes": "38,39", + "description": "ARISTA02T0:Ethernet1", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp10b", + "admin_status": "up", + "speed": "25000", + "fec": "none" + }, + "PORT|Ethernet40": { + "index": "6", + "lanes": "40,41,42,43,44,45,46,47", + "description": "ARISTA05T2:Ethernet2", + "admin_status": "up", + "mtu": "9100", + "alias": "etp6", + "pfc_asym": "off", + "speed": "200000", + "fec": "rs" + }, + "PORT|Ethernet42": { + "index": "10", + "lanes": "42,43", + "description": "ARISTA04T0:Ethernet1", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp11b", + "admin_status": "up", + "speed": "50000", + "fec": "none" + }, + "PORT|Ethernet44": { + "index": "12", + "lanes": "44,45,46,47", + "description": "Servers10:eth0", + "admin_status": "up", + "mtu": "9100", + "alias": "etp12", + "pfc_asym": "off", + "speed": "100000", + "fec": "rs" + }, + "PORT|Ethernet48": { + "index": "7", + "lanes": "48,49,50,51,52,53,54,55", + "description": "ARISTA07T2:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp7", + "pfc_asym": "off", + "speed": "100000", + "fec": "rs" + }, + "PORT|Ethernet50": { + "index": "12", + "lanes": "50,51", + "description": "ARISTA07T0:Ethernet1", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp13b", + "admin_status": "up", + "speed": "50000", + "fec": "none" + }, + "PORT|Ethernet52": { + "index": "14", + "lanes": "52,53,54,55", + "description": "Servers12:eth0", + "admin_status": "up", + "mtu": "9100", + "alias": "etp14", + "pfc_asym": "off", + "speed": "100000", + "fec": "rs" + }, + "PORT|Ethernet54": { + "index": "13", + "lanes": "54,55", + "description": "ARISTA09T0:Ethernet1", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp14b", + "admin_status": "up", + "speed": "50000", + "fec": "none" + }, + "PORT|Ethernet56": { + "index": "8", + "lanes": "56,57,58,59,60,61,62,63", + "description": "ARISTA07T2:Ethernet2", + "admin_status": "up", + "mtu": "9100", + "alias": "etp8", + "pfc_asym": "off", + "speed": "100000", + "fec": "rs" + }, + "PORT|Ethernet58": { + "index": "14", + "lanes": "58,59", + "description": "ARISTA11T0:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp15b", + "pfc_asym": "off", + "speed": "50000", + "fec": "none" + }, + "PORT|Ethernet60": { + "index": "16", + "lanes": "60,61,62,63", + "description": "Servers14:eth0", + "admin_status": "up", + "mtu": "9100", + "alias": "etp16", + "pfc_asym": "off", + "speed": "100000", + "fec": "rs" + }, + "PORT|Ethernet64": { + "index": "9", + "lanes": "64,65,66,67,68,69,70,71", + "description": "ARISTA09T2:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp9", + "pfc_asym": "off", + "speed": "100000", + "fec": "none" + }, + "PORT|Ethernet65": { + "index": "17", + "lanes": "65", + "description": "Servers16:eth0", + "admin_status": "up", + "mtu": "9100", + "alias": "etp17b", + "pfc_asym": "off", + "speed": "25000" + }, + "PORT|Ethernet66": { + "index": "17", + "lanes": "66", + "description": "Servers17:eth0", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp17c", + "admin_status": "up", + "speed": "25000", + "fec": "none" + }, + "PORT|Ethernet67": { + "index": "17", + "lanes": "67", + "description": "Servers18:eth0", + "admin_status": "up", + "mtu": "9100", + "alias": "etp17d", + "pfc_asym": "off", + "speed": "25000" + }, + "PORT|Ethernet68": { + "index": "17", + "lanes": "68,69", + "description": "ARISTA15T0:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp18a", + "pfc_asym": "off", + "speed": "50000", + "fec": "none" + }, + "PORT|Ethernet70": { + "index": "17", + "lanes": "70,71", + "description": "ARISTA16T0:Ethernet1", + "pfc_asym": "off", + "mtu": "9100", + "alias": "etp18b", + "admin_status": "up", + "speed": "50000", + "fec": "none" + }, + "PORT|Ethernet72": { + "index": "10", + "lanes": "72,73,74,75,76,77,78,79", + "description": "ARISTA09T2:Ethernet2", + "admin_status": "up", + "mtu": "9100", + "alias": "etp10", + "pfc_asym": "off", + "speed": "100000", + "fec": "none" + }, + "PORT|Ethernet74": { + "index": "18", + "lanes": "74,75", + "description": "etp19b", + "mtu": "9100", + "alias": "etp19b", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet76": { + "index": "19", + "lanes": "76,77,78,79", + "description": "etp20", + "admin_status": "up", + "mtu": "9100", + "alias": "etp20", + "pfc_asym": "off", + "speed": "50000", + "fec": "none" + }, + "PORT|Ethernet80": { + "index": "11", + "lanes": "80,81,82,83,84,85,86,87", + "description": "ARISTA11T2:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp11", + "pfc_asym": "off", + "speed": "100000", + "fec": "none" + }, + "PORT|Ethernet82": { + "index": "21", + "lanes": "82,83", + "description": "Servers20:eth0", + "admin_status": "up", + "mtu": "9100", + "alias": "etp21b", + "pfc_asym": "off", + "speed": "50000", + "fec": "none" + }, + "PORT|Ethernet84": { + "index": "21", + "lanes": "84,85", + "description": "etp22a", + "admin_status": "up", + "mtu": "9100", + "alias": "etp22a", + "pfc_asym": "off", + "speed": "50000", + "fec": "none" + }, + "PORT|Ethernet86": { + "index": "21", + "lanes": "86,87", + "description": "etp22b", + "mtu": "9100", + "alias": "etp22b", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet88": { + "index": "12", + "lanes": "88,89,90,91,92,93,94,95", + "description": "ARISTA11T2:Ethernet2", + "admin_status": "up", + "mtu": "9100", + "alias": "etp12", + "pfc_asym": "off", + "speed": "100000", + "fec": "rs" + }, + "PORT|Ethernet90": { + "index": "22", + "lanes": "90,91", + "description": "etp23b", + "mtu": "9100", + "alias": "etp23b", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet92": { + "index": "24", + "lanes": "92,93,94,95", + "description": "Servers22:eth0", + "admin_status": "up", + "mtu": "9100", + "alias": "etp24", + "pfc_asym": "off", + "speed": "100000", + "fec": "rs" + }, + "PORT|Ethernet96": { + "index": "13", + "lanes": "96,97,98,99,100,101,102,103", + "description": "ARISTA13T2:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp13", + "pfc_asym": "off", + "speed": "100000", + "fec": "rs" + }, + "PORT|Ethernet100": { + "index": "26", + "lanes": "100,101,102,103", + "description": "etp26", + "admin_status": "up", + "mtu": "9100", + "alias": "etp26", + "pfc_asym": "off", + "speed": "100000", + "fec": "rs" + }, + "PORT|Ethernet104": { + "index": "14", + "lanes": "104,105,106,107,108,109,110,111", + "description": "ARISTA13T2:Ethernet2", + "admin_status": "up", + "mtu": "9100", + "alias": "etp14", + "pfc_asym": "off", + "speed": "100000", + "fec": "rs" + }, + "PORT|Ethernet106": { + "index": "26", + "lanes": "106,107", + "description": "etp27b", + "mtu": "9100", + "alias": "etp27b", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet108": { + "index": "28", + "lanes": "108,109,110,111", + "description": "etp28", + "admin_status": "up", + "mtu": "9100", + "alias": "etp28", + "pfc_asym": "off", + "speed": "100000", + "fec": "rs" + }, + "PORT|Ethernet112": { + "index": "15", + "lanes": "112,113,114,115,116,117,118,119", + "description": "ARISTA15T2:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp15", + "pfc_asym": "off", + "speed": "100000", + "fec": "rs" + }, + "PORT|Ethernet116": { + "index": "30", + "lanes": "116,117,118,119", + "description": "ARISTA02T1:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp30", + "pfc_asym": "off", + "speed": "100000", + "fec": "rs" + }, + "PORT|Ethernet120": { + "index": "16", + "lanes": "120,121,122,123,124,125,126,127", + "description": "ARISTA15T2:Ethernet2", + "admin_status": "up", + "mtu": "9100", + "alias": "etp16", + "pfc_asym": "off", + "speed": "100000", + "fec": "none" + }, + "PORT|Ethernet122": { + "index": "30", + "lanes": "122,123", + "description": "etp31b", + "mtu": "9100", + "alias": "etp31b", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet124": { + "index": "32", + "lanes": "124,125,126,127", + "description": "ARISTA04T1:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp32", + "pfc_asym": "off", + "speed": "50000", + "fec": "none" + }, + "PORT|Ethernet128": { + "index": "17", + "lanes": "128,129,130,131,132,133,134,135", + "description": "ARISTA01T0:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp17", + "pfc_asym": "off", + "speed": "10000", + "fec": "rs" + }, + "PORT|Ethernet132": { + "index": "33", + "lanes": "132,133,134,135", + "description": "etp34", + "mtu": "9100", + "alias": "etp34", + "pfc_asym": "off", + "speed": "100000", + "fec": "rs", + "admin_status": "up" + }, + "PORT|Ethernet136": { + "index": "18", + "lanes": "136,137,138,139,140,141,142,143", + "description": "ARISTA02T0:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp18", + "pfc_asym": "off", + "speed": "25000", + "fec": "none" + }, + "PORT|Ethernet138": { + "index": "34", + "lanes": "138,139", + "description": "etp35b", + "mtu": "9100", + "alias": "etp35b", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet140": { + "index": "35", + "lanes": "140,141,142,143", + "description": "etp36", + "mtu": "9100", + "alias": "etp36", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet144": { + "index": "19", + "lanes": "144,145,146,147,148,149,150,151", + "description": "ARISTA03T0:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp19", + "pfc_asym": "off", + "speed": "40000", + "fec": "rs" + }, + "PORT|Ethernet148": { + "index": "37", + "lanes": "148,149,150,151", + "description": "etp38", + "mtu": "9100", + "alias": "etp38", + "pfc_asym": "off", + "speed": "100000", + "fec": "rs", + "admin_status": "up" + }, + "PORT|Ethernet152": { + "index": "20", + "lanes": "152,153,154,155,156,157,158,159", + "description": "ARISTA04T0:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp20", + "pfc_asym": "off", + "speed": "50000", + "fec": "none" + }, + "PORT|Ethernet154": { + "index": "38", + "lanes": "154,155", + "description": "etp39b", + "mtu": "9100", + "alias": "etp39b", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet156": { + "index": "39", + "lanes": "156,157,158,159", + "description": "etp40", + "mtu": "9100", + "alias": "etp40", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet160": { + "index": "21", + "lanes": "160,161,162,163,164,165,166,167", + "description": "ARISTA05T0:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp21", + "pfc_asym": "off", + "speed": "100000", + "fec": "none" + }, + "PORT|Ethernet162": { + "index": "40", + "lanes": "162,163", + "description": "etp41b", + "mtu": "9100", + "alias": "etp41b", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet164": { + "index": "41", + "lanes": "164,165", + "description": "etp42a", + "mtu": "9100", + "alias": "etp42a", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet166": { + "index": "41", + "lanes": "166,167", + "description": "etp42b", + "mtu": "9100", + "alias": "etp42b", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet168": { + "index": "22", + "lanes": "168,169,170,171,172,173,174,175", + "description": "ARISTA06T0:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp22", + "pfc_asym": "off", + "speed": "200000", + "fec": "none" + }, + "PORT|Ethernet170": { + "index": "42", + "lanes": "170,171", + "description": "etp43b", + "mtu": "9100", + "alias": "etp43b", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet172": { + "index": "43", + "lanes": "172,173,174,175", + "description": "etp44", + "mtu": "9100", + "alias": "etp44", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet176": { + "index": "23", + "lanes": "176,177,178,179,180,181,182,183", + "description": "ARISTA07T0:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp23", + "pfc_asym": "off", + "speed": "400000", + "fec": "none" + }, + "PORT|Ethernet178": { + "index": "44", + "lanes": "178,179", + "description": "etp45b", + "mtu": "9100", + "alias": "etp45b", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet180": { + "index": "45", + "lanes": "180,181", + "description": "etp46a", + "mtu": "9100", + "alias": "etp46a", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet182": { + "index": "45", + "lanes": "182,183", + "description": "etp46b", + "mtu": "9100", + "alias": "etp46b", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet184": { + "index": "24", + "lanes": "184,185,186,187,188,189,190,191", + "description": "ARISTA08T0:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp24", + "pfc_asym": "off", + "speed": "400000", + "fec": "none" + }, + "PORT|Ethernet186": { + "index": "46", + "lanes": "186,187", + "description": "etp47b", + "mtu": "9100", + "alias": "etp47b", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet188": { + "index": "47", + "lanes": "188,189,190,191", + "description": "etp48", + "mtu": "9100", + "alias": "etp48", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet192": { + "index": "25", + "lanes": "192,193,194,195,196,197,198,199", + "description": "ARISTA09T0:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp25", + "pfc_asym": "off", + "speed": "400000", + "fec": "none" + }, + "PORT|Ethernet196": { + "index": "49", + "lanes": "196,197", + "description": "etp50a", + "mtu": "9100", + "alias": "etp50a", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet198": { + "index": "49", + "lanes": "198,199", + "description": "etp50b", + "mtu": "9100", + "alias": "etp50b", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet200": { + "index": "26", + "lanes": "200,201,202,203,204,205,206,207", + "description": "ARISTA10T0:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp26", + "pfc_asym": "off", + "speed": "400000", + "fec": "none" + }, + "PORT|Ethernet204": { + "index": "51", + "lanes": "204,205,206,207", + "description": "etp52", + "mtu": "9100", + "alias": "etp52", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet208": { + "index": "27", + "lanes": "208,209,210,211,212,213,214,215", + "description": "ARISTA11T0:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp27", + "pfc_asym": "off", + "speed": "400000", + "fec": "none" + }, + "PORT|Ethernet212": { + "index": "53", + "lanes": "212,213", + "description": "etp54a", + "mtu": "9100", + "alias": "etp54a", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet214": { + "index": "53", + "lanes": "214,215", + "description": "etp54b", + "mtu": "9100", + "alias": "etp54b", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet216": { + "index": "28", + "lanes": "216,217,218,219,220,221,222,223", + "description": "ARISTA12T0:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp28", + "pfc_asym": "off", + "speed": "400000", + "fec": "none" + }, + "PORT|Ethernet220": { + "index": "55", + "lanes": "220,221,222,223", + "description": "etp56", + "mtu": "9100", + "alias": "etp56", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet224": { + "index": "29", + "lanes": "224,225,226,227,228,229,230,231", + "description": "ARISTA13T0:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp29", + "pfc_asym": "off", + "speed": "400000", + "fec": "none" + }, + "PORT|Ethernet228": { + "index": "57", + "lanes": "228,229", + "description": "etp58a", + "mtu": "9100", + "alias": "etp58a", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet230": { + "index": "57", + "lanes": "230,231", + "description": "etp58b", + "mtu": "9100", + "alias": "etp58b", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet232": { + "index": "30", + "lanes": "232,233,234,235,236,237,238,239", + "description": "ARISTA14T0:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp30", + "pfc_asym": "off", + "speed": "400000", + "fec": "none" + }, + "PORT|Ethernet236": { + "index": "59", + "lanes": "236,237,238,239", + "description": "etp60", + "mtu": "9100", + "alias": "etp60", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet240": { + "index": "31", + "lanes": "240,241,242,243,244,245,246,247", + "description": "ARISTA15T0:Ethernet1", + "admin_status": "up", + "mtu": "9100", + "alias": "etp31", + "pfc_asym": "off", + "speed": "100000", + "fec": "rs" + }, + "PORT|Ethernet244": { + "index": "61", + "lanes": "244,245", + "description": "etp62a", + "mtu": "9100", + "alias": "etp62a", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet246": { + "index": "61", + "lanes": "246,247", + "description": "etp62b", + "mtu": "9100", + "alias": "etp62b", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "PORT|Ethernet248": { + "index": "32", + "lanes": "248,249,250,251,252,253,254,255", + "description": "ARISTA16T0:Ethernet1", + "mtu": "9100", + "alias": "etp32", + "pfc_asym": "off", + "speed": "400000", + "fec": "rs" + }, + "PORT|Ethernet252": { + "index": "63", + "lanes": "252,253,254,255", + "description": "etp64", + "mtu": "9100", + "alias": "etp64", + "pfc_asym": "off", + "speed": "50000", + "fec": "none", + "admin_status": "up" + }, + "VERSIONS|DATABASE": { + "VERSION": "version_1_0_6" + } +} diff --git a/tests/db_migrator_test.py b/tests/db_migrator_test.py index a5973269dbb4..0cda3d37ac33 100644 --- a/tests/db_migrator_test.py +++ b/tests/db_migrator_test.py @@ -76,13 +76,16 @@ def clear_dedicated_mock_dbs(self): dbconnector.dedicated_dbs['STATE_DB'] = None dbconnector.dedicated_dbs['APPL_DB'] = None - def check_config_db(self, result, expected): - for table in self.config_db_tables_to_verify: + def check_config_db(self, result, expected, tables_to_verify=None): + if not tables_to_verify: + tables_to_verify = self.config_db_tables_to_verify + for table in tables_to_verify: assert result.get_table(table) == expected.get_table(table) def check_appl_db(self, result, expected): for table in self.appl_db_tables_to_verify: keys = expected.keys(expected.APPL_DB, table) + assert keys == result.keys(result.APPL_DB, table) if keys is None: continue for key in keys: @@ -196,6 +199,29 @@ def test_mellanox_buffer_migrator_negative_nondefault_for_warm_reboot(self): input_appl_db = 'non-default-input' self.mellanox_buffer_migrator_warm_reboot_runner(input_config_db, input_appl_db, expected_config_db, expected_appl_db, False) + @pytest.mark.parametrize('buffer_model', ['traditional', 'dynamic']) + @pytest.mark.parametrize('ingress_pools', ['double-pools', 'single-pool']) + def test_mellanox_buffer_reclaiming(self, buffer_model, ingress_pools): + device_info.get_sonic_version_info = get_sonic_version_info_mlnx + db_before_migrate = 'reclaiming-buffer-' + buffer_model + '-' + ingress_pools + '-input' + db_after_migrate = 'reclaiming-buffer-' + buffer_model + '-' + ingress_pools + '-expected' + + db = self.mock_dedicated_config_db(db_before_migrate) + import db_migrator + dbmgtr = db_migrator.DBMigrator(None) + dbmgtr.migrate() + expected_db = self.mock_dedicated_config_db(db_after_migrate) + advance_version_for_expected_database(dbmgtr.configDB, expected_db.cfgdb, 'version_2_0_3') + tables_to_verify = self.config_db_tables_to_verify + tables_to_verify.extend(['BUFFER_QUEUE', 'BUFFER_PORT_INGRESS_PROFILE_LIST', 'BUFFER_PORT_EGRESS_PROFILE_LIST']) + self.check_config_db(dbmgtr.configDB, expected_db.cfgdb, tables_to_verify) + + def test_mellanox_buffer_reclaiming_warm_reboot(self): + device_info.get_sonic_version_info = get_sonic_version_info_mlnx + input_db_name = 'reclaiming-buffer-warmreboot-input' + expected_db_name = 'reclaiming-buffer-warmreboot-expected' + self.mellanox_buffer_migrator_warm_reboot_runner(input_db_name, input_db_name, expected_db_name,expected_db_name, True) + class TestAutoNegMigrator(object): @classmethod