-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[baseimage] Install package without starting service #171
Conversation
#!/bin/sh | ||
exit 1 | ||
EOF | ||
sudo chmod a+x $FILESYSTEM_ROOT/usr/sbin/policy-rc.d |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we also need to remove this file after finish? #Resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I mean remove this file from the base image #Resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually trap_push line will remove this file, either on normal exit or on error.
In reply to: 94189805 [](ancestors = 94189805)
* Update src/sonic-mgmt-framework from branch 'broadcom_sonic' to d32b61e0ca8053233ea9a8a8b0038fc4e8ee5bed - Merge "[ JIRA SONIC-10470 ] merge dell_sonic --> broadcom_sonic 11062019" into broadcom_sonic - [ JIRA SONIC-10470 ] merge dell_sonic --> broadcom_sonic 11062019 Change-Id: I316bd5bd683572c579595e686db18d2f1f2487a8 - Merge pull request sonic-net#249 from project-arlo/brcm_poc1101 Merge brcm_poc1101 --> master correction - Merge broadcom_sonic --> brcm_poc1101 correction * The processUpdatePhyIntfLagAdd() function got added twice by the git merge on src/translib/phy_intf.go. Fixed this. - Merge pull request sonic-net#248 from project-arlo/brcm_poc1101 Brcm poc1101 - Merge remote-tracking branch 'broadcom/broadcom_sonic' into brcm_poc1101 - Merge pull request sonic-net#242 from project-arlo/transformer-phase2 Merge Transformer phase2 changes - Merge branch 'master' into transformer-phase2 - Take care of type convertion for ints - Merge pull request sonic-net#238 from project-arlo/fix-code fix member removal code, issue sonic-net#227 - Merge pull request sonic-net#237 from project-arlo/transformer-phase2 fix the annotation model error - fix member removal code Signed-off-by: Tejaswi Goel <[email protected]> - fix the annotation model error - Merge pull request sonic-net#236 from project-arlo/transformer-phase2 Merge Transformer phase2 to master - Merge branch 'master' into transformer-phase2 - added code to properly handle the yenum, yint64 and yuint64 - Merge branch 'transformer-phase2' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase2 - added data type handling for yang modules having tbl-xfmr and field-xfmr - Merge branch 'master' into transformer-phase2 - Add table name retrieved from extract function to create DbMap for Delete - Merge pull request sonic-net#232 from project-arlo/fix-code Remove not required log statement - Remove not required log.Error statement Signed-off-by: Tejaswi Goel <[email protected]> - sFlow code enhancements (sonic-net#228) * Use constant for sFlow default port. * Add tighter input restrictions on sFlow YANG. Signed-off-by: Garrick He <[email protected]> - catch error in valiating annotation files - Merge pull request sonic-net#224 from project-arlo/sflow sFlow Support - Add CLI support for sFlow global configurations * Add CLI support for all sFlow global configurations Signed-off-by: Garrick He <[email protected]> - Update sFlow YANG * Update sFlow YANG and annotations. Signed-off-by: Garrick He <[email protected]> - Merge pull request sonic-net#206 from project-arlo/sonic_host_service Add SONiC Host Service package and infrastructure - Add SONiC Host Service package and infrastructure This change adds infrastructure to create a host-side server that will respond to specific requests over D-Bus. The intention is to let clients that run within a container to query the host for the registered requests. This also includes infrastructure in Translib to request the host to perform some service. This is primarily used for implementing actions that must be done in the host system, such as image management, show techsupport, ZTP, etc. - Merge pull request sonic-net#192 from project-arlo/dell_fdb_cli FDB backend support - Merge branch 'transformer-phase2' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase2 - Create transaction cache - added code to have tablename if the inner container or list is annotated with tablename and parent with tbl xfmr - Addressing comments - Merge pull request sonic-net#217 from project-arlo/portchannel Added config false statements in the containers just for Get support - Call subtree transformer for delete case - Added config false statements in the containers just for Get support Signed-off-by: Tejaswi Goel <[email protected]> - PortChannel Feature support (sonic-net#154) * Support for VLAN configuration (not complete) * Support for member addition to vlan(tagged & untagged) * Rearranging Interface app module code. * Working code for creating vlan, adding tagged/untagged port to vlan, and deletion of vlan. * Refactoring intf_app.go to accomodate all the interface types.wq * Support for access-vlan delete, working vlan create, tagged/untagged add, access/trunk mode config alone and removal of untagged. * XML coding for VLAN commands * CLI and python binding completion with testing and untagged vlan config validation. * Tested and working code for all the VLAN test cases except tagged VLAN delete, with validations added.x * Fixed the build failure. * Correcting the valid error message to be thrown to front-end. * Rearranging the get code, cleanup and add the support for vlan-info. * Tested the vlan-list get support for all the interfaces and specific interface * Working code for get-support for individual attributes. * Working code for config, add/remove member-ports, and get support. * Cleanup of the comments and logs. * Cleanup of the code. * Added the copyright header for new files. * Support for ignoring request for same config and for meaningful error for tagged/untagged configs to front-end. * Code change for Portchannel create and members add Signed-off-by: Tejaswi Goel <[email protected]> * Support for CLI support-VLAN after merging with cleaned up CLI skeleton changes. * Support for #show vlan [<id>] command using sonic-yang. * Working delete PortChannel code Signed-off-by: Tejaswi Goel <[email protected]> * Support for deletion of trunk-vlan instance, its associated CLI support and bug fix in #show vlan command. * Cleanup of the yang files in models/yang directory and cvl directory * Bugfixes for individual get and panic warnings. * Support for state container attribute get for VLAN * Code for adding and removing members from PortChannel Signed-off-by: Tejaswi Goel <[email protected]> * Code changes for configuring PortChannel Signed-off-by: Tejaswi Goel <[email protected]> * Fix code and augment data model Fix mtu config for PortChannel augment openconfig-if-aggregate.yang Signed-off-by: Tejaswi Goel <[email protected]> * CLI support code changes Signed-off-by: Tejaswi Goel <[email protected]> * Added a note for initializing DS at the beginning. * Code changes for PortChannel attributes config Signed-off-by: Tejaswi Goel <[email protected]> * Code changes for show command Signed-off-by: Tejaswi Goel <[email protected]> * Changes in sonic YANG models Signed-off-by: Tejaswi Goel <[email protected]> * Changes for Get commands Signed-off-by: Tejaswi Goel <[email protected]> * Fix: IP config not reflecting on Linux Kernel Fix IP config not reflecting on Linux Kernel Fix indentations Signed-off-by: Tejaswi Goel <[email protected]> * Add code for PortChannel REST UT Signed-off-by: Tejaswi Goel <[email protected]> * Address review comments Signed-off-by: Tejaswi Goel <[email protected]> * Address review comments Signed-off-by: Tejaswi Goel <[email protected]> - UPDATE case, leaflist handling - if existing entry does not have leaflist and incoming has, then instead of merge just add the leaflist as new field - Merge pull request sonic-net#208 from project-arlo/PVST_CLI Added CLI support for xSTP(PVST and RPVST) - Merge branch 'transformer-phase2' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase2 - Support adding a table instance with empty field/value(NULL/NULL) only when no fields present under that instance - bug fixes and RPVST additional comands - Merge branch 'master' of https://github.com/project-arlo/sonic-mgmt-framework into PVST_CLI - add support for RPC callback using yang extension - Merge branch 'transformer-phase2' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase2 - GET case - Added Datatype conversion for key leaf, when ther is no key-transformer - Merge branch 'master' into transformer-phase2 - Add defaults only for non leaf case - Merge pull request sonic-net#202 from project-arlo/bsun-mgmt-vrf add xml and jinja template for mgmt vrf - Merge branch 'transformer-phase2' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase2 - Support creating a table instance with no fields, when yang list doesn't have non-key(direct child) leaf that maps to a redis-field and all child containers map to a different table than the one annotated at parent list level - Ignore parent key if the keyXfmr or keyName is available - Resolving merge conflict - merge conflict - use ip vrf for configuration - address review comments - oc-yang default value fill support for models having table-xfmr - Merge pull request sonic-net#205 from project-arlo/transformer-phase2 enabled post-xfmr support for repalce and update operation and defaul… - enable field-xfmr support while filling yang default values - enabled post-xfmr support for repalce and update operation and default value fill for replace - Merge branch 'PVST_CLI' of https://github.com/project-arlo/sonic-mgmt-framework into PVST_CLI - Added CLI support for Spanning Tree Prtocol (PVST and RPVST) config and show commands - Added CLI support for PVST and RPVST config and show commands - Merge pull request sonic-net#204 from project-arlo/transformer-phase2 Merge Transformer phase2 changes - Remove stale files - Add missed out goyang.patch file - Merge branch 'transformer-phase2' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase2 - Add goyang patch rule in Makefile - corrected a log message - Merge branch 'master' into transformer-phase2 - Handle deletion at sonic module level - Common app changes to use the CVL table ordering for CRUD operations - add xml and jinja template for mgmt vrf - Merge pull request sonic-net#199 from project-arlo/vlan_feature Added config false statements in the containers just for Get support - Integrate with CVL orderdered and dependency table list : 1.) Create a cache map of sonic module to oredered tables and tables to watch 2.) Provide APIs to lookup ordered tables and tables to watch on CRUD request for a given table and module name - Merge branch 'master' of https://github.com/project-arlo/sonic-mgmt-framework into vlan_feature - Corrections in the vlan yang for get only container - Addressing comments - Merge with latest changes for Unmarshall fix - Add default rule for ACL - Support get case for outerlist not associated with redis table but inner containers/lists mapped to global redis tables. - Merge branch 'transformer-phase2' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase2 - Unmarshall related fixes for translib ygotTarget population covering : 1.)Leaf level Get 2.)List level Get without specifying any instance - sFlow CLI implementation * Update sFlow YANG to support only 2 collectors. * Update sFlow CLI actioner script to do proper functions. * Update .j2 templates to properly render sFlow information. Signed-off-by: Garrick He <[email protected]> - Merge branch 'transformer-phase2' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase2 - Yang default value fill support: for oc-yang having tablename annotations - Unmarshal fix for list instance level Get - clean up code - Merge branch 'brcm_license' - Unmarshal failure fix(partial) - GET query for inner conatiner and list with instance - Merge branch 'master' into dell_fdb_cli - FDB backend support - added code to support non-key based table entries but with yang-key - added code to call the subtree xfmr annotated at top level - Annotate sFlow YANG + update actioner script * Annotate sFlow YANG to query applDB for session information. * Update sFlow actioner script. Signed-off-by: Garrick He <[email protected]> - container level GET - exit after processing subtree transformer - FDB backend - Merge pull request sonic-net#191 from project-arlo/brcm_poc Brcm poc - Merge remote-tracking branch 'broadcom/broadcom_sonic' into brcm_poc - Merge pull request sonic-net#190 from project-arlo/master sonic-mgmt-framework: master --> brcm_poc - Fixes for bugs sonic-net#180 and sonic-net#186 (sonic-net#188) - Fixes for bugs sonic-net#180 and sonic-net#186 - Merge branch 'master' of https://github.com/project-arlo/sonic-mgmt-framework into vlan_feature - Dell ztp dev (sonic-net#184) * cli without backend for ztp * cleaning up xml - fix for list key not being added to uri to list level get(no instance specified) - Fix subtree transformer nil map/crash issue(OC-Interface/counters issue) - Optimization for not building tree when the targetURI is not supported (sonic-net#182) * Optimization for avoiding the processing if the URI is not what we support - Merge branch 'master' of https://github.com/project-arlo/sonic-mgmt-framework into vlan_feature - Optimization for avoiding the processing if the URI is not what we support - Merge branch 'master' into sflow - Update sFlow YANG * Update sFlow YANG and Annotation file. Signed-off-by: Garrick He <[email protected]> - Add module name to dbSpecMap - Support for VLAN feature. (sonic-net#162) * VLAN feature branch with changes for config and get support. * Resolved the conflicts and added the new changes wrt yang and tested, * Addressed the review comments. - added code to get the keyname from container - Merge pull request sonic-net#178 from project-arlo/transformer-phase2 Merge Transformer phase fixes to master - retrieve key value for annotated key entry in sonic yang - retrieve key value for annotated key entry in sonic yang - Addressed the review comments. - Merge branch 'master' into sflow - Merge branch 'master' of https://github.com/project-arlo/sonic-mgmt-framework into dell_fdb_cli - fixed yang leaf NONE to NULL field-value pair issue in return map. - Merge pull request sonic-net#176 from project-arlo/master syncing master to brcm_poc - Merge branch 'master' into transformer-phase2 - Handle Table transformer Get on list instance level - Merge branch 'master' of https://github.com/project-arlo/sonic-mgmt-framework into vlan_feature - Merge pull request sonic-net#171 from project-arlo/brcm_poc Brcm poc - Merge branch 'master' into brcm_poc - Merge broadcom/broadcom_sonic --> project-arlo/brcm_poc - Merge branch 'master' of https://github.com/project-arlo/sonic-mgmt-framework into dell_fdb_cli - CLI skeleton support for FDB Mac (sonic-net#141) - CLI support without backend (sonic-net#145) - Merge branch 'master' into sflow - Annotate sFlow YANG * Annotate sonic-sflow.yang Signed-off-by: Garrick He <[email protected]> - Merge pull request sonic-net#167 from project-arlo/transformer-phase2 Exclude annotation file from generating ocbinds, fix Makefile - Fixed list instance level GET issue - add back the cv/schema/*yin - fix Makefile in installing yang files from cv/schema - exclude annotation file from generating ocbinds - Merge pull request sonic-net#160 from project-arlo/cvl_enhancement CVL enhancements - Merge pull request sonic-net#164 from project-arlo/transformer-phase2 merge transformer phase-2 to master : Clean up of files and add missed items during previous merge - Clean up of files and add missed items during merge - resolving merge conflict - Resolved the conflicts and added the new changes wrt yang and tested, - Merge branch 'master' into sflow - Move sonic-sflow.yang * Move sonic-sflow.yang file to proper location Signed-off-by: Garrick He <[email protected]> - Merge pull request sonic-net#161 from project-arlo/master Syncing project-arlo/sonic-mgmt-framework master to brcm_poc - Merge branch 'master' of https://github.com/project-arlo/sonic-mgmt-framework into vlan_feature - Minor changes - Adding test cases for 'max-elements' - Adding max-elements check - Merge branch 'cvl_enhancement' of https://github.com/project-arlo/sonic-mgmt-framework into cvl_enhancement - CVL API for fetching dependent and ordered Redis table list - Fix for random UT failure - Merge pull request sonic-net#158 from project-arlo/transformer-phase2 Merge transformer phase 2 to arlo master - Merge branch 'master' of https://github.com/project-arlo/sonic-mgmt-framework into vlan_feature - Merge branch 'master' into transformer-phase2 - revert accidently added local changes in xspec.go - merge conflict resolution on xlate_to_db.go - Sonic yang restructuring fix terminal node leaf/leaf-list cases - Merge pull request sonic-net#157 from project-arlo/arlo_bug_fix Bug fix for showing G instead of GB - Add Copyright info - Bug fixed for not showing GB instead of Gx - Merge branch 'master' of https://github.com/project-arlo/sonic-mgmt-framework into arlo_bug_fix - VLAN feature branch with changes for config and get support. - Merge branch 'master' into transformer-phase2 - Use new xpathPredicate function that removes augmented module name in the uri - Get for sonic yang at instance level to return single instance data - support table transformer - GET case on leaf or nested container - Merge branch 'master' into sflow - Merge pull request sonic-net#155 from project-arlo/transformer-phase2 Restructured sonic yang changes - Make file changes to generate sonic yaml files - Merge branch 'master' into transformer-phase2 - Merge pull request sonic-net#143 from project-arlo/cvl_changes_sonic_yang CVL changes for SONiC YANG - Fix the leaf level get for restructured sonic yang - Handle delete for restructured sonic acl - Merge branch 'master' into sflow - Fix sFlow YANG error * Remove sonic-ext from sFlow YANG. Signed-off-by: Garrick He <[email protected]> - Merge branch 'transformer-phase2' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase2 - transformer infra support for revised sonic-yang GET req - Strip augmented module names in xpath to reference xYangSpecMap - Handle delete for restructured sonic yang - Merge branch 'transformer-phase2' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase2 - Fixed table transformer GET case issues : 1.) calling table-transformer for each leaf when doing a get on parent conatiner(OC-interface) 2.) dbMapData not getting filled for container query in dbDataToYangJsonCreate - rearranged the code to call the table transformer and collect data before calling the subtree-transformer overloaded method. - added code to support reading db data for get req per revised sonic-yang - sFlow CLI Template (sonic-net#147) * sFlow CLI template * Add XML skeleton for the sFlow CLI * Add actioner script * Add renderer template Signed-off-by: Garrick He <[email protected]> - Management interface cli tree, actioner implementation and sonic yang for management port and interface config handling. (sonic-net#153) - xspec map and cru support in transformer infra per revised sonic-yang and changed the api-names from cvl to sonic - Merge pull request sonic-net#152 from project-arlo/transformer-phase2 Include unique namespace, Use the prefix of the including module - Merge branch 'master' into transformer-phase2 - Include unique namespace, Use the prefix of the including module - Merge pull request sonic-net#150 from project-arlo/transformer-phase2 Include the prefix for the module where the grouping is used in annotation template - Merge branch 'master' into transformer-phase2 - Include the prefix for the module where the grouping is used in annotation template - Merge branch 'master' into sflow - sFlow YANG extension * Add sonic-ext for sFlow YANG. Signed-off-by: Garrick He <[email protected]> - Merge pull request sonic-net#148 from project-arlo/transformer-phase2 Merge Transformer changes to master - Added table transformer extension - Merge branch 'transformer-phase2' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase2 - Added table transformer method prototype. - Import module name of the annotated module in annotate template file - Merge branch 'master' into transformer-phase2 - Handle nested db-name annotations for oc - sonic yang get case handling for table instance level - fix for vlan get-req crash - Merge pull request sonic-net#134 from project-arlo/cli-portChannel CLI skeleton for Port channel - Changed processLeafList() function name to checkAndProcessLeafList() , added comments and removed unnecessary logs in common app - Correct naming convention for Interface commands Signed-off-by: Tejaswi Goel <[email protected]> - Addressing commens - Add check for no xfmrFunc defined case - OC Yang Get case - DB type based key-delimiter support in transformer core - Merge branch 'master' into cvl_changes_sonic_yang - Updated Makefile - Merge branch 'transformer-phase2' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase2 - added key-name support for oc yang and support to create and push table with just the keys and no field-value data in to redis. - Addressing comments, correcting indentation and adding LAG_ID into sonic types for supporting port-channel ptype - Merge branch 'transformer-phase2' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase2 - workaround for VLAN_MEMBER_TABLE list level get due to translib.generateGetResponsePayload() failure - Chk for list type to create keySpec - Add checks for xpath entry in xYangSpecMap and xDbSpecMap - Changes in show port-channel command Signed-off-by: Tejaswi Goel <[email protected]> - Data base specific key-delimiter support in transformer core - Sonic Get case - CLI skeleton support for FDB Mac - added support for sonic yang non-config db get request - added code to pass the current ygot node to the key xfmr function - added support to invoke container level key transformer - Fix table get in Traverse for App DB with ":" separator - Add sFlow YANG * Add SONiC sFlow YANG Signed-off-by: Garrick He <[email protected]> - More changes for CVL YANG - Fill cvl KeySpec with DbName read from annotation - Merge branch 'transformer-phase2' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase2 - basic support for sonic-yang annotation - Enhanced transformer core to support user-defined key-delimiter/concatenater - Merge branch 'master' of https://github.com/project-arlo/sonic-mgmt-framework into cli-portChannel Signed-off-by: Tejaswi Goel <[email protected]> - Merge pull request sonic-net#129 from project-arlo/vlan_cli_skeleton CLI skeletion for VLAN feature: config, show and its templates - Changes to remove dummy json file Signed-off-by: Tejaswi Goel <[email protected]> - Merge branch 'transformer-phase1' into transformer-phase2 - changed the xSpecMap to xYangSpecMap for code clarity and added new file with transformer-constants - Merge pull request sonic-net#138 from project-arlo/transformer-phase2 Extend annotations for augmentations in oc-yang - Handle nested groupings for augmentation - Cleanup of the xml files - Fixed alignment of XML files - Addressing the comments mentioned - Extend annotations for augmentations in oc-yang - support for table transformer for crud and get operation - Merge pull request sonic-net#137 from project-arlo/transformer-phase2 Add the missing lines from merge conflicts - add missing lines from transforer-phase1 - CVL API for fetching dependent and ordered Redis table list - copy the misisng lines from transformer-phase1 - Fix issues in initial commit for table transformer - Initial support for table transformer - Merge pull request sonic-net#135 from project-arlo/transformer-phase1 Transformer phase1 - CVL changes for SONiC YANG - Merge remote-tracking branch 'remotes/origin/cvl_changes_sonic_yang' into cvl_enhancement - CVL changes for SONiC YANG - Add post transformer infra - sync from master into transformer-phase1 branch - CLI skeleton for Port channel Signed-off-by: Tejaswi Goel <[email protected]> - Merge pull request sonic-net#133 from project-arlo/cvl_yang_cleanup Update Makefile - Update Makefile Add rule to compile test YANG schema - Fix for random UT failure - add the union type - Changes for supporting show command with dummy data - Updated the ygot patch file - Cleanup of unused code - Made changes to keep the patch files into single patch file - CLI skeletion for VLAN feature: config, show and its templates - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - table transformer support - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - For a Get req on individual terminal node- Fix overloaded function processing, data-type conversion and leaf-list check handling - fix the uint64 encoding, fix the ygot bug in handling the union type of leafref - Add error handling in xlate_utils.go - update broadcom license to the diff files which are created for patching ygot files - error handling and code clean-up - update broadcom license and made changes to keep the diff file in the ygot-modified directory - Merge pull request sonic-net#125 from project-arlo/cvl_yang_cleanup Cvl yang cleanup - Merge pull request sonic-net#124 from project-arlo/brcm_license Broadcom license changes - Update License statement - Updated License statement - Merge remote-tracking branch 'remotes/origin/cvl_yang_cleanup' into cvl_changes_sonic_yang - Updated new Makefile with license, copy schema from testdata/schema also. - Delete file checked in mistakenly. - Updated Makefiles - Moving unwanted CVL YANG to testdata - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - move json creation for sonic-yang to map - Add copyright/license headers (sonic-net#123) Signed-off-by: Tejaswi Goel <[email protected]> - Add validate callback function support for acl. Children will inherit parent validate handler - DB Access Layer: Update Broadcom License - Update broadcom license - Updated License statement - update broadcom license for pyang plugin for openAPI - Update license header - Updated license statement for REST server sources - fix license header - Fixed variable scope issue while processing leaf data to redis DB format - Merge pull request sonic-net#122 from project-arlo/brcm_poc Merge BRCM fixes as of 13 Sep to master - Merge remote-tracking branch 'project-arlo_sonic-mgmt-framework/brcm_poc' into broadcom_sonic Change-Id: Idd2530ddb4b875ee64cfd1755fb6f845b3a63aea - Merge branch 'broadcom_sonic' of ssh://gerrit-lvn-07.lvn.broadcom.net:29420/sonic/sonic-mgmt-framework into broadcom_sonic Change-Id: I7b885d5dbb4afe7b64162663ef9ea837ed738478 - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - provision to get data for sibling container from the module level - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - Set case - leaf-list support in transformer core for OC yang - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - add the field transformer for forwarding-action - Get case - leaf-list support in Transformer core for Sonic and OC yang. - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - added yang annotations - Merge branch 'master' of https://github.com/project-arlo/sonic-mgmt-framework into arlo_bug_fix - Merge pull request sonic-net#118 from project-arlo/brcm_poc Bug Fixes from Broadcom as of 12th Sep - Merge pull request sonic-net#119 from project-arlo/master Dell Defect fixes - 13th Sep - Bugfix for creating 2 interface entries when IP is configured, and when interface comes up as L2. (sonic-net#116) - Fix: Incorrect LLDP neighbor TTL (sonic-net#117) * Remove the TTL information from CLI and GNMI output because LLDP neighbor TTL information is currently not stored in appDB. Signed-off-by: Garrick He <[email protected]> - Fix top level delete - Merge remote-tracking branch 'project-arlo_sonic-mgmt-framework/brcm_poc' into broadcom_sonic Change-Id: I1f4e8d1fb21d6460ce97ba92db0e4b3e7a2de9a4 - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - Fix crash during update request to leaflist - add get-validate to validate a YANG node durin data translation back to YANG response - Adding Interface table entry with just name, before the one with ifname and IP. - Fis get leaf crash, remove unsed annotations - fix the build error - Merge pull request sonic-net#111 from project-arlo/master merge mgmt-framework bug fixes from Dell - 12th Sept - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - cleanup code to showcase overloaded methods - Fix crash for get leaf query - added unit8 yang data0type support for get-req - fix for show process not working (sonic-net#110) - Merge branch 'master' of https://github.com/project-arlo/sonic-mgmt-framework into arlo_bug_fix - Fix for bugs 96, 97 and 107 (Speed is not displaying properly) (sonic-net#109) * Fix for not showing description when description is configured as part of #show interface command. * Addressing the crash when max mtu is set as 9276. Currently supported max-mtu is 9216. * Fix for bugs 96, 97 and 107 * Addressed the comment to sort the speed * Change MAX_MTU to 9216 in platform_dummy file as well, since it overwrites it. - Change MAX_MTU to 9216 in platform_dummy file as well, since it overwrites it. - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - fix to exclude key-leaf data populating db-filed value and removed commented lines in xmfr_acl - Fix sonic get query failure - Addressed the comment to sort the speed - Fix for bugs 96, 97 and 107 - Merge branch 'master' of https://github.com/project-arlo/sonic-mgmt-framework into arlo_bug_fix - make common-app as default to handle acl, add the field-xfmr for acl type - modified acl-key xfmr to return integer and enhanced the get-req handling in common app. - Signature chnage for transformer functions - Merge pull request sonic-net#105 from project-arlo/master fix path in on-change subscribe code - Merge pull request sonic-net#104 from project-arlo/fix/on-change-subscribe fix path in on-change subscribe code - fix path in on-change subscribe code Signed-off-by: Tejaswi Goel <[email protected]> - removed mistakenly added CVL disabling in common_app.go - Initial leaf-list support - common app modifications - Merge pull request sonic-net#103 from project-arlo/master Bug-fix for crash when max mtu 9276 is configured. (sonic-net#93) - Merge pull request sonic-net#102 from project-arlo/brcm_poc CVL performance improvements and test code - Merge remote-tracking branch 'project-arlo_sonic-mgmt-framework/brcm_poc' into broadcom_sonic - Initial Traverse multi DB support - enhanced transformer to handle leaf level get-req - Bug-fix for crash when max mtu 9276 is configured. (sonic-net#93) * Fix for not showing description when description is configured as part of #show interface command. * Addressing the crash when max mtu is set as 9276. Currently supported max-mtu is 9216. - Merge branch 'master' of https://github.com/project-arlo/sonic-mgmt-framework into arlo_bug_fix - Addressing the crash when max mtu is set as 9276. Currently supported max-mtu is 9216. - Addressed merge conflicts. - Added map-format output data for get-request - Merge pull request sonic-net#92 from project-arlo/master Display description in `show interface` command. (sonic-net#91) - For Get case added support to retrieve attributes in config conatainers that serve as the keys for list enclosing that config conatiner. eg acl-entry/config/sequenec-id - Resolved merge conflicts - Enhanced the xfmr functions, added flag for key leaf, updated get req apis to use enhanced xfmr handlers - Display description in `show interface` command. (sonic-net#91) - Fix for not showing description when description is configured as part of #show interface command. - removed commented put code for table order in xlate_from_db.go - In dbDataToYangJsonCreate() added support to fetch table order from schema ordered table list maintained per module in xDbSpecOrdTblMap - remove commented out code from transformer xfmrHandlerFunc - Fix ygot issue in transformer by propagating ygRoot from app to transformer core - Added API GetAndXlateFromDB() that clubs together genration of KeySpec and DB traversal for genric query(common app) - support to call transformer spl handler functions for get operation - Initial support for YANG extension to allow the Transformer to set the DB names - Update DB ordered map for oc yang - Modify list of tables to watch to be the list of all tables in a module/yang corresponding to incoming request, instead of just the subset of tables derived from incoming request. - Addressed issue in passing data to field transformer method, addresed issue in populating db entries in transformer methods. - Merge pull request sonic-net#85 from project-arlo/master Merge CLI pipe support from Dell - Merge pull request sonic-net#82 from project-arlo/pipe-support Pipe and Pagination support - Support to have common app registered as default/fallback app when no registration found from any other app in translib for a particular yang path - Revert "Delete klish_insert_pipe.py" This reverts commit 52aa907b1c0c2278133f4a5d9dde88680c2ddfd7. - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - Populate Yang model list based on models_list manifest file and sonic yang files in /usr/models/yang dir - Handle delete for top level oc acl xpath request - Really mv models models_list - Renamed file models to models_list - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - Added transformer config file to specify list of yang models needs to be loaded at startup - support leaf value delete for oc yang - Add missing change from master * Add missing change to fix a lldp bug from master Signed-off-by: Garrick He <[email protected]> - Merge branch 'master' into pipe-support - Delete klish_insert_pipe.py src/CLI/clitree/scripts/klish_insert_pipe.py was not used. so deleting... - Added annotation for l2/config/ethertype attribute. - Remove debug flags * Remove debug flags from klish Makefile Signed-off-by: Garrick He <[email protected]> - Undo all changes to klish-2.1.4.tgz file * Remove all changes made to klish-2.1.4.tgz file since we're using patches during buildtime. Signed-off-by: Garrick He <[email protected]> - Merge branch 'pipe-support' of https://github.com/project-arlo/sonic-mgmt-framework into pipe-support - Code clean-up and enhancements * Cleaned up and enhanced some code. * Add patch file to enable pipe support to klish. Signed-off-by: Garrick He <[email protected]> - Code clean-up and enhancements * Cleaned up and enhanced some code. Signed-off-by: Garrick He <[email protected]> - Merge branch 'master' into transformer-phase1 - Merge pull request sonic-net#81 from project-arlo/master sync Dell changes to broadcom - Merge pull request sonic-net#80 from project-arlo/brcm_poc Brcm bug fixes - corrected the uri for field transformer - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - fixed leaf level get for oc-yang - Added error handling for system and platform components and commands. (sonic-net#78) - Update the correct input json file name for create test case - For delete case added support for deletion as per table ordering, restructured common app accordingly - Add pipe support for all show commands Signed-off-by: Garrick He <[email protected]> - Support for pipe * Add support for pipe commands: grep, find, except Signed-off-by: Garrick He <[email protected]> - Merge branch 'master' into pipe-support - Fix get request for top level container - Use "|" as delimited for CVL keys - Merge branch 'pipe-support' of https://github.com/project-arlo/sonic-mgmt-framework into pipe-support - Initial commit of pagination support in sonic CLI - Merge pull request sonic-net#79 from project-arlo/brcm_poc Sync BRCM changes to staging area - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - Set case for Sonic yang - Added support for leaf-list handling in transformer - Send proper key formed for cvl yang delete case - xpath, tablename and key extraction for cvl yang - Initial commit of pagination support in sonic CLI - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - fixed crash in update request - Added support for table level delete in common app - Delete case:: Handle db request create for CVL yang - Update klish code in tar file * update klish code in tar file to fix crash Signed-off-by: Garrick He <[email protected]> - Fix: Klish crash * fix clish crash by updating Makefiles Signed-off-by: Garrick He <[email protected]> - For CVL yang modified accessing yag entries to accessing them in yang yang schema order maintained in DirOKeys field of yang-entry generated by goyang-patch - Transformer Infra support to create a yang schema ordered DB table list for CVL yang - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - changed the value parsing in xfmr handler funtions - Merge pull request sonic-net#77 from project-arlo/rebased_intf_sort Fix for IP address validation - Bugfixes for IP validation - Merge branch 'master' of https://github.com/project-arlo/sonic-mgmt-framework into rebased_intf_sort - Fix data being overwritten to JSON response. Include print to file - Handle container level DbData creation for CVL yang to generate JSON response - Handle DB Spec creation for CVL yang case - Goyang patch to introduce "ordered by insertion" list entry in yang.Entry - Avoid using index values to identify the table and field names in cvl xpath parsing - Add support for cvl yang db KeySpec creation and filter dbData for json creation - fixed crash in app transformer special handling code, added code to create full uri with key name-value pair and enabled the field transformer handling part. - fix xpath build from uri - Initial support for leaf value retrieval in Get. Include only required field data in dbResponse - restructure acl_app.go - Get handling: Send DB data to transformer to form json response - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - Modifed DB operations in common app : For CREATE operation if entry/row instance already exists then return error For UPDATE operation if entry/row instance does not exist then return error - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - Enabled key, field and subtree overloaded-transformer-function exec from transformer infra - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - call transformer.XlateUriToKeySpec() from processGet instead of tranlateCreate() Reverted the siganture chnage of translateCreate() and processGet() due to above change - Modified Transformer method prototypes to pass operation type for xfmr methods. - Added db pointer argument to transformer.XlateToDb() - updated transformer function signature to include db, got and oper type. - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - enabled oc yang to db map create creat request - Removed accidently added src/cvl/schema/allyangs_tree.html - Added support to pass in the operation type from apps to transformer XlatetoDB - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - common app - Added support for basic level DB operations - Add sonic-acl UT tests Signed-off-by: Tejaswi Goel <[email protected]> - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - updated cvl-yang handling for create request - XlateyangtoDB return sibilings as array of KeySpecs - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - Fixed issue in handling interface binding if stage is not specified by the client in YangToDb_acl_port_bindings_xfmr xfmr method. - cvl yang get support from top-level container and added util functions - XlateUriToKeySpec: Use parent with empty table name and add children to it - corrected function siganature in common app for transformer.XlateUriToKeySpec - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - modified common app translateGet and processGet signatures - Integrate Translate yangpath to redisDB KeySpec (XlateUriToKeySpec) - part 1 - integrate translib with transformer - Added DbToYang_acl_port_bindings_xfmr method to handle db to OC conversion of port mapping to acl set - Delete duplicate XML files * Delete duplicate XML files that were moved to include directory Signed-off-by: Garrick He <[email protected]> - Fix: Makefile * Update Makefile to add new xml files to debian package Signed-off-by: Garrick He <[email protected]> - On change subscribe lldp (sonic-net#76) * on-change subscribe support for lldp neighbors Signed-off-by: Tejaswi Goel <[email protected]> - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - Updated details of nested child table in xspec map. Support to convert top-level db-map data to output json file, for get request. - In common app added support to generate Tables to Watch dynamically - fix: LLDP CLI traceback (sonic-net#75) * Fix a traceback seen when using lldp show CLI and there are no LLDP neighbors configured. Signed-off-by: Garrick He <[email protected]> - Modified acl xfmr methods prefix Read_/Write_ to YangToDb_/DbToYang_ - Added PathInfo to Common App structure - Updated xdbspec to include yang-xpath info and modified db-xpath creation only for valid types - Support for update, replace and delete request - Added support to get child table name and corrected the key gen from uri - Changing subscribe from default to on-change. (sonic-net#74) * Support for on-change subscribe instead of default sample. * Changing ptype as 1 to OnChange - Corrected the src/cvl/schema/Makefile and fixed a commented out line - Changing ptype as 1 to OnChange - Support for on-change subscribe instead of default sample. - Build tool chain changes to generate : 1.) Swagger end points for Sonic/CVL yangs 2.) ocbindings/ygot bindings for Sonic/CVL yang - Initial changes for transformer methods prototypes and ACL transformer method implementation. - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - Changed the function names and file name - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - Validating Interface for on-change subscribe and cleanup. (sonic-net#73) * Validating interface for on-change subscribe. * Cleanup of the code, - Extend goyang to generate template annotation file - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - Transformer spec enhancement, oc yang & cvl yang incoming request handler. - Initial commit - Common app registration - Get support for interface state counters (sonic-net#70) - Initial Commit * Add all pipe related xml files into clitree * Add executable permission to build script for pipe support Signed-off-by: Garrick He <[email protected]> - Merge branch 'master' into transformer-phase1 - Merge pull request sonic-net#72 from project-arlo/brcm_poc sync brcm changes to staging area - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - Excluded annotations directory from ocbindings Corrected path in acl annotations - Fixed issue in passing the yang files list to transformer LoadYangModules method. - Moved openconfig-acl-annot.yang to annotations directory and added Makefile rule to have it installed on target - Added initial version of deviations for openconfig-acl covering Set cases. - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - Added sonic-extensions Applied sonic-extensions to openconfig-acl.yang - Addressed compilation error. - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - Imported required packages and changed the package name. - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - Added check in XlateFuncBind function to avoid updating the existing entry. - Removed dbg print and renames the filename. - Merge branch 'transformer-phase1' of https://github.com/project-arlo/sonic-mgmt-framework into transformer-phase1 - Added infrastructure to populate xlate function map and invoke xfmr functions defined by applications using single interface. - Added code to dynamically create tranformer-spec-map having yang to db translation table. - Update yang files path on target, Defined yang path in transformer package. - Merge branch 'master' into transformer-phase1 - Adding yang models as part of installer. - add xslate code, yang extension etc. - load the yang to dynamically build in-memory metadata tree
#5849) Submodule updates include the following commits. Also adding sonic-swsscommon build dependencies where necessary. * src/sonic-py-swsssdk 1ea30d2...9d9f0c6 (1): > [SonicV2Connector] make decode_responses=True as default, so python2 application need no code change when migrated to python3(#93) * src/sonic-snmpagent 6e4a796...57e54d9 (3): > Interact with Redis by str instead of bytes, migrate to SonicV2Connector with `decode_responses=True` (#171) > Add a test case for LLDP_LOC_CHASSIS.lldp_loc_man_addr has only one IPv6 address (#167) > [LLDP]: Update init_db to load global database config (#166) * src/sonic-utilities acfa824...b693cf6 (11): > Remove SKU create pytest output directory before execution of the script (#1226) > [show][techsupport][multi-ASIC] Add support to collect tech support on multi ASIC platform (#1193) > [show] Fix `show ip bgp sum` (#1194) > [sonic_sku_create] Move tests from sonic-utilities-tests/ folder to tests/ folder (#1222) > Replace swsssdk.SonicV2Connector with swsscommon.SonicV2Connector (SWIG wrapper of C++ implementation) in production code (#1217) > Copy missing values from INIT_CFG to config_db as part of db_migration task (#1209) > [connect][clear] Support --devicename option for connect/clear line commands (#1214) > [consutil][show] Remove root need from show line command (#1218) > [Mellanox] SKU creator Tool (#1163) > SONiC installer - fix string formatting during image type check (#1197) > [show/fgnhg.py] Fix whitespace issues (#1211)
[marvell-armhf] Armada A385 soc support sonic-net#176 backport macsec xpn support to 4.19 kernel (sonic-net#174) add internal patch marker (sonic-net#173) Improve netfilter fullclone nat support patch sonic-net#171 Signed-off-by: Sabareesh Kumar Anandan <[email protected]>
[marvell-armhf] Armada A385 soc support #176 backport macsec xpn support to 4.19 kernel (#174) add internal patch marker (#173) Improve netfilter fullclone nat support patch #171 Signed-off-by: Sabareesh Kumar Anandan <[email protected]>
sonic-net#5849) Submodule updates include the following commits. Also adding sonic-swsscommon build dependencies where necessary. * src/sonic-py-swsssdk 1ea30d2...9d9f0c6 (1): > [SonicV2Connector] make decode_responses=True as default, so python2 application need no code change when migrated to python3(sonic-net#93) * src/sonic-snmpagent 6e4a796...57e54d9 (3): > Interact with Redis by str instead of bytes, migrate to SonicV2Connector with `decode_responses=True` (sonic-net#171) > Add a test case for LLDP_LOC_CHASSIS.lldp_loc_man_addr has only one IPv6 address (sonic-net#167) > [LLDP]: Update init_db to load global database config (sonic-net#166) * src/sonic-utilities acfa824...b693cf6 (11): > Remove SKU create pytest output directory before execution of the script (sonic-net#1226) > [show][techsupport][multi-ASIC] Add support to collect tech support on multi ASIC platform (sonic-net#1193) > [show] Fix `show ip bgp sum` (sonic-net#1194) > [sonic_sku_create] Move tests from sonic-utilities-tests/ folder to tests/ folder (sonic-net#1222) > Replace swsssdk.SonicV2Connector with swsscommon.SonicV2Connector (SWIG wrapper of C++ implementation) in production code (sonic-net#1217) > Copy missing values from INIT_CFG to config_db as part of db_migration task (sonic-net#1209) > [connect][clear] Support --devicename option for connect/clear line commands (sonic-net#1214) > [consutil][show] Remove root need from show line command (sonic-net#1218) > [Mellanox] SKU creator Tool (sonic-net#1163) > SONiC installer - fix string formatting during image type check (sonic-net#1197) > [show/fgnhg.py] Fix whitespace issues (sonic-net#1211)
this PR updates the following commits 1673d25 [y_cable] refactor upgrade firmware API's; Fix vendor and part number API's read size for read_eeprom (sonic-net#174) ed93a15 [sonic_platform_base] Proper use of class and instance attributes (sonic-net#173) 691de92 [sonic_y_cable] add stub function for upgrade firmware of Y cable and split the get_part_number and get_vendor API's (sonic-net#171) Signed-off-by: vaibhav-dahiya <[email protected]>
Includes the following commits: 1673d25 [y_cable] refactor upgrade firmware API's; Fix vendor and part number API's read size for read_eeprom (#174) ed93a15 [sonic_platform_base] Proper use of class and instance attributes (#173) 691de92 [sonic_y_cable] add stub function for upgrade firmware of Y cable and split the get_part_number and get_vendor API's (#171) Signed-off-by: vaibhav-dahiya <[email protected]>
Includes the following commits: 1673d25 [y_cable] refactor upgrade firmware API's; Fix vendor and part number API's read size for read_eeprom (#174) ed93a15 [sonic_platform_base] Proper use of class and instance attributes (#173) 691de92 [sonic_y_cable] add stub function for upgrade firmware of Y cable and split the get_part_number and get_vendor API's (#171) Signed-off-by: vaibhav-dahiya <[email protected]>
c4d4790 [xcvrd] refactor Y-Cable firmware information to conform with all vendors (sonic-net#171) be7f4e1 [voqinband]Support for inband port as regular port (sonic-net#145) eff5c1c [thermalctld] No need exit thermalcltd when loading invalid policy file (sonic-net#172) 5b6d9c0 [syseepromd] Add unit tests; Refactor to allow for greater unit test coverage (sonic-net#156) Signed-off-by: vaibhav-dahiya <[email protected]>
c4d4790 [xcvrd] refactor Y-Cable firmware information to conform with all vendors (#171) be7f4e1 [voqinband]Support for inband port as regular port (#145) Signed-off-by: vaibhav-dahiya <[email protected]>
c4d4790 [xcvrd] refactor Y-Cable firmware information to conform with all vendors (#171) be7f4e1 [voqinband]Support for inband port as regular port (#145) Signed-off-by: vaibhav-dahiya <[email protected]>
…02012 - [xcvrd] refactor Y-Cable firmware information to conform with all vendors (sonic-net#171) - [thermalctld] No need exit thermalcltd when loading invalid policy file (sonic-net#172) <--- branch point Signed-off-by: Danny Allen <[email protected]>
…02012 (#7314) - [xcvrd] refactor Y-Cable firmware information to conform with all vendors (#171) - [thermalctld] No need exit thermalcltd when loading invalid policy file (#172) <--- branch point Signed-off-by: Danny Allen <[email protected]>
…02012 (sonic-net#7314) (#2) - [xcvrd] refactor Y-Cable firmware information to conform with all vendors (sonic-net#171) - [thermalctld] No need exit thermalcltd when loading invalid policy file (sonic-net#172) <--- branch point Signed-off-by: Danny Allen <[email protected]> Co-authored-by: Danny Allen <[email protected]>
c4d4790 [xcvrd] refactor Y-Cable firmware information to conform with all vendors (sonic-net#171) be7f4e1 [voqinband]Support for inband port as regular port (sonic-net#145) Signed-off-by: vaibhav-dahiya <[email protected]>
Includes the following commits: 1673d25 [y_cable] refactor upgrade firmware API's; Fix vendor and part number API's read size for read_eeprom (sonic-net#174) ed93a15 [sonic_platform_base] Proper use of class and instance attributes (sonic-net#173) 691de92 [sonic_y_cable] add stub function for upgrade firmware of Y cable and split the get_part_number and get_vendor API's (sonic-net#171) Signed-off-by: vaibhav-dahiya <[email protected]>
c4d4790 [xcvrd] refactor Y-Cable firmware information to conform with all vendors (sonic-net#171) be7f4e1 [voqinband]Support for inband port as regular port (sonic-net#145) Signed-off-by: vaibhav-dahiya <[email protected]>
…dors (sonic-net#171) This PR refactors the firmware information MUX_CABLE_INFO output to return the following fields for each target. { "version_active": "", "version_inactive": "", "version_next": "", } So by calling this for all the 3 MCU's TOR1, TOR2 and NIC we can get the below result. which would be stored in state db table MUX_CABLE_INFO { "version_nic_active": "0.6MS", "version_nic_inactive": "0.5MS", "version_nic_next": "0.6MS", "version_self_active": "0.5MS", "version_self_inactive": "0.6MS", "version_self_next": "0.6MS", "version_peer_active": "0.6MS", "version_peer_inactive": "0.6MS", "version_peer_next": "0.6MS", } Signed-off-by: vaibhav-dahiya <[email protected]>
…tor with `decode_responses=True` (sonic-net#171) * Interact with Redis by str instead of bytes * Implement mockredis decode_responses option
System-Ready-HLD
…nux-kernel] advance submodule head linkmgrd: * 3e7a9df 2023-02-19 | [active-active] Toggle to standby if default route is missing (sonic-net#171) (HEAD -> 202205) [Longxiang Lyu] * 8ab1b2b 2023-02-15 | [active-active] fix issue that interfaces get stuck in `active` if service starts up with link state down (sonic-net#169) [Jing Zhang] * df862ad 2023-02-11 | Fix mux config when gRPC connection is lost (sonic-net#166) [Longxiang Lyu] utilities: * 8aa7930c 2023-02-13 | [portstat CLI] don't print reminder if use json format (sonic-net#2670) (HEAD -> 202205, github/202205) [wenyiz2021] * 4e3bb6fa 2023-02-21 | Add "show fabric reachability" command. (sonic-net#2672) [jfeng-arista] * 3587a94b 2023-02-18 | [202205][dhcp_relay] Remove add field of vlanid to DHCP_RELAY table while adding vlan (sonic-net#2680) [Yaqiang Zhu] * 4f07f7f0 2023-02-10 | Skip saidump for Spine Router as this can take more than 5 sec (sonic-net#2637) (sonic-net#2671) [kenneth-arista] * e61c5ec4 2023-02-10 | [vlan] Refresh dhcpv6_relay config while adding/deleting a vlan (sonic-net#2660) (sonic-net#2669) [Yaqiang Zhu] swss: * 1bbf725 2023-02-14 | [Workaround] EvpnRemoteVnip2pOrch warmboot check failure (sonic-net#2626) (HEAD -> 202205) [jcaiMR] * 380f72b 2023-02-20 | Support for tc-dot1p and tc-dscp qosmap (sonic-net#2559) [Divya Mukundan] * dbf6fcc 2022-11-01 | Added LAG member check on addLagMember() (sonic-net#2464) [Andriy Kokhan] swss-common: * b31391b 2023-02-21 | Prevent sonic-db-cli generate core dump (sonic-net#749) (HEAD -> 202205) [Hua Liu] * 16ff689 2022-12-13 | Support for TC-DOT1p qos map (sonic-net#721) [Divya Mukundan] platform-daemons: * fb92af4 2023-02-09 | [ycabled] add more coverage to ycabled; add minor name change for vendor API CLI return key-values pairs (sonic-net#338) (HEAD -> 202205) [vdahiya12] linux-kernel: * 4e62401 2023-02-09 | Update linux kernel for hw-mgmt V.7.0020.4104 (sonic-net#305) (HEAD -> 202205) [Stephen Sun] Signed-off-by: Ying Xie <[email protected]>
…nux-kernel] advance submodule head (#13906) linkmgrd: * 3e7a9df 2023-02-19 | [active-active] Toggle to standby if default route is missing (#171) (HEAD -> 202205) [Longxiang Lyu] * 8ab1b2b 2023-02-15 | [active-active] fix issue that interfaces get stuck in `active` if service starts up with link state down (#169) [Jing Zhang] * df862ad 2023-02-11 | Fix mux config when gRPC connection is lost (#166) [Longxiang Lyu] utilities: * 8aa7930c 2023-02-13 | [portstat CLI] don't print reminder if use json format (#2670) (HEAD -> 202205, github/202205) [wenyiz2021] * 4e3bb6fa 2023-02-21 | Add "show fabric reachability" command. (#2672) [jfeng-arista] * 3587a94b 2023-02-18 | [202205][dhcp_relay] Remove add field of vlanid to DHCP_RELAY table while adding vlan (#2680) [Yaqiang Zhu] * 4f07f7f0 2023-02-10 | Skip saidump for Spine Router as this can take more than 5 sec (#2637) (#2671) [kenneth-arista] * e61c5ec4 2023-02-10 | [vlan] Refresh dhcpv6_relay config while adding/deleting a vlan (#2660) (#2669) [Yaqiang Zhu] swss: * 1bbf725 2023-02-14 | [Workaround] EvpnRemoteVnip2pOrch warmboot check failure (#2626) (HEAD -> 202205) [jcaiMR] * 380f72b 2023-02-20 | Support for tc-dot1p and tc-dscp qosmap (#2559) [Divya Mukundan] * dbf6fcc 2022-11-01 | Added LAG member check on addLagMember() (#2464) [Andriy Kokhan] swss-common: * b31391b 2023-02-21 | Prevent sonic-db-cli generate core dump (#749) (HEAD -> 202205) [Hua Liu] * 16ff689 2022-12-13 | Support for TC-DOT1p qos map (#721) [Divya Mukundan] platform-daemons: * fb92af4 2023-02-09 | [ycabled] add more coverage to ycabled; add minor name change for vendor API CLI return key-values pairs (#338) (HEAD -> 202205) [vdahiya12] linux-kernel: * 4e62401 2023-02-09 | Update linux kernel for hw-mgmt V.7.0020.4104 (#305) (HEAD -> 202205) [Stephen Sun] Signed-off-by: Ying Xie <[email protected]>
… split the get_part_number and get_vendor API's (sonic-net#171) This PR adds a stub function definition with details as to how it should be implemented by a Y cable vendor. Description Added a stub function definition with a doc string describing how it should be implemented Cleaning up and split some API's for vendors Motivation and Context Firmware upgrade is a functionality that vendors need to implement, this PR adds the definition and a description of how the implementation of this firmware_upgrade API should be How Has This Been Tested? Will be tested once implemented for cleanup API's opened a python shell and executed API's for correctness Signed-off-by: vaibhav-dahiya <[email protected]>
…llclone-nat-support-patch Improve netfilter fullclone nat support patch
#15576) #### Why I did it src/linkmgrd ``` * fc6e299 - (HEAD -> 202211, origin/202211) [active-standby] Enforce switchover based on heartbeats when mux probe keeps failing (#184) (2 hours ago) [Jing Zhang] * 5c6332d - Re-handle pre-init mux config notification after state machine init (#202) (2 hours ago) [Longxiang Lyu] * c49a5ef - [active-standby][bsl] fix no mux probe issue (#201) (2 hours ago) [Jing Zhang] * 2d62ef1 - Enable debug symbols (#199) (2 hours ago) [Longxiang Lyu] * f952b64 - [active-active] Add mux server state correction mechanism (#191) (2 hours ago) [Longxiang Lyu] * e6b1bfc - [ci] fix azure pipeline (#190) (2 hours ago) [Jing Zhang] * 615ed21 - [active-standby] Enforce switchover based on heartbeats when mux probe keeps failing (#184) (2 hours ago) [Jing Zhang] * 3adfc69 - [active-active] add state transition handler for (LinkProber: Unknown, MuxState: Active, LinkState: Down) (#179) (2 hours ago) [Jing Zhang] * 6fb9a0b - loose link down swithcover condition (#178) (2 hours ago) [Jing Zhang] * 8ffbd8a - [ci] Fix apt-get install unable locate package issue. (#177) (2 hours ago) [Liu Shilong] * 3dfbdd7 - [active-active] link operational down didn't trigger toggle to standby if `MuxUnknown` event arrives first. (#175) (2 hours ago) [Jing Zhang] * 68c06d9 - [active-active] Toggle to standby if default route is missing (#171) (2 hours ago) [Longxiang Lyu] * 1592cd3 - [active-active] fix issue that interfaces get stuck in `active` if service starts up with link state down (#169) (2 hours ago) [Jing Zhang] * a96105f - Fix the warning of unused variables (#167) (2 hours ago) [Longxiang Lyu] * 984ffe3 - Fix mux config when gRPC connection is lost (#166) (2 hours ago) [Longxiang Lyu] * 4d0b457 - [active-active] force switch when config == active && target state == active (#164) (2 hours ago) [Jing Zhang] * 32bd2bb - Use github code scanning instead of LGTM (#157) (2 hours ago) [Liu Shilong] * 6f23fe2 - [active-active] update linkmgr health label definition (#163) (3 hours ago) [Jing Zhang] ``` #### How I did it #### How to verify it #### Description for the changelog
…utomatically (#20746) #### Why I did it src/sonic-host-services ``` * ff73070 - (HEAD -> master, origin/master, origin/HEAD) Add execute_reboot dbus_interface (#164) (4 days ago) [Vasundhara Volam] * fec6080 - DBUS API for GNOI System.SetPackage (#171) (4 days ago) [Dawei Huang] ``` #### How I did it #### How to verify it #### Description for the changelog
…utomatically (sonic-net#20746) #### Why I did it src/sonic-host-services ``` * ff73070 - (HEAD -> master, origin/master, origin/HEAD) Add execute_reboot dbus_interface (sonic-net#164) (4 days ago) [Vasundhara Volam] * fec6080 - DBUS API for GNOI System.SetPackage (sonic-net#171) (4 days ago) [Dawei Huang] ``` #### How I did it #### How to verify it #### Description for the changelog
No description provided.