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

Sonic saiv1.3 #1

Merged
merged 72 commits into from
Jun 1, 2018
Merged

Sonic saiv1.3 #1

merged 72 commits into from
Jun 1, 2018

Conversation

mkbalani
Copy link

No description provided.

oleksandrivantsiv and others added 30 commits December 19, 2017 15:48
* [pfcwd]: Rx/Tx/Drop counters

Keep track of Tx/Rx/Drop packets during watchdog action.
Record both accumulative values and counters from last event.

Signed-off-by: marian-pritsak <[email protected]>

* Address comments

Signed-off-by: marian-pritsak <[email protected]>

* Address comments

Signed-off-by: marian-pritsak <[email protected]>
* [pfcwd]: Log PFC frame for a lossy queue

Signed-off-by: marian-pritsak <[email protected]>
* Add python test for setting RO attribute

* Use redis-py to obtain switch real object id

* Remove RedisClient connection
…it (sonic-net#424)

* First commit

* Compiles

* Use KeyOpFieldsValuesTuple instead of SyncMap

* Add tests and fixed bugs

* Put gtest library path

* Add Clean

* Throw errors in case of errors

* Rename methods to lowerCase. Use better names

* Fixed issues with untested last commit

* Use set instead of vector for attribute names

* Implemented vrf orch

* Fix an issue. configuration description must be outside of the class where it using, otherwise it would uninitialized

* Add initial version of test_vrf

* Support 'empty' attribute which is used as fake attribute for empty hash

* Add comprehensive tests for vrf orchagent

* Fix typo. Add extra comments.

* Add SET-update functionality

* Remove outdated macros. Use more appropriate function in the test

* Extract Orch2 class which support addOperation and delOperation

* Fix two FIXME from tests

* Check parser constructors in the test

* Move Orch2 to orch.h

* Fix compilation of cfgmgr
…et#425)

* [portsorch]: Only add port stat IDs that are needed to query

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

* update comments
* Add Buffer Config Manager

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

* Added comment

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

* Ignore port speed validation if not implemented

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

* Add speed and buffer set test

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

* Removed trailing newlines

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

* Revert "Removed trailing newlines"

This reverts commit e485c35.

* Revert "Add speed and buffer set test"

This reverts commit 97206b1.
Having executors with same names results in only first being registered.

Signed-off-by: marian-pritsak <[email protected]>
This commit adds new code to support XON_OFFSET support for PFC Buffer Profile.
The XON_OFFSET value is passed from JSON file.

Verified by running the JSON file with XON_OFFSET in buffer_profile and checked
the hardware registers The setting in the hardware was reflecting the JSON values.

Signed-off-by: Harish Venkatraman <[email protected]>
)

* Run a sequence of shell commands using bash -c to minimize numbers of fork-execs in the Vlan Manager

* Use fallback mode for setting vlan filtering under the virtual switch

* Remove SWSS_LOG_DEBUG. swss::exec already has such debugs
* Add speed and buffer set test

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

* Add some comments to the test

Signed-off-by: Andriy Moroz <[email protected]>
* [PfcWd]: Make polling interval configurable

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

* rebase master

* fix the build error

Signed-off-by: Sihui Han <[email protected]>
…n order (sonic-net#445)

- Parse the column header to decide column ordering.
- Extra column(s) will be ignored.

Signed-off-by: Ying Xie <[email protected]>
prsunny and others added 28 commits April 6, 2018 08:33
* Align with swss-common table name separator changes

* Get appropriate table name separators by calling getTableNameSeparator() method

* Align with new method name
* [pfcwd]: enable BIG_RED_SWITCH mode

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

* update as comments
* Remove deprecated parameter from select()

* Convert Selectables to new interface
* [crmorch]: neighbor used counter increased twice
…other thread (sonic-net#478)

* Remove global mutex for the DB

* Don't set event notifications on the switch

* Adding notification handlers enable notification in syncd
* 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]>
* Get the switch attribute SAI_SWITCH_ATTR_QOS_MAX_NUMBER_OF_CHILDS_PER_SCHEDULER_GROUP just once

* Compress scheduler group creation time in 2.5 times

* Inprove style
…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]>
* [PFCWD]: Periodically poll WD counters

For every action handler call commitCounters on a periodic basis

Signed-off-by: marian-pritsak <[email protected]>

* Set polling interval to 1s
Without the return value check, it is possible that ifname is
empty due to interface not found.

Signed-off-by: Shu0T1an ChenG <[email protected]>
Currently orchagent crashes if crm is running. Needs to be fixed
Currently orchagent crashes if crm is running. Needs to be fixed
P.S This is actual commit that removes crm. Previous commit was to correct a typo, and has wrong commit message
@mkbalani mkbalani requested a review from krambn May 31, 2018 22:27
@mkbalani mkbalani merged commit b9cd4b7 into bf-master Jun 1, 2018
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.