Skip to content

[pull] master from Azure:master#1600

Merged
pull[bot] merged 2 commits intomudsut4ke:masterfrom
sonic-net:master
Jun 11, 2021
Merged

[pull] master from Azure:master#1600
pull[bot] merged 2 commits intomudsut4ke:masterfrom
sonic-net:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Jun 11, 2021

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

AkhileshSamineni and others added 2 commits June 10, 2021 11:42
This change has SONiC Yang model support for NAT
- Created SONiC Yang model for NAT
- Tables: STATIC_NAPT, STATIC_NAT, NAT_GLOBAL, NAT_POOL, NAT_BINDINGS.

How I did it
Defined Yang models for NAT based on Guideline doc:
https://github.com/Azure/SONiC/blob/master/doc/mgmt/SONiC_YANG_Model_Guidelines.md
and
https://github.com/Azure/sonic-utilities/blob/master/doc/Command-Reference.md

How to verify it
Added test cases to verify it.
…ta (#7712)

Why I did it
This PR adds changes in sonic-config-engine to consume configuration data in SONiC Yang schema and generate config_db entries

How I did it
Add a new file sonic_yang_cfg_generator .
This file has the functions to

parse yang data json and convert them in config_db json format.
Validate the converted config_db entries to make sure all the dependencies and constraints are met.
Add a new option -Y to the sonic-cfggen command for this purpose

Add unit tests

This capability is support only in sonic-config-engine Python3 package only
@pull pull bot added the ⤵️ pull label Jun 11, 2021
@pull pull bot merged commit 4d07bbb into mudsut4ke:master Jun 11, 2021
mudsut4ke pushed a commit that referenced this pull request Jul 19, 2021
- swss:
* 459d09b 2021-02-22 | [acl] Enable VLAN ID qualifier for ACL rules (#1648) (HEAD -> 202012) [Danny Allen]
* 60859b1 2021-02-08 | [buffermgr] Support maximum port headroom checking (#1607) [Stephen Sun]
* 3161cbb 2021-02-17 | Add SAI_INGRESS_PRIORITY_GROUP_STAT_DROPPED_PACKETS counter, create new FlexCounter group (#1600) [Andriy Yurkiv]
* 256ed9c 2021-02-08 | Support shared headroom pool on top of dynamic buffer calculation (#1581) [Stephen Sun]

- utilities:
* 30d7069 2021-02-16 | [decode-syseeprom] Refactor to utilize sonic-platform package (#1435) (HEAD -> 202012, tag: foo) [Joe LeVeque]
* 891fef4 2021-02-16 | [psuutil] Refactor to utilize sonic-platform package (#1434) [Joe LeVeque]
* 8c5e505 2021-02-17 | [sfputil] Refactor to utilize sonic-platform package (#1421) [Joe LeVeque]
* ca5dd2c 2021-02-17 | [sfpshow] Cleanup (#1405) [Joe LeVeque]
* bf489ea 2021-02-17 | Add new cli for SAI_INGRESS_PRIORITY_GROUP_STAT_DROPPED_PACKETS counter in counterpoll utility (#1355) [Andriy Yurkiv]
* 25feed3 2021-02-08 | Support shared headroom pool on top of dynamic buffer calculation (#1348) [Stephen Sun]
* aaa323a 2021-02-02 | [vrf]: Fix freezing during interface binding (#1325) [maksymbelei95]
* cc0bb6e 2021-01-27 | [show] fix "show interfaces breakout" command (#1198) [Dmytro Shevchuk]

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
pariwat pushed a commit to pariwat/sonic-buildimage that referenced this pull request Sep 10, 2021
Update sonic-sairedis submodule and also update sonic-swss submodule as there are interdependent changes.

* src/sonic-sairedis 13474d1...bc58b0f (12):
  > Add gbsyncdmgrd; deprecate gbsyncd_startup.py (mudsut4ke#809)
  > Remove gbsyncd_start.sh (mudsut4ke#808)
  > [gbsyncd] Fix shebang in gbsyncd_startup.py; Make script executable (mudsut4ke#807)
  > [saiasiccmp] Add saiasiccmp tool to compare 2 asic views (mudsut4ke#791)
  > [configure] Add -Wno-psabi to remove "passing argument changed in GCC 7.1" (mudsut4ke#799)
  > Update FlexCounter.cpp, use m_pollInterval in MUTEX lock (mudsut4ke#797)
  > [vs] Add special warm boot logic to populate default attributes (mudsut4ke#796)
  > [ci]: add vstest (mudsut4ke#795)
  > [tests] Add macsec unittest (mudsut4ke#782)
  > [debian/control] libsairedis-dev depends on libzmq5-dev (mudsut4ke#794)
  > [ci]: use build template (mudsut4ke#793)
  > Rename duplicate file name (mudsut4ke#773)

* src/sonic-swss 0b0d24c...5adb73e (47):
  > Initialize system port type variable (mudsut4ke#1681)
  > [Dynamic Buffer Calc] Enhance the field checking in table handling (mudsut4ke#1680)
  > Handle the clear request for 'Q_SHARED_ALL' (mudsut4ke#1653)
  > [MuxOrch] FDB ageout safety check (mudsut4ke#1674)
  > Deactivate mirror session only when session status is true in updateLagMember (mudsut4ke#1666)
  > Revert "[buffermgr] Support maximum port headroom checking (mudsut4ke#1607)" (mudsut4ke#1675)
  > reduce severity of log to info in case of flush on non-existing member (mudsut4ke#1669)
  > Revert "[Dynamic buffer calc] Bug fix: Remove PGs from an administratively down port. (mudsut4ke#1652)" (mudsut4ke#1676)
  > [Dynamic buffer calc] Bug fix: Remove PGs from an administratively down port. (mudsut4ke#1652)
  > [acl] Move ACL table constants to acltable.h (mudsut4ke#1671)
  > [nbrmgrd] added function to parse IP address from APP_DB (mudsut4ke#1672)
  > [MUX/PFCWD] Use in_ports for acls instead of seperate ACL table (mudsut4ke#1670)
  > [vog/systemlag] Voq lagid allocator (mudsut4ke#1603)
  > Add table descriptions for dynamic buffer calculation to the documents (mudsut4ke#1664)
  > [vstest/subintf] Add vs test case to validate processing sequence of APPL DB keys (mudsut4ke#1663)
  > Remove vxlanmgrd dependency on orchagent (mudsut4ke#1647)
  > Keep attribute order in bulk mode (mudsut4ke#1659)
  > [mux] VS test for neigh, route and fdb (mudsut4ke#1656)
  > [linksync] Netdev oper status determination using IFF_RUNNING (mudsut4ke#1568)
  > [portorch] parse on/off value from autoneg (mudsut4ke#1658)
  > [intfsorch] Create subport with the entry contains necessary attributes (mudsut4ke#1650)
  > [ci]: Purge swss before install (mudsut4ke#1654)
  > Update StateDB with error if state change failed, Update APP_DB in all state chg req (mudsut4ke#1662)
  > Added changes to handle dependency check in FdbSyncd and FpmSyncd for warm-boot (mudsut4ke#1556)
  > [synchronous mode] Add failure notification for SAI failures in synchronous mode (mudsut4ke#1596)
  > [acl] Enable VLAN ID qualifier for ACL rules (mudsut4ke#1648)
  > Updated PFCWD to use single ACL table for PFCWD and MUX (mudsut4ke#1620)
  > [orchagent] Increase SAI REDIS response timeout to support FW upgrade during init (Mellanox only). (mudsut4ke#1637)
  > [vstest/nhg]: use dvs_route fixture to make test_nhg more robust
  > [vstest]: add dvs_route fixture
  > [vstest/subintf] Update vs tests to validate physical port host interface vlan tag attribute (mudsut4ke#1634)
  > Remove useless header  in macsecorch (mudsut4ke#1628)
  > Add SAI_INGRESS_PRIORITY_GROUP_STAT_DROPPED_PACKETS counter, create new FlexCounter group (mudsut4ke#1600)
  > fixed unsupported resource issue (mudsut4ke#1641)
  > [test_virtual_chassis]: use wait_for to make test more robust (mudsut4ke#1640)
  > spell check fixes (mudsut4ke#1630)
  > [bufferorch] Handle NOT IMPLEMENTED status returned during set attr operation (mudsut4ke#1639)
  > [ci]: run vstest
  > [test_virtual_chassis]: use wait_for function to improve test robustness
  > [Mux] Neighbor handling based on FDB entry (mudsut4ke#1631)
  > [ci]: use build template (mudsut4ke#1633)
  > Log level change from ERR to INFO for fetch systemports issue (mudsut4ke#1632)
  > Migrate serdes programming to port serdes object (mudsut4ke#1611)
  > [tests] Remove legacy saiattributelist.h dependency (mudsut4ke#1608)
  > [buffermgr] Support maximum port headroom checking (mudsut4ke#1607)
  > Support shared headroom pool on top of dynamic buffer calculation (mudsut4ke#1581)
  > Fix the compiling errors in gcc9 (mudsut4ke#1621)
pariwat pushed a commit to pariwat/sonic-buildimage that referenced this pull request Sep 10, 2021
[config]Static routes to config_db (mudsut4ke#1534)
[DPB]: Shut down interface before dynamic port breakout (mudsut4ke#1303)
[vlan] remove dhcp-relay as dhcp-relay commands will come as a plugin (mudsut4ke#1378)
Add 'default' option for sFlow. (mudsut4ke#1606)
[Command-Reference.md] Document new SNMP show and config commands (mudsut4ke#1600)

Signed-off-by: Shlomi Bitton <shlomibi@nvidia.com>
mudsut4ke pushed a commit that referenced this pull request Nov 19, 2021
9dd3025 2021-05-11 | [Command-Reference.md] Document new SNMP show and config commands (#1600) [Travis Van Duyn]
be40767 2021-05-05 | [show][config] Add new snmp commands (#1347) [Travis Van Duyn]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants