Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vs start.sh script fix #57

Merged
merged 1 commit into from
Mar 11, 2020

Conversation

samaity
Copy link
Collaborator

@samaity samaity commented Mar 6, 2020

Signed-off-by: Sangita Maity sangitamaity0211@gmail.com

- What I did
Vs docker is now compatible with platform.json file. It is the only port configuration file , the docker counts from now on.

- How to verify it

samaity@server09:~/REPO_FACTORY/GIT_REPO/DPB/sonic-buildimage/src/sonic-swss/tests$ sudo pytest -v --dvsname=vs-sang test_port_config.py
======================================================================= test session starts ========================================================================
platform linux2 -- Python 2.7.15+, pytest-4.6.9, py-1.8.1, pluggy-0.13.1 -- /usr/bin/python
cachedir: .pytest_cache
rootdir: /home/samaity/REPO_FACTORY/GIT_REPO/DPB/sonic-buildimage/src/sonic-swss/tests
plugins: repeat-0.8.0
collected 2 items

test_port_config.py::TestPortConfig::test_port_hw_lane PASSED                                                                                                [ 50%]
test_port_config.py::TestPortConfig::test_port_breakout PASSED                                                                                               [100%]

==================================================================== 2 passed in 70.61 seconds =====================================================================
samaity@server09:~/REPO_FACTORY/GIT_REPO/DPB/sonic-buildimage/src/sonic-swss/tests$ sudo pytest -v --dvsname=vs-sang test_acl.py
======================================================================= test session starts ========================================================================
platform linux2 -- Python 2.7.15+, pytest-4.6.9, py-1.8.1, pluggy-0.13.1 -- /usr/bin/python
cachedir: .pytest_cache
rootdir: /home/samaity/REPO_FACTORY/GIT_REPO/DPB/sonic-buildimage/src/sonic-swss/tests
plugins: repeat-0.8.0
collected 24 items

test_acl.py::TestAcl::test_AclTableCreation PASSED                                                                                                           [  4%]
test_acl.py::TestAcl::test_AclRuleL4SrcPort PASSED                                                                                                           [  8%]
test_acl.py::TestAcl::test_AclRuleInOutPorts PASSED                                                                                                          [ 12%]
test_acl.py::TestAcl::test_AclRuleInPortsNonExistingInterface PASSED                                                                                         [ 16%]
test_acl.py::TestAcl::test_AclRuleOutPortsNonExistingInterface PASSED                                                                                        [ 20%]
test_acl.py::TestAcl::test_AclTableDeletion PASSED                                                                                                           [ 25%]
test_acl.py::TestAcl::test_V6AclTableCreation PASSED                                                                                                         [ 29%]
test_acl.py::TestAcl::test_V6AclRuleIPv6Any PASSED                                                                                                           [ 33%]
test_acl.py::TestAcl::test_V6AclRuleIPv6AnyDrop PASSED                                                                                                       [ 37%]
test_acl.py::TestAcl::test_V6AclRuleIpProtocol PASSED                                                                                                        [ 41%]
test_acl.py::TestAcl::test_V6AclRuleSrcIPv6 PASSED                                                                                                           [ 45%]
test_acl.py::TestAcl::test_V6AclRuleDstIPv6 PASSED                                                                                                           [ 50%]
test_acl.py::TestAcl::test_V6AclRuleL4SrcPort PASSED                                                                                                         [ 54%]
test_acl.py::TestAcl::test_V6AclRuleL4DstPort PASSED                                                                                                         [ 58%]
test_acl.py::TestAcl::test_V6AclRuleTCPFlags PASSED                                                                                                          [ 62%]
test_acl.py::TestAcl::test_V6AclRuleL4SrcPortRange PASSED                                                                                                    [ 66%]
test_acl.py::TestAcl::test_V6AclRuleL4DstPortRange PASSED                                                                                                    [ 70%]
test_acl.py::TestAcl::test_V6AclTableDeletion PASSED                                                                                                         [ 75%]
test_acl.py::TestAcl::test_InsertAclRuleBetweenPriorities PASSED                                                                                             [ 79%]
test_acl.py::TestAcl::test_RulesWithDiffMaskLengths PASSED                                                                                                   [ 83%]
test_acl.py::TestAcl::test_AclRuleIcmp PASSED                                                                                                                [ 87%]
test_acl.py::TestAcl::test_AclRuleIcmpV6 PASSED                                                                                                              [ 91%]
test_acl.py::TestAcl::test_AclRuleRedirectToNexthop PASSED                                                                                                   [ 95%]
test_acl.py::TestAclRuleValidation::test_AclActionValidation PASSED                                                                                          [100%]

=================================================================== 24 passed in 220.83 seconds ========
samaity@server09:~/REPO_FACTORY/GIT_REPO/DPB/sonic-buildimage/src/sonic-swss/tests$ sudo pytest -v --dvsname=vs-sang test_vlan.py
[sudo] password for samaity:
================================================================================================================== test session starts ===================================================================================================================
platform linux2 -- Python 2.7.15+, pytest-4.6.9, py-1.8.1, pluggy-0.13.1 -- /usr/bin/python
cachedir: .pytest_cache
rootdir: /home/samaity/REPO_FACTORY/GIT_REPO/DPB/sonic-buildimage/src/sonic-swss/tests
plugins: repeat-0.8.0
collected 25 items

test_vlan.py::TestVlan::test_VlanAddRemove PASSED                                                                                                                                                                                                  [  4%]
test_vlan.py::TestVlan::test_MultipleVlan PASSED                                                                                                                                                                                                   [  8%]
test_vlan.py::TestVlan::test_VlanIncrementalConfig PASSED                                                                                                                                                                                          [ 12%]
test_vlan.py::TestVlan::test_AddVlanWithIncorrectKeyPrefix[test_input0-0] PASSED                                                                                                                                                                   [ 16%]
test_vlan.py::TestVlan::test_AddVlanWithIncorrectKeyPrefix[test_input1-0] PASSED                                                                                                                                                                   [ 20%]
test_vlan.py::TestVlan::test_AddVlanWithIncorrectKeyPrefix[test_input2-0] PASSED                                                                                                                                                                   [ 24%]
test_vlan.py::TestVlan::test_AddVlanWithIncorrectKeyPrefix[test_input3-1] PASSED                                                                                                                                                                   [ 28%]
test_vlan.py::TestVlan::test_AddVlanWithIncorrectValueType[test_input0-0] PASSED                                                                                                                                                                   [ 32%]
test_vlan.py::TestVlan::test_AddVlanWithIncorrectValueType[test_input1-0] PASSED                                                                                                                                                                   [ 36%]
test_vlan.py::TestVlan::test_AddVlanWithIncorrectValueType[test_input2-0] PASSED                                                                                                                                                                   [ 40%]
test_vlan.py::TestVlan::test_AddVlanWithIncorrectValueType[test_input3-1] PASSED                                                                                                                                                                   [ 44%]
test_vlan.py::TestVlan::test_AddPortChannelToVlan PASSED                                                                                                                                                                                           [ 48%]
test_vlan.py::TestVlan::test_AddVlanMemberWithNonExistVlan PASSED                                                                                                                                                                                  [ 52%]
test_vlan.py::TestVlan::test_RemoveNonexistentVlan PASSED                                                                                                                                                                                          [ 56%]
test_vlan.py::TestVlan::test_VlanMemberTaggingMode[test_input0-expected0] PASSED                                                                                                                                                                   [ 60%]
test_vlan.py::TestVlan::test_VlanMemberTaggingMode[test_input1-expected1] PASSED                                                                                                                                                                   [ 64%]
test_vlan.py::TestVlan::test_VlanMemberTaggingMode[test_input2-expected2] PASSED                                                                                                                                                                   [ 68%]
test_vlan.py::TestVlan::test_VlanMemberTaggingMode[test_input3-expected3] PASSED                                                                                                                                                                   [ 72%]
test_vlan.py::TestVlan::test_VlanMemberTaggingMode[test_input4-expected4] PASSED                                                                                                                                                                   [ 76%]
test_vlan.py::TestVlan::test_AddMaxVlan SKIPPED                                                                                                                                                                                                    [ 80%]
test_vlan.py::TestVlan::test_RemoveVlanWithRouterInterface PASSED                                                                                                                                                                                  [ 84%]
test_vlan.py::TestVlan::test_VlanDbData PASSED                                                                                                                                                                                                     [ 88%]
test_vlan.py::TestVlan::test_VlanMemberDbData[test_input0-expected0] PASSED                                                                                                                                                                        [ 92%]
test_vlan.py::TestVlan::test_VlanMemberDbData[test_input1-expected1] PASSED                                                                                                                                                                        [ 96%]
test_vlan.py::TestVlan::test_VlanMemberDbData[test_input2-expected2] PASSED                                                                                                                                                                        [100%]

========================================================================================================= 24 passed, 1 skipped in 140.83 seconds =========================================================================================================
samaity@server09:~/REPO_FACTORY/GIT_REPO/DPB/sonic-buildimage/src/sonic-swss/tests$
============================= test session starts ==============================
platform linux2 -- Python 2.7.15+, pytest-4.6.9, py-1.8.1, pluggy-0.13.1 -- /usr/bin/python
cachedir: .pytest_cache
rootdir: /home/samaity/REPO_FACTORY/GIT_REPO/DPB/sonic-buildimage/src/sonic-swss/tests
plugins: repeat-0.8.0
collecting ... collected 248 items

test_acl.py::TestAcl::test_AclTableCreation PASSED                       [  0%]
test_acl.py::TestAcl::test_AclRuleL4SrcPort PASSED                       [  0%]
test_acl.py::TestAcl::test_AclRuleInOutPorts PASSED                      [  1%]
test_acl.py::TestAcl::test_AclRuleInPortsNonExistingInterface PASSED     [  1%]
test_acl.py::TestAcl::test_AclRuleOutPortsNonExistingInterface PASSED    [  2%]
test_acl.py::TestAcl::test_AclTableDeletion PASSED                       [  2%]
test_acl.py::TestAcl::test_V6AclTableCreation PASSED                     [  2%]
test_acl.py::TestAcl::test_V6AclRuleIPv6Any PASSED                       [  3%]
test_acl.py::TestAcl::test_V6AclRuleIPv6AnyDrop PASSED                   [  3%]
test_acl.py::TestAcl::test_V6AclRuleIpProtocol PASSED                    [  4%]
test_acl.py::TestAcl::test_V6AclRuleSrcIPv6 PASSED                       [  4%]
test_acl.py::TestAcl::test_V6AclRuleDstIPv6 PASSED                       [  4%]
test_acl.py::TestAcl::test_V6AclRuleL4SrcPort PASSED                     [  5%]
test_acl.py::TestAcl::test_V6AclRuleL4DstPort PASSED                     [  5%]
test_acl.py::TestAcl::test_V6AclRuleTCPFlags PASSED                      [  6%]
test_acl.py::TestAcl::test_V6AclRuleL4SrcPortRange PASSED                [  6%]
test_acl.py::TestAcl::test_V6AclRuleL4DstPortRange PASSED                [  6%]
test_acl.py::TestAcl::test_V6AclTableDeletion PASSED                     [  7%]
test_acl.py::TestAcl::test_InsertAclRuleBetweenPriorities PASSED         [  7%]
test_acl.py::TestAcl::test_RulesWithDiffMaskLengths PASSED               [  8%]
test_acl.py::TestAcl::test_AclRuleIcmp PASSED                            [  8%]
test_acl.py::TestAcl::test_AclRuleIcmpV6 PASSED                          [  8%]
test_acl.py::TestAcl::test_AclRuleRedirectToNexthop PASSED               [  9%]
test_acl.py::TestAclRuleValidation::test_AclActionValidation PASSED      [  9%]
test_acl_ctrl.py::TestPortChannelAcl::test_AclCtrl PASSED                [ 10%]
test_acl_egress_table.py::TestEgressAclTable::test_EgressAclTableCreation PASSED [ 10%]
test_acl_egress_table.py::TestEgressAclTable::test_EgressAclRuleL4SrcPortRange PASSED [ 10%]
test_acl_egress_table.py::TestEgressAclTable::test_EgressAclRuleL4DstPortRange PASSED [ 11%]
test_acl_egress_table.py::TestEgressAclTable::test_EgressAclRuleL2EthType PASSED [ 11%]
test_acl_egress_table.py::TestEgressAclTable::test_EgressAclRuleTunnelVNI PASSED [ 12%]
test_acl_egress_table.py::TestEgressAclTable::test_EgressAclRuleTC PASSED [ 12%]
test_acl_egress_table.py::TestEgressAclTable::test_EgressAclInnerIPProtocol PASSED [ 12%]
test_acl_egress_table.py::TestEgressAclTable::test_EgressAclInnerEthType PASSED [ 13%]
test_acl_egress_table.py::TestEgressAclTable::test_EgressAclInnerL4SrcPort PASSED [ 13%]
test_acl_egress_table.py::TestEgressAclTable::test_EgressAclInnerL4DstPort PASSED [ 14%]
test_acl_egress_table.py::TestEgressAclTable::test_EgressAclTableDeletion PASSED [ 14%]
test_acl_portchannel.py::TestPortChannelAcl::test_PortChannelAfterAcl PASSED [ 14%]
test_acl_portchannel.py::TestPortChannelAcl::test_PortChannelBeforeAcl PASSED [ 15%]
test_acl_portchannel.py::TestPortChannelAcl::test_AclOnPortChannelMember PASSED [ 15%]
test_admin_status.py::TestAdminStatus::test_PortChannelMemberAdminStatus PASSED [ 16%]
test_crm.py::TestCrm::test_CrmFdbEntry PASSED                            [ 16%]
test_crm.py::TestCrm::test_CrmIpv4Route PASSED                           [ 16%]
test_crm.py::TestCrm::test_CrmIpv6Route PASSED                           [ 17%]
test_crm.py::TestCrm::test_CrmIpv4Nexthop PASSED                         [ 17%]
test_crm.py::TestCrm::test_CrmIpv6Nexthop PASSED                         [ 18%]
test_crm.py::TestCrm::test_CrmIpv4Neighbor PASSED                        [ 18%]
test_crm.py::TestCrm::test_CrmIpv6Neighbor PASSED                        [ 18%]
test_crm.py::TestCrm::test_CrmNexthopGroup PASSED                        [ 19%]
test_crm.py::TestCrm::test_CrmNexthopGroupMember PASSED                  [ 19%]
test_crm.py::TestCrm::test_CrmAcl PASSED                                 [ 20%]
test_crm.py::TestCrm::test_CrmAclGroup PASSED                            [ 20%]
test_crm.py::TestCrm::test_Configure PASSED                              [ 20%]
test_crm.py::TestCrm::test_Configure_ipv4_route PASSED                   [ 21%]
test_crm.py::TestCrm::test_Configure_ipv6_route PASSED                   [ 21%]
test_crm.py::TestCrm::test_Configure_ipv4_nexthop PASSED                 [ 22%]
test_crm.py::TestCrm::test_Configure_ipv6_nexthop PASSED                 [ 22%]
test_crm.py::TestCrm::test_Configure_ipv4_neighbor PASSED                [ 22%]
test_crm.py::TestCrm::test_Configure_ipv6_neighbor PASSED                [ 23%]
test_crm.py::TestCrm::test_Configure_group_member PASSED                 [ 23%]
test_crm.py::TestCrm::test_Configure_group_object PASSED                 [ 24%]
test_crm.py::TestCrm::test_Configure_acl_table PASSED                    [ 24%]
test_crm.py::TestCrm::test_Configure_acl_group PASSED                    [ 25%]
test_crm.py::TestCrm::test_Configure_acl_group_entry PASSED              [ 25%]
test_crm.py::TestCrm::test_Configure_acl_group_counter PASSED            [ 25%]
test_crm.py::TestCrm::test_Configure_fdb PASSED                          [ 26%]
test_dirbcast.py::TestDirectedBroadcast::test_DirectedBroadcast PASSED   [ 26%]
test_drop_counters.py::TestDropCounters::test_deviceCapabilitiesTablePopulated PASSED [ 27%]
test_drop_counters.py::TestDropCounters::test_flexCounterGroupInitialized PASSED [ 27%]
test_drop_counters.py::TestDropCounters::test_createAndRemoveDropCounterBasic PASSED [ 27%]
test_drop_counters.py::TestDropCounters::test_createAndRemoveDropCounterReversed PASSED [ 28%]
test_drop_counters.py::TestDropCounters::test_createCounterWithInvalidCounterType PASSED [ 28%]
test_drop_counters.py::TestDropCounters::test_createCounterWithInvalidDropReason PASSED [ 29%]
test_drop_counters.py::TestDropCounters::test_addReasonToInitializedCounter PASSED [ 29%]
test_drop_counters.py::TestDropCounters::test_removeReasonFromInitializedCounter PASSED [ 29%]
test_drop_counters.py::TestDropCounters::test_removeAllDropReasons PASSED [ 30%]
test_drop_counters.py::TestDropCounters::test_addDropReasonMultipleTimes PASSED [ 30%]
test_drop_counters.py::TestDropCounters::test_addInvalidDropReason PASSED [ 31%]
test_drop_counters.py::TestDropCounters::test_removeDropReasonMultipleTimes PASSED [ 31%]
test_drop_counters.py::TestDropCounters::test_removeNonexistentDropReason PASSED [ 31%]
test_drop_counters.py::TestDropCounters::test_removeInvalidDropReason PASSED [ 32%]
test_drop_counters.py::TestDropCounters::test_createAndDeleteMultipleCounters PASSED [ 32%]
test_dtel.py::TestDtel::test_DtelGlobalAttribs PASSED                    [ 33%]
test_dtel.py::TestDtel::test_DtelReportSessionAttribs PASSED             [ 33%]
test_dtel.py::TestDtel::test_DtelINTSessionAttribs PASSED                [ 33%]
test_dtel.py::TestDtel::test_DtelQueueReportAttribs PASSED               [ 34%]
test_dtel.py::TestDtel::test_DtelEventAttribs PASSED                     [ 34%]
test_fdb.py::TestFdb::test_FdbWarmRestartNotifications FAILED            [ 35%]
test_fdb.py::TestFdb::test_FdbAddedAfterMemberCreated PASSED             [ 35%]
test_fdb_update.py::test_FDBAddedAndUpdated PASSED                       [ 35%]
test_fdb_update.py::test_FDBLearnedAndUpdated PASSED                     [ 36%]
test_fdb_update.py::test_FDBLearnedAndFlushed PASSED                     [ 36%]
test_interface.py::TestRouterInterface::test_PortInterfaceAddRemoveIpv6Address PASSED [ 37%]
test_interface.py::TestRouterInterface::test_PortInterfaceAddRemoveIpv4Address PASSED [ 37%]
test_interface.py::TestRouterInterface::test_PortInterfaceSetMtu PASSED  [ 37%]
test_interface.py::TestRouterInterface::test_PortInterfaceAddRemoveIpv6AddressWithVrf PASSED [ 38%]
test_interface.py::TestRouterInterface::test_PortInterfaceAddRemoveIpv4AddressWithVrf PASSED [ 38%]
test_interface.py::TestRouterInterface::test_PortInterfaceAddSameIpv4AddressWithDiffVrf FAILED [ 39%]
test_interface.py::TestRouterInterface::test_LagInterfaceAddRemoveIpv6Address FAILED [ 39%]
test_interface.py::TestRouterInterface::test_LagInterfaceAddRemoveIpv4Address FAILED [ 39%]
test_interface.py::TestRouterInterface::test_LagInterfaceSetMtu FAILED   [ 40%]
test_interface.py::TestRouterInterface::test_LagInterfaceAddRemoveIpv6AddressWithVrf FAILED [ 40%]
test_interface.py::TestRouterInterface::test_LagInterfaceAddRemoveIpv4AddressWithVrf FAILED [ 41%]
test_interface.py::TestRouterInterface::test_VLanInterfaceAddRemoveIpv6Address FAILED [ 41%]
test_interface.py::TestRouterInterface::test_VLanInterfaceAddRemoveIpv4Address FAILED [ 41%]
test_interface.py::TestRouterInterface::test_VLanInterfaceAddRemoveIpv6AddressWithVrf FAILED [ 42%]
test_interface.py::TestRouterInterface::test_VLanInterfaceAddRemoveIpv4AddressWithVrf FAILED [ 42%]
test_interface.py::TestRouterInterface::test_LoopbackInterfacesAddRemoveIpv4Address PASSED [ 43%]
test_interface.py::TestRouterInterface::test_LoopbackInterfacesAddRemoveIpv6Address FAILED [ 43%]
test_interface.py::TestRouterInterface::test_LoopbackInterfaceIpv4AddressWithVrf FAILED [ 43%]
test_mirror.py::TestMirror::test_MirrorAddRemove PASSED                  [ 44%]
test_mirror.py::TestMirror::test_MirrorToVlanAddRemove PASSED            [ 44%]
test_mirror.py::TestMirror::test_MirrorToLagAddRemove PASSED             [ 45%]
test_mirror.py::TestMirror::test_MirrorDestMoveVlan PASSED               [ 45%]
test_mirror.py::TestMirror::test_MirrorDestMoveLag PASSED                [ 45%]
test_mirror.py::TestMirror::test_AclBindMirrorPerStage PASSED            [ 46%]
test_mirror.py::TestMirror::test_AclBindMirror PASSED                    [ 46%]
test_mirror_ipv6_combined.py::TestMirror::test_CombinedMirrorTableCreation FAILED [ 47%]
test_mirror_ipv6_combined.py::TestMirror::test_AclBindMirrorV6Combined FAILED [ 47%]
test_mirror_ipv6_combined.py::TestMirror::test_AclBindMirrorV6Reorder1 FAILED [ 47%]
test_mirror_ipv6_combined.py::TestMirror::test_AclBindMirrorV6Reorder2 FAILED [ 48%]
test_mirror_ipv6_combined.py::TestMirror::test_AclBindMirrorV6WrongConfig FAILED [ 48%]
test_mirror_ipv6_separate.py::TestMirror::test_MirrorTableCreation PASSED [ 49%]
test_mirror_ipv6_separate.py::TestMirror::test_MirrorV6TableCreation FAILED [ 49%]
test_mirror_ipv6_separate.py::TestMirror::test_AclBindMirrorSeparated FAILED [ 50%]
test_mirror_ipv6_separate.py::TestMirror::test_AclBindMirrorV6Reorder1 FAILED [ 50%]
test_mirror_ipv6_separate.py::TestMirror::test_AclBindMirrorV6Reorder2 FAILED [ 50%]
test_mirror_ipv6_separate.py::TestMirror::test_AclBindMirrorV6WrongConfig FAILED [ 51%]
test_mirror_policer.py::TestMirror::test_MirrorPolicer PASSED            [ 51%]
test_mirror_policer.py::TestMirror::test_MirrorPolicerWithAcl PASSED     [ 52%]
test_nat.py::TestNatFeature::test_NatGlobalTable PASSED                  [ 52%]
test_nat.py::TestNatFeature::test_NatInterfaceZone PASSED                [ 52%]
test_nat.py::TestNatFeature::test_AddNatStaticEntry PASSED               [ 53%]
test_nat.py::TestNatFeature::test_DelNatStaticEntry PASSED               [ 53%]
test_nat.py::TestNatFeature::test_AddNaPtStaticEntry PASSED              [ 54%]
test_nat.py::TestNatFeature::test_DelNaPtStaticEntry PASSED              [ 54%]
test_nat.py::TestNatFeature::test_AddTwiceNatEntry PASSED                [ 54%]
test_nat.py::TestNatFeature::test_DelTwiceNatStaticEntry PASSED          [ 55%]
test_nat.py::TestNatFeature::test_AddTwiceNaPtEntry PASSED               [ 55%]
test_nat.py::TestNatFeature::test_DelTwiceNaPtStaticEntry PASSED         [ 56%]
test_neighbor.py::TestNeighbor::test_NeighborAddRemoveIpv6 PASSED        [ 56%]
test_neighbor.py::TestNeighbor::test_NeighborAddRemoveIpv4 PASSED        [ 56%]
test_neighbor.py::TestNeighbor::test_NeighborAddRemoveIpv6WithVrf PASSED [ 57%]
test_neighbor.py::TestNeighbor::test_NeighborAddRemoveIpv4WithVrf PASSED [ 57%]
test_nhg.py::TestNextHopGroup::test_route_nhg PASSED                     [ 58%]
test_pfc.py::TestPfc::test_PfcAsymmetric PASSED                          [ 58%]
test_policer.py::TestPolicer::test_PolicerBasic PASSED                   [ 58%]
test_port.py::TestPort::test_PortMtu PASSED                              [ 59%]
test_port.py::TestPort::test_PortNotification PASSED                     [ 59%]
test_port.py::TestPort::test_PortFec PASSED                              [ 60%]
test_port.py::TestPort::test_PortPreemp PASSED                           [ 60%]
test_port.py::TestPort::test_PortIdriver PASSED                          [ 60%]
test_port.py::TestPort::test_PortIpredriver PASSED                       [ 61%]
test_port_an.py::TestPortAutoNeg::test_PortAutoNegCold PASSED            [ 61%]
test_port_an.py::TestPortAutoNeg::test_PortAutoNegWarm FAILED            [ 62%]
test_port_buffer_rel.py::TestPortBuffer::test_PortsAreUpAfterBuffers PASSED [ 62%]
test_port_config.py::TestPortConfig::test_port_hw_lane PASSED            [ 62%]
test_port_config.py::TestPortConfig::test_port_breakout PASSED           [ 63%]
test_port_dpb.py::TestPortDPB::test_port_breakout_one FAILED             [ 63%]
test_port_dpb.py::TestPortDPB::test_port_breakout_multiple FAILED        [ 64%]
test_port_dpb.py::TestPortDPB::test_port_breakout_all FAILED             [ 64%]
test_port_dpb_acl.py::TestPortDPBAcl::test_acl_table_empty_port_list PASSED [ 64%]
test_port_dpb_acl.py::TestPortDPBAcl::test_one_port_two_acl_tables PASSED [ 65%]
test_port_dpb_acl.py::TestPortDPBAcl::test_one_acl_table_many_ports FAILED [ 65%]
test_port_dpb_acl.py::TestPortDPBAcl::test_one_port_many_acl_tables SKIPPED [ 66%]
test_port_dpb_system.py::TestPortDPBSystem::test_port_breakout_one ERROR [ 66%]
test_port_dpb_vlan.py::TestPortDPBVlan::test_dependency ERROR            [ 66%]
test_port_dpb_vlan.py::TestPortDPBVlan::test_one_port_one_vlan ERROR     [ 67%]
test_port_dpb_vlan.py::TestPortDPBVlan::test_one_port_multiple_vlan ERROR [ 67%]
test_port_mac_learn.py::TestPortMacLearn::test_PortMacLearnMode PASSED   [ 68%]
test_port_mac_learn.py::TestPortMacLearn::test_PortchannelMacLearnMode PASSED [ 68%]
test_portchannel.py::TestPortchannel::test_Portchannel PASSED            [ 68%]
test_portchannel.py::TestPortchannel::test_Portchannel_oper_down PASSED  [ 69%]
test_qos_map.py::TestDot1p::test_dot1p_cfg PASSED                        [ 69%]
test_qos_map.py::TestDot1p::test_port_dot1p PASSED                       [ 70%]
test_route.py::TestRoute::test_RouteAddRemoveIpv4Route FAILED            [ 70%]
test_route.py::TestRoute::test_RouteAddRemoveIpv6Route FAILED            [ 70%]
test_route.py::TestRoute::test_RouteAddRemoveIpv4RouteWithVrf FAILED     [ 71%]
test_route.py::TestRoute::test_RouteAddRemoveIpv6RouteWithVrf FAILED     [ 71%]
test_route.py::TestRoute::test_RouteAndNexthopInDifferentVrf FAILED      [ 72%]
test_setro.py::TestSetRo::test_SetReadOnlyAttribute PASSED               [ 72%]
test_sflow.py::TestSflow::test_defaultGlobal PASSED                      [ 72%]
test_sflow.py::TestSflow::test_globalAll PASSED                          [ 73%]
test_sflow.py::TestSflow::test_InterfaceSet PASSED                       [ 73%]
test_sflow.py::TestSflow::test_defaultRate PASSED                        [ 74%]
test_sflow.py::TestSflow::test_ConfigDel PASSED                          [ 74%]
test_sflow.py::TestSflow::test_Teardown PASSED                           [ 75%]
test_speed.py::TestSpeedSet::test_SpeedAndBufferSet FAILED               [ 75%]
test_sub_port_intf.py::TestSubPortIntf::test_sub_port_intf_creation PASSED [ 75%]
test_sub_port_intf.py::TestSubPortIntf::test_sub_port_intf_add_ip_addrs PASSED [ 76%]
test_sub_port_intf.py::TestSubPortIntf::test_sub_port_intf_admin_status_change PASSED [ 76%]
test_sub_port_intf.py::TestSubPortIntf::test_sub_port_intf_remove_ip_addrs PASSED [ 77%]
test_sub_port_intf.py::TestSubPortIntf::test_sub_port_intf_removal PASSED [ 77%]
test_switch.py::TestSwitch::test_switch_attribute PASSED                 [ 77%]
test_tunnel.py::TestDecapTunnel::test_TunnelDecap_v4 PASSED              [ 78%]
test_tunnel.py::TestDecapTunnel::test_TunnelDecap_v6 PASSED              [ 78%]
test_tunnel.py::TestSymmetricTunnel::test_TunnelSymmetric_v4 PASSED      [ 79%]
test_tunnel.py::TestSymmetricTunnel::test_TunnelSymmetric_v6 PASSED      [ 79%]
test_vlan.py::TestVlan::test_VlanAddRemove PASSED                        [ 79%]
test_vlan.py::TestVlan::test_MultipleVlan PASSED                         [ 80%]
test_vlan.py::TestVlan::test_VlanIncrementalConfig PASSED                [ 80%]
test_vlan.py::TestVlan::test_AddVlanWithIncorrectKeyPrefix[test_input0-0] PASSED [ 81%]
test_vlan.py::TestVlan::test_AddVlanWithIncorrectKeyPrefix[test_input1-0] PASSED [ 81%]
test_vlan.py::TestVlan::test_AddVlanWithIncorrectKeyPrefix[test_input2-0] PASSED [ 81%]
test_vlan.py::TestVlan::test_AddVlanWithIncorrectKeyPrefix[test_input3-1] PASSED [ 82%]
test_vlan.py::TestVlan::test_AddVlanWithIncorrectValueType[test_input0-0] PASSED [ 82%]
test_vlan.py::TestVlan::test_AddVlanWithIncorrectValueType[test_input1-0] PASSED [ 83%]
test_vlan.py::TestVlan::test_AddVlanWithIncorrectValueType[test_input2-0] PASSED [ 83%]
test_vlan.py::TestVlan::test_AddVlanWithIncorrectValueType[test_input3-1] PASSED [ 83%]
test_vlan.py::TestVlan::test_AddPortChannelToVlan PASSED                 [ 84%]
test_vlan.py::TestVlan::test_AddVlanMemberWithNonExistVlan PASSED        [ 84%]
test_vlan.py::TestVlan::test_RemoveNonexistentVlan PASSED                [ 85%]
test_vlan.py::TestVlan::test_VlanMemberTaggingMode[test_input0-expected0] PASSED [ 85%]
test_vlan.py::TestVlan::test_VlanMemberTaggingMode[test_input1-expected1] PASSED [ 85%]
test_vlan.py::TestVlan::test_VlanMemberTaggingMode[test_input2-expected2] PASSED [ 86%]
test_vlan.py::TestVlan::test_VlanMemberTaggingMode[test_input3-expected3] PASSED [ 86%]
test_vlan.py::TestVlan::test_VlanMemberTaggingMode[test_input4-expected4] PASSED [ 87%]
test_vlan.py::TestVlan::test_AddMaxVlan SKIPPED                          [ 87%]
test_vlan.py::TestVlan::test_RemoveVlanWithRouterInterface PASSED        [ 87%]
test_vlan.py::TestVlan::test_VlanDbData PASSED                           [ 88%]
test_vlan.py::TestVlan::test_VlanMemberDbData[test_input0-expected0] PASSED [ 88%]
test_vlan.py::TestVlan::test_VlanMemberDbData[test_input1-expected1] PASSED [ 89%]
test_vlan.py::TestVlan::test_VlanMemberDbData[test_input2-expected2] PASSED [ 89%]

test_vrf.py::TestVrf::test_VRFMgr_Comprehensive PASSED                   [ 93%]
test_vrf.py::TestVrf::test_VRFMgr PASSED                                 [ 94%]
test_vrf.py::TestVrf::test_VRFMgr_Update PASSED                          [ 94%]
test_vrf.py::TestVrf::test_VRFMgr_Capacity PASSED                        [ 95%]
test_vxlan_tunnel.py::TestVxlan::test_vxlan_term_orch PASSED             [ 95%]

test_watermark.py::TestWatermark::test_telemetry_period PASSED           [ 99%]
test_watermark.py::TestWatermark::test_lua_plugins SKIPPED               [ 99%]
test_watermark.py::TestWatermark::test_clear SKIPPED                     [100%]

Signed-off-by: Sangita Maity <sangitamaity0211@gmail.com>
@samaity samaity requested a review from vasant17 March 7, 2020 01:50
@samaity samaity marked this pull request as ready for review March 7, 2020 01:50
@vasant17
Copy link
Collaborator

vasant17 commented Mar 7, 2020

where is BREAKOUT_CFG table?

@zhenggen-xu
Copy link
Owner

where is BREAKOUT_CFG table?

That is done in sonic-cfggen when you have the platform.json as input.

@zhenggen-xu
Copy link
Owner

@samaity
Questions:
1, Why these tests cases are failing? It is probably not related, but can you paste the error here?
2, Can you paste the default config_db.json in vs docker here?

praveen-li pushed a commit to praveen-li/sonic-buildimage that referenced this pull request Mar 11, 2020
update multiDB changes in sonic-py-swsssdk, including:

- read portchannel name from LAG_NAME_MAP_TABLE in COUNTERS_DB (zhenggen-xu#51)
- Revert "read portchannel name from LAG_NAME_MAP_TABLE in COUNTERS_DB (zhenggen-xu#51)" (zhenggen-xu#57)
- [MultiDB] sonic-db-cli should support EVAL operation, app script use … (zhenggen-xu#58)

PR sonic-net#3928 needs this swsssdk-py changes to work

Signed-off-by: Dong Zhang d.zhang@alibaba-inc.com
@samaity
Copy link
Collaborator Author

samaity commented Mar 11, 2020

@samaity
Questions:
1, Why these tests cases are failing? It is probably not related, but can you paste the error here?
2, Can you paste the default config_db.json in vs docker here?


samaity@server09:~$ docker exec -it vs-sang bash
root@cc6a0176b0b8:/# more /etc/sonic/config_db.json
{
    "BREAKOUT_CFG": {
        "Ethernet0": {
            "brkout_mode": "1x100G[40G]"
        },
        "Ethernet4": {
            "brkout_mode": "1x100G[40G]"
        },
        "Ethernet8": {
            "brkout_mode": "1x100G[40G]"
        },
        "Ethernet12": {
            "brkout_mode": "1x100G[40G]"
        },
        "Ethernet16": {
            "brkout_mode": "1x100G[40G]"
        },
        "Ethernet20": {
            "brkout_mode": "1x100G[40G]"
        },
        "Ethernet24": {
            "brkout_mode": "1x100G[40G]"
        },
        "Ethernet28": {
            "brkout_mode": "1x100G[40G]"
        },
        "Ethernet32": {
            "brkout_mode": "1x100G[40G]"
        },
        "Ethernet36": {
            "brkout_mode": "1x100G[40G]"
        },
        "Ethernet40": {
            "brkout_mode": "1x100G[40G]"
        },
        "Ethernet44": {
            "brkout_mode": "1x100G[40G]"
        },
        "Ethernet48": {
            "brkout_mode": "1x100G[40G]"
        },
        "Ethernet52": {
            "brkout_mode": "1x100G[40G]"
        },
        "Ethernet56": {
            "brkout_mode": "1x100G[40G]"
        },
        "Ethernet60": {
            "brkout_mode": "1x100G[40G]"
        },
        "Ethernet64": {
            "brkout_mode": "1x100G[40G]"
        },
        "Ethernet68": {
            "brkout_mode": "1x100G[40G]"
        },
        "Ethernet72": {
            "brkout_mode": "1x100G[40G]"
        },
        "Ethernet76": {
            "brkout_mode": "1x100G[40G]"
        },
        "Ethernet80": {
            "brkout_mode": "1x100G[40G]"
        },
        "Ethernet84": {
            "brkout_mode": "1x100G[40G]"
        },
        "Ethernet88": {
            "brkout_mode": "1x100G[40G]"
        },
        "Ethernet92": {
            "brkout_mode": "1x100G[40G]"
        },
        "Ethernet96": {
            "brkout_mode": "1x100G[40G]"
        },
        "Ethernet100": {
            "brkout_mode": "1x100G[40G]"
        },
        "Ethernet104": {
            "brkout_mode": "1x100G[40G]"
        },
        "Ethernet108": {
            "brkout_mode": "1x100G[40G]"
        },
        "Ethernet112": {
            "brkout_mode": "1x100G[40G]"
        },
        "Ethernet116": {
            "brkout_mode": "1x100G[40G]"
        },
        "Ethernet120": {
            "brkout_mode": "1x100G[40G]"
        },
        "Ethernet124": {
            "brkout_mode": "1x100G[40G]"
        }
    },
    "BUFFER_PG": {
        "Ethernet0|0": {
            "profile": "[BUFFER_PROFILE|ingress_lossy_profile]"
        },
        "Ethernet4|0": {
            "profile": "[BUFFER_PROFILE|ingress_lossy_profile]"
        },
        "Ethernet8|0": {
            "profile": "[BUFFER_PROFILE|ingress_lossy_profile]"
        },
        "Ethernet12|0": {
            "profile": "[BUFFER_PROFILE|ingress_lossy_profile]"
        },
        "Ethernet16|0": {
            "profile": "[BUFFER_PROFILE|ingress_lossy_profile]"
        },
        "Ethernet20|0": {
            "profile": "[BUFFER_PROFILE|ingress_lossy_profile]"
        },
        "Ethernet24|0": {
            "profile": "[BUFFER_PROFILE|ingress_lossy_profile]"
        },
        "Ethernet28|0": {
            "profile": "[BUFFER_PROFILE|ingress_lossy_profile]"
        },
        "Ethernet32|0": {
            "profile": "[BUFFER_PROFILE|ingress_lossy_profile]"
        },
        "Ethernet36|0": {
            "profile": "[BUFFER_PROFILE|ingress_lossy_profile]"
        },
        "Ethernet40|0": {
            "profile": "[BUFFER_PROFILE|ingress_lossy_profile]"
        },
        "Ethernet44|0": {
            "profile": "[BUFFER_PROFILE|ingress_lossy_profile]"
        },
        "Ethernet48|0": {
            "profile": "[BUFFER_PROFILE|ingress_lossy_profile]"
        },
        "Ethernet52|0": {
            "profile": "[BUFFER_PROFILE|ingress_lossy_profile]"
        },
        "Ethernet56|0": {
            "profile": "[BUFFER_PROFILE|ingress_lossy_profile]"
        },
        "Ethernet60|0": {
            "profile": "[BUFFER_PROFILE|ingress_lossy_profile]"
        },
        "Ethernet64|0": {
            "profile": "[BUFFER_PROFILE|ingress_lossy_profile]"
        },
        "Ethernet68|0": {
            "profile": "[BUFFER_PROFILE|ingress_lossy_profile]"
        },
        "Ethernet72|0": {
            "profile": "[BUFFER_PROFILE|ingress_lossy_profile]"
        },
        "Ethernet76|0": {
            "profile": "[BUFFER_PROFILE|ingress_lossy_profile]"
        },
        "Ethernet80|0": {
            "profile": "[BUFFER_PROFILE|ingress_lossy_profile]"
        },
        "Ethernet84|0": {
            "profile": "[BUFFER_PROFILE|ingress_lossy_profile]"
        },
        "Ethernet88|0": {
            "profile": "[BUFFER_PROFILE|ingress_lossy_profile]"
        },
        "Ethernet92|0": {
            "profile": "[BUFFER_PROFILE|ingress_lossy_profile]"
        },
        "Ethernet96|0": {
            "profile": "[BUFFER_PROFILE|ingress_lossy_profile]"
        },
        "Ethernet100|0": {
            "profile": "[BUFFER_PROFILE|ingress_lossy_profile]"
        },
        "Ethernet104|0": {
            "profile": "[BUFFER_PROFILE|ingress_lossy_profile]"
        },
        "Ethernet108|0": {
            "profile": "[BUFFER_PROFILE|ingress_lossy_profile]"
        },
        "Ethernet112|0": {
            "profile": "[BUFFER_PROFILE|ingress_lossy_profile]"
        },
        "Ethernet116|0": {
            "profile": "[BUFFER_PROFILE|ingress_lossy_profile]"
        },
        "Ethernet120|0": {
            "profile": "[BUFFER_PROFILE|ingress_lossy_profile]"
        },
        "Ethernet124|0": {
            "profile": "[BUFFER_PROFILE|ingress_lossy_profile]"
        }
    },
    "BUFFER_POOL": {
        "egress_lossless_pool": {
            "mode": "static",
            "size": "12766208",
            "type": "egress"
        },
        "egress_lossy_pool": {
            "mode": "dynamic",
            "size": "7326924",
            "type": "egress"
        },
        "ingress_lossless_pool": {
            "mode": "dynamic",
            "size": "12766208",
            "type": "ingress"
        }
    },
    "BUFFER_PROFILE": {
        "egress_lossless_profile": {
            "pool": "[BUFFER_POOL|egress_lossless_pool]",
            "size": "0",
            "static_th": "12766208"
        },
        "egress_lossy_profile": {
            "dynamic_th": "3",
            "pool": "[BUFFER_POOL|egress_lossy_pool]",
            "size": "1518"
        },
        "ingress_lossy_profile": {
            "dynamic_th": "3",
            "pool": "[BUFFER_POOL|ingress_lossless_pool]",
            "size": "0"
        }
    },
    "BUFFER_QUEUE": {
        "Ethernet0|0-2": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet0|3-4": {
            "profile": "[BUFFER_PROFILE|egress_lossless_profile]"
        },
        "Ethernet0|5-6": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet4|0-2": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet4|3-4": {
            "profile": "[BUFFER_PROFILE|egress_lossless_profile]"
        },
        "Ethernet4|5-6": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet8|0-2": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet8|3-4": {
            "profile": "[BUFFER_PROFILE|egress_lossless_profile]"
        },
        "Ethernet8|5-6": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet12|0-2": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet12|3-4": {
            "profile": "[BUFFER_PROFILE|egress_lossless_profile]"
        },
        "Ethernet12|5-6": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet16|0-2": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet16|3-4": {
            "profile": "[BUFFER_PROFILE|egress_lossless_profile]"
        },
        "Ethernet16|5-6": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet20|0-2": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet20|3-4": {
            "profile": "[BUFFER_PROFILE|egress_lossless_profile]"
        },
        "Ethernet20|5-6": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet24|0-2": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet24|3-4": {
            "profile": "[BUFFER_PROFILE|egress_lossless_profile]"
        },
        "Ethernet24|5-6": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet28|0-2": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet28|3-4": {
            "profile": "[BUFFER_PROFILE|egress_lossless_profile]"
        },
        "Ethernet28|5-6": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet32|0-2": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet32|3-4": {
            "profile": "[BUFFER_PROFILE|egress_lossless_profile]"
        },
        "Ethernet32|5-6": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet36|0-2": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet36|3-4": {
            "profile": "[BUFFER_PROFILE|egress_lossless_profile]"
        },
        "Ethernet36|5-6": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet40|0-2": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet40|3-4": {
            "profile": "[BUFFER_PROFILE|egress_lossless_profile]"
        },
        "Ethernet40|5-6": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet44|0-2": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet44|3-4": {
            "profile": "[BUFFER_PROFILE|egress_lossless_profile]"
        },
        "Ethernet44|5-6": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet48|0-2": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet48|3-4": {
            "profile": "[BUFFER_PROFILE|egress_lossless_profile]"
        },
        "Ethernet48|5-6": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet52|0-2": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet52|3-4": {
            "profile": "[BUFFER_PROFILE|egress_lossless_profile]"
        },
        "Ethernet52|5-6": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet56|0-2": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet56|3-4": {
            "profile": "[BUFFER_PROFILE|egress_lossless_profile]"
        },
        "Ethernet56|5-6": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet60|0-2": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet60|3-4": {
            "profile": "[BUFFER_PROFILE|egress_lossless_profile]"
        },
        "Ethernet60|5-6": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet64|0-2": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet64|3-4": {
            "profile": "[BUFFER_PROFILE|egress_lossless_profile]"
        },
        "Ethernet64|5-6": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet68|0-2": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet68|3-4": {
            "profile": "[BUFFER_PROFILE|egress_lossless_profile]"
        },
        "Ethernet68|5-6": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet72|0-2": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet72|3-4": {
            "profile": "[BUFFER_PROFILE|egress_lossless_profile]"
        },
        "Ethernet72|5-6": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet76|0-2": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet76|3-4": {
            "profile": "[BUFFER_PROFILE|egress_lossless_profile]"
        },
        "Ethernet76|5-6": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet80|0-2": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet80|3-4": {
            "profile": "[BUFFER_PROFILE|egress_lossless_profile]"
        },
        "Ethernet80|5-6": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet84|0-2": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet84|3-4": {
            "profile": "[BUFFER_PROFILE|egress_lossless_profile]"
        },
        "Ethernet84|5-6": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet88|0-2": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet88|3-4": {
            "profile": "[BUFFER_PROFILE|egress_lossless_profile]"
        },
        "Ethernet88|5-6": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet92|0-2": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet92|3-4": {
            "profile": "[BUFFER_PROFILE|egress_lossless_profile]"
        },
        "Ethernet92|5-6": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet96|0-2": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet96|3-4": {
            "profile": "[BUFFER_PROFILE|egress_lossless_profile]"
        },
        "Ethernet96|5-6": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet100|0-2": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet100|3-4": {
            "profile": "[BUFFER_PROFILE|egress_lossless_profile]"
        },
        "Ethernet100|5-6": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet104|0-2": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet104|3-4": {
            "profile": "[BUFFER_PROFILE|egress_lossless_profile]"
        },
        "Ethernet104|5-6": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet108|0-2": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet108|3-4": {
            "profile": "[BUFFER_PROFILE|egress_lossless_profile]"
        },
        "Ethernet108|5-6": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet112|0-2": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet112|3-4": {
            "profile": "[BUFFER_PROFILE|egress_lossless_profile]"
        },
        "Ethernet112|5-6": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet116|0-2": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet116|3-4": {
            "profile": "[BUFFER_PROFILE|egress_lossless_profile]"
        },
        "Ethernet116|5-6": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet120|0-2": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet120|3-4": {
            "profile": "[BUFFER_PROFILE|egress_lossless_profile]"
        },
        "Ethernet120|5-6": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet124|0-2": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        },
        "Ethernet124|3-4": {
            "profile": "[BUFFER_PROFILE|egress_lossless_profile]"
        },
        "Ethernet124|5-6": {
            "profile": "[BUFFER_PROFILE|egress_lossy_profile]"
        }
    },
    "CABLE_LENGTH": {
        "AZURE": {
            "Ethernet0": "300m",
            "Ethernet4": "300m",
            "Ethernet8": "300m",
            "Ethernet12": "300m",
            "Ethernet16": "300m",
            "Ethernet20": "300m",
            "Ethernet24": "300m",
            "Ethernet28": "300m",
            "Ethernet32": "300m",
            "Ethernet36": "300m",
            "Ethernet40": "300m",
            "Ethernet44": "300m",
            "Ethernet48": "300m",
            "Ethernet52": "300m",
            "Ethernet56": "300m",
            "Ethernet60": "300m",
            "Ethernet64": "300m",
            "Ethernet68": "300m",
            "Ethernet72": "300m",
            "Ethernet76": "300m",
            "Ethernet80": "300m",
            "Ethernet84": "300m",
            "Ethernet88": "300m",
            "Ethernet92": "300m",
            "Ethernet96": "300m",
            "Ethernet100": "300m",
            "Ethernet104": "300m",
            "Ethernet108": "300m",
            "Ethernet112": "300m",
            "Ethernet116": "300m",
            "Ethernet120": "300m",
            "Ethernet124": "300m"
        }
    },
    "DEVICE_METADATA": {
        "localhost": {
            "hwsku": "Force10-S6000",
            "mac": "02:42:ac:11:00:05"
        }
    },
    "DSCP_TO_TC_MAP": {
        "AZURE": {
            "0": "1",
            "1": "1",
            "2": "1",
            "3": "3",
            "4": "4",
            "5": "2",
            "6": "1",
            "7": "1",
            "8": "0",
            "9": "1",
            "10": "1",
            "11": "1",
            "12": "1",
            "13": "1",
            "14": "1",
            "15": "1",
            "16": "1",
            "17": "1",
            "18": "1",
            "19": "1",
            "20": "1",
            "21": "1",
            "22": "1",
            "23": "1",
            "24": "1",
            "25": "1",
            "26": "1",
            "27": "1",
            "28": "1",
            "29": "1",
            "30": "1",
            "31": "1",
            "32": "1",
            "33": "1",
            "34": "1",
            "35": "1",
            "36": "1",
            "37": "1",
            "38": "1",
            "39": "1",
            "40": "1",
            "41": "1",
            "42": "1",
            "43": "1",
            "44": "1",
            "45": "1",
            "46": "5",
            "47": "1",
            "48": "6",
            "49": "1",
            "50": "1",
            "51": "1",
            "52": "1",
            "53": "1",
            "54": "1",
            "55": "1",
            "56": "1",
            "57": "1",
            "58": "1",
            "59": "1",
            "60": "1",
            "61": "1",
            "62": "1",
            "63": "1"
        }
    },
    "MAP_PFC_PRIORITY_TO_QUEUE": {
        "AZURE": {
            "0": "0",
            "1": "1",
            "2": "2",
            "3": "3",
            "4": "4",
            "5": "5",
            "6": "6",
            "7": "7"
        }
    },
    "PORT": {
        "Ethernet0": {
            "admin_status": "up",
            "alias": "fortyGig0/0",
            "index": "0",
            "lanes": "25,26,27,28",
            "speed": "100000"
        },
        "Ethernet4": {
            "admin_status": "up",
            "alias": "fortyGig0/4",
            "index": "1",
            "lanes": "29,30,31,32",
            "speed": "100000"
        },
        "Ethernet8": {
            "admin_status": "up",
            "alias": "fortyGig0/8",
            "index": "2",
            "lanes": "33,34,35,36",
            "speed": "100000"
        },
        "Ethernet12": {
            "admin_status": "up",
            "alias": "fortyGig0/12",
            "index": "3",
            "lanes": "37,38,39,40",
            "speed": "100000"
        },
        "Ethernet16": {
            "admin_status": "up",
            "alias": "fortyGig0/16",
            "index": "4",
            "lanes": "45,46,47,48",
            "speed": "100000"
        },
        "Ethernet20": {
            "admin_status": "up",
            "alias": "fortyGig0/20",
            "index": "5",
            "lanes": "41,42,43,44",
            "speed": "100000"
        },
        "Ethernet24": {
            "admin_status": "up",
            "alias": "fortyGig0/24",
            "index": "6",
            "lanes": "1,2,3,4",
            "speed": "100000"
        },
        "Ethernet28": {
            "admin_status": "up",
            "alias": "fortyGig0/28",
            "index": "7",
            "lanes": "5,6,7,8",
            "speed": "100000"
        },
        "Ethernet32": {
            "admin_status": "up",
            "alias": "fortyGig0/32",
            "index": "8",
            "lanes": "13,14,15,16",
            "speed": "100000"
        },
        "Ethernet36": {
            "admin_status": "up",
            "alias": "fortyGig0/36",
            "index": "9",
            "lanes": "9,10,11,12",
            "speed": "100000"
        },
        "Ethernet40": {
            "admin_status": "up",
            "alias": "fortyGig0/40",
            "index": "10",
            "lanes": "17,18,19,20",
            "speed": "100000"
        },
        "Ethernet44": {
            "admin_status": "up",
            "alias": "fortyGig0/44",
            "index": "11",
            "lanes": "21,22,23,24",
            "speed": "100000"
        },
        "Ethernet48": {
            "admin_status": "up",
            "alias": "fortyGig0/48",
            "index": "12",
            "lanes": "53,54,55,56",
            "speed": "100000"
        },
        "Ethernet52": {
            "admin_status": "up",
            "alias": "fortyGig0/52",
            "index": "13",
            "lanes": "49,50,51,52",
            "speed": "100000"
        },
        "Ethernet56": {
            "admin_status": "up",
            "alias": "fortyGig0/56",
            "index": "14",
            "lanes": "57,58,59,60",
            "speed": "100000"
        },
        "Ethernet60": {
            "admin_status": "up",
            "alias": "fortyGig0/60",
            "index": "15",
            "lanes": "61,62,63,64",
            "speed": "100000"
        },
        "Ethernet64": {
            "admin_status": "up",
            "alias": "fortyGig0/64",
            "index": "16",
            "lanes": "69,70,71,72",
            "speed": "100000"
        },
        "Ethernet68": {
            "admin_status": "up",
            "alias": "fortyGig0/68",
            "index": "17",
            "lanes": "65,66,67,68",
            "speed": "100000"
        },
        "Ethernet72": {
            "admin_status": "up",
            "alias": "fortyGig0/72",
            "index": "18",
            "lanes": "73,74,75,76",
            "speed": "100000"
        },
        "Ethernet76": {
            "admin_status": "up",
            "alias": "fortyGig0/76",
            "index": "19",
            "lanes": "77,78,79,80",
            "speed": "100000"
        },
        "Ethernet80": {
            "admin_status": "up",
            "alias": "fortyGig0/80",
            "index": "20",
            "lanes": "109,110,111,112",
            "speed": "100000"
        },
        "Ethernet84": {
            "admin_status": "up",
            "alias": "fortyGig0/84",
            "index": "21",
            "lanes": "105,106,107,108",
            "speed": "100000"
        },
        "Ethernet88": {
            "admin_status": "up",
            "alias": "fortyGig0/88",
            "index": "22",
            "lanes": "113,114,115,116",
            "speed": "100000"
        },
        "Ethernet92": {
            "admin_status": "up",
            "alias": "fortyGig0/92",
            "index": "23",
            "lanes": "117,118,119,120",
            "speed": "100000"
        },
        "Ethernet96": {
            "admin_status": "up",
            "alias": "fortyGig0/96",
            "index": "24",
            "lanes": "125,126,127,128",
            "speed": "100000"
        },
        "Ethernet100": {
            "admin_status": "up",
            "alias": "fortyGig0/100",
            "index": "25",
            "lanes": "121,122,123,124",
            "speed": "100000"
        },
        "Ethernet104": {
            "admin_status": "up",
            "alias": "fortyGig0/104",
            "index": "26",
            "lanes": "81,82,83,84",
            "speed": "100000"
        },
        "Ethernet108": {
            "admin_status": "up",
            "alias": "fortyGig0/108",
            "index": "27",
            "lanes": "85,86,87,88",
            "speed": "100000"
        },
        "Ethernet112": {
            "admin_status": "up",
            "alias": "fortyGig0/112",
            "index": "28",
            "lanes": "93,94,95,96",
            "speed": "100000"
        },
        "Ethernet116": {
            "admin_status": "up",
            "alias": "fortyGig0/116",
            "index": "29",
            "lanes": "89,90,91,92",
            "speed": "100000"
        },
        "Ethernet120": {
            "admin_status": "up",
            "alias": "fortyGig0/120",
            "index": "30",
            "lanes": "101,102,103,104",
            "speed": "100000"
        },
        "Ethernet124": {
            "admin_status": "up",
            "alias": "fortyGig0/124",
            "index": "31",
            "lanes": "97,98,99,100",
            "speed": "100000"
        }
    },
    "PORT_QOS_MAP": {},
    "QUEUE": {},
    "SCHEDULER": {
        "scheduler.0": {
            "type": "DWRR",
            "weight": "14"
        },
        "scheduler.1": {
            "type": "DWRR",
            "weight": "15"
        }
    },
    "TC_TO_PRIORITY_GROUP_MAP": {
        "AZURE": {
            "0": "0",
            "1": "0",
            "2": "0",
            "3": "3",
            "4": "4",
            "5": "0",
            "6": "0",
            "7": "7"
        }
    },
    "TC_TO_QUEUE_MAP": {
        "AZURE": {
            "0": "0",
            "1": "1",
            "2": "2",
            "3": "3",
            "4": "4",
            "5": "5",
            "6": "6",
            "7": "7"
        }
    },
    "WRED_PROFILE": {
        "AZURE_LOSSLESS": {
            "ecn": "ecn_all",
            "green_drop_probability": "5",
            "green_max_threshold": "2097152",
            "green_min_threshold": "1048576",
            "red_drop_probability": "5",
            "red_max_threshold": "2097152",
            "red_min_threshold": "1048576",
            "wred_green_enable": "true",
            "wred_red_enable": "true",
            "wred_yellow_enable": "true",
            "yellow_drop_probability": "5",
            "yellow_max_threshold": "2097152",
            "yellow_min_threshold": "1048576"
        }
    }
}

@zhenggen-xu zhenggen-xu merged commit 2cf860b into zhenggen-xu:sonic-cfg-mgmt Mar 11, 2020
praveen-li pushed a commit to praveen-li/sonic-buildimage that referenced this pull request Apr 23, 2020
praveen-li pushed a commit to praveen-li/sonic-buildimage that referenced this pull request Aug 9, 2022
```
88d1eaea9 [mka]: Fix rekey of PN based cannot triggered in XPN cipher (zhenggen-xu#57)
```

Signed-off-by: Ze Gan <ganze718@gmail.com>
praveen-li pushed a commit to praveen-li/sonic-buildimage that referenced this pull request Dec 23, 2022
[202012][sonic-linkmgrd]Submodule update

8507629 Jing Zhang      Mon Apr 4 10:25:22 2022 -0700   Lower unsolicited MUX state change notification log level to WARNING zhenggen-xu#57
17d217d Longxiang Lyu   Mon Mar 21 12:15:19 2022 +0800  Enhance clang format (zhenggen-xu#46)
c72fa2a Jing Zhang      Fri Apr 1 12:23:29 2022 -0700   Disable the feature that decreases link probe interval for measuring switch overhead zhenggen-xu#49 (zhenggen-xu#54)
256b01b Jing Zhang      Thu Mar 31 16:20:00 2022 -0700  Update link prober metrics posting logics zhenggen-xu#50 zhenggen-xu#53
dfd48d0 Jing Zhang      Wed Mar 23 16:27:45 2022 -0700  Decrease link probing interval after switchover to better determine the overhead of a toggle zhenggen-xu#43 (zhenggen-xu#48)

sign-off: Jing Zhang zhangjing@microsoft.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants