Skip to content
This repository was archived by the owner on Jan 3, 2023. It is now read-only.

Azure merge#6

Merged
shruthi9 merged 40 commits intobf-masterfrom
azure-merge
Jul 10, 2018
Merged

Azure merge#6
shruthi9 merged 40 commits intobf-masterfrom
azure-merge

Conversation

@shruthi9
Copy link
Copy Markdown

@shruthi9 shruthi9 commented Jul 9, 2018

Bring in changes from Azure master

sihuihan88 and others added 30 commits April 24, 2018 17:42
* Fix tables handling race condition in buffermgr

Signed-off-by: Andriy Moroz <[email protected]>

* Fixed status lose in loop

Signed-off-by: Andriy Moroz <[email protected]>
…t#489)

* [buffermgr]: remove the item from consumer queue if invalid

Signed-off-by: Sihui Han <[email protected]>

* change error to task_invalid_entry

Signed-off-by: Sihui Han <[email protected]>
* [pfcwd]: enable BIG_RED_SWITCH mode

Signed-off-by: Sihui Han <[email protected]>

* update as comments
…c-net#491)

* Populate existing interface cache, bring down before configDone

* simplify the logic and add logging

Signed-off-by: Guohan Lu <[email protected]>

* add logging for publish event to state db

Signed-off-by: Guohan Lu <[email protected]>
Without the return value check, it is possible that ifname is
empty due to interface not found.

Signed-off-by: Shu0T1an ChenG <[email protected]>
…c-net#482)

* Add new test case for ACL - Rule Priority

New test case - I created 4 rules with priorities 10, 20, 30, 40, then I added a fifth rule with priority 21.  Made sure they were all programmed correctly in the DB

* new acl test case: added a rule in between configured rules

I configured five rules with priorities 10, 20, 30, 40, then configured another rule with priority 21.  Verified that all five rules were pushed to the ASICDB

* Delete test_acl.py

mistakenly added this file

* removing redundant code by inserting via a loop

* created helper function to check proper rule config
…ch (sonic-net#506)

* We have enough logging inside of the method. Remove the excessive one

* Rewrite portsorch::validatespeed. Use true lazy approach to minimize SAI get operations on each port

* Restore the missed attr.id

* Rename validatePortSpeed to isSpeedSupported. Change logic to return true for erross also. Even we receive an error, we could move further. It's not critical
…ovided (sonic-net#509)

* Suppress Cable length error in case buffer config file is not provided

* fix PR feedback
…onic-net#494)

* enhance acl orch to handle the LAG port not configured case
* rename variable, function; redunce redundant code; fix memory issue
* revise according to comments
* one more blank line
* add new VS test cases for acl on LAG
* update with PR comments fix
* rename getValidPortId and move it to portOrch
* fix indent
* fix test case comments
…onic-net#494)

* enhance acl orch to handle the LAG port not configured case
* rename variable, function; redunce redundant code; fix memory issue
* revise according to comments
* one more blank line
* add new VS test cases for acl on LAG
* update with PR comments fix
* rename getValidPortId and move it to portOrch
* fix indent
* fix test case comments
* Add files via upload

* Test case: ACL rule with diff subnet masks

Added a test case with ACL rules with different mask /8 /19 ,etc.  Verified the proper subnet masks were reflected in the ASICDB.

* changing addition of acl rules to a loop to avoid redundancy

* added a helper function to improve code efficiency

* Update test_acl.py
…uration was applied (sonic-net#515)

* Don't up ports, until buffer configuration is applied

* Set MTU first, then set port state to UP

* Introduce the test

* Use logical operator && for boolean values
* Allocate buffer for 256 entries for ACL resource query

* Changed to MACRO
sihuihan88 and others added 10 commits June 25, 2018 14:24
…tialization (sonic-net#528)

* Pospone QueueMap initialization until activation of counters

* Initialize CounterCheckOrch after we initialized the QueueMaps
* Generate queue maps only for front panel ports
…sonic-net#530)

* Pospone QueueMap initialization until activation of counters

* Check that port ready list has the information before referencing the information
* Pospone QueueMap initialization until activation of counters

* Generate queue maps only for front panel ports

* Create empty buffer lists by default
@arkadiyshapiro
Copy link
Copy Markdown

any issues on our side with latest changes, particularly SAI 1.3?

@shruthi9 shruthi9 merged commit 1568c1d into bf-master Jul 10, 2018
NStetskovych-zz pushed a commit that referenced this pull request Nov 20, 2018
* VNET/VRF Changes  (#6)

* VRF changes

* Fixed an IPv6 address parsing issue

* Updated logs, removed intfmgr changes in favour of PR sonic-net#635

* Updated VRF table name

* Addressed review comment, test fixes

* Remove extra semi-colon

* Route handling, review comments (#8)

* Vnet route table handling

* Addressed review comments

* Fix for interface routes, add debug logs
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.