-
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
Refactor DHCP relay docker in sonicv2 style #217
Conversation
@@ -0,0 +1,7 @@ | |||
SERVERS="{{ dhcp_servers | join(' ') }}" | |||
|
|||
INTERFACES="{{ minigraph_vlan_interfaces | join(' ') }}" |
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.
only generate this for the tor device?
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.
This template will only be used to generate the config file if the docker is deployed and started, which will only occur if the device is a ToR. The actual decision on whether or not to deploy the docker will be controlled by the mgmt repo. I felt that logic was best left out of the docker itself.
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.
ok, since we are in the process to build one image (an image that can be deployed to the field) without any controller by the mgmt repo.
but I agree with you to let this outside the docker, so we can do this in the base image to decide whether to start this docker or not.
…sonic-buildimage into jolevequ/dhcp_relay_build
…sonic-buildimage into jolevequ/dhcp_relay_build
…sonic-buildimage into jolevequ/dhcp_relay_build
…sonic-buildimage into jolevequ/dhcp_relay_build
…sonic-buildimage into jolevequ/dhcp_relay_build
* 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 <Tejaswi_Goel@Dell.com> - 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 <Tejaswi_Goel@Dell.com> - sFlow code enhancements (sonic-net#228) * Use constant for sFlow default port. * Add tighter input restrictions on sFlow YANG. Signed-off-by: Garrick He <garrick_he@dell.com> - 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 <garrick_he@dell.com> - Update sFlow YANG * Update sFlow YANG and annotations. Signed-off-by: Garrick He <garrick_he@dell.com> - 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 <Tejaswi_Goel@Dell.com> - 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 <Tejaswi_Goel@Dell.com> * 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 <Tejaswi_Goel@Dell.com> * 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 <Tejaswi_Goel@Dell.com> * Code changes for configuring PortChannel Signed-off-by: Tejaswi Goel <Tejaswi_Goel@Dell.com> * Fix code and augment data model Fix mtu config for PortChannel augment openconfig-if-aggregate.yang Signed-off-by: Tejaswi Goel <Tejaswi_Goel@Dell.com> * CLI support code changes Signed-off-by: Tejaswi Goel <Tejaswi_Goel@Dell.com> * Added a note for initializing DS at the beginning. * Code changes for PortChannel attributes config Signed-off-by: Tejaswi Goel <Tejaswi_Goel@Dell.com> * Code changes for show command Signed-off-by: Tejaswi Goel <Tejaswi_Goel@Dell.com> * Changes in sonic YANG models Signed-off-by: Tejaswi Goel <Tejaswi_Goel@Dell.com> * Changes for Get commands Signed-off-by: Tejaswi Goel <Tejaswi_Goel@Dell.com> * Fix: IP config not reflecting on Linux Kernel Fix IP config not reflecting on Linux Kernel Fix indentations Signed-off-by: Tejaswi Goel <Tejaswi_Goel@Dell.com> * Add code for PortChannel REST UT Signed-off-by: Tejaswi Goel <Tejaswi_Goel@Dell.com> * Address review comments Signed-off-by: Tejaswi Goel <Tejaswi_Goel@Dell.com> * Address review comments Signed-off-by: Tejaswi Goel <Tejaswi_Goel@Dell.com> - 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 <garrick_he@dell.com> - 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 <garrick_he@dell.com> - 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 <garrick_he@dell.com> - 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 <garrick_he@dell.com> - 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 <garrick_he@dell.com> - 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 <garrick_he@dell.com> - 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 <garrick_he@dell.com> - 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 <garrick_he@dell.com> - 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 <Tejaswi_Goel@Dell.com> - 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 <Tejaswi_Goel@Dell.com> - 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 <garrick_he@dell.com> - 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 <Tejaswi_Goel@Dell.com> - 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 <Tejaswi_Goel@Dell.com> - 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 <Tejaswi_Goel@Dell.com> - 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 <Tejaswi_Goel@Dell.com> - 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 <garrick_he@dell.com> - 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 <Tejaswi_Goel@Dell.com> - 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 <garrick_he@dell.com> - 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 <garrick_he@dell.com> - 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 <garrick_he@dell.com> - 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 <garrick_he@dell.com> - Code clean-up and enhancements * Cleaned up and enhanced some code. Signed-off-by: Garrick He <garrick_he@dell.com> - 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 <garrick_he@dell.com> - Support for pipe * Add support for pipe commands: grep, find, except Signed-off-by: Garrick He <garrick_he@dell.com> - 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 <garrick_he@dell.com> - Fix: Klish crash * fix clish crash by updating Makefiles Signed-off-by: Garrick He <garrick_he@dell.com> - 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 <Tejaswi_Goel@Dell.com> - 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 <garrick_he@dell.com> - Fix: Makefile * Update Makefile to add new xml files to debian package Signed-off-by: Garrick He <garrick_he@dell.com> - On change subscribe lldp (sonic-net#76) * on-change subscribe support for lldp neighbors Signed-off-by: Tejaswi Goel <Tejaswi_Goel@Dell.com> - 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 <garrick_he@dell.com> - 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 <garrick_he@dell.com> - 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
…t#217) LAG neighbor messages will only be triggered when the router interface is brought up, and will not be sent periodically. In order not to lose any important messages like these, failed neighbor tasks need to be redone to prevent the failure of creating neighbors on LAGs.
93244bf [Y-Cable][Broadcom] upgrade to support Broadcom Y-Cable API to release 1.2 (sonic-net#217) Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
…ate (#8864) * [202012][sonic-platform-daemons] submodule update 3d14066 [xcvrd][y_cable] refactor xcvrd to listen to port probe without locks; fix the get_firmware_version API to sync with download_firmware (#216) Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com> * update sonic-platform-common 93244bf [Y-Cable][Broadcom] upgrade to support Broadcom Y-Cable API to release 1.2 (#217) Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
8bb9c5a (HEAD -> master, origin/master, origin/HEAD) Add retry reading/setting mux status to simulated y-cable driver (#221) 2ebd786 [sfp-refactor] Add initial support for SFF-8636 in sonic_xcvr (#218) 221fb8a Fix QSFP-DD power class mask (#212) 4598d40 [Y-Cable][Broadcom] upgrade to support Broadcom Y-Cable API to release 1.2 (#217) 0fdd198 [sfp-refactor] Add initial support for SFF-8436 in sonic_xcvr (#215) a09f5a3 [sfp-refactor] Add new sonic_xcvr package for common transceiver logic (#201) 7ca4f51 Update SFP index definition (#214) Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
c4127c2 [psud] Fix PSU log issue (#235) 07542cb [pmon][xcvrd]xcvrd process show backtrace on the internal port. (#233) 3e432e7 [Y-Cable] Increased unit test coverage of y_cable_helper.py (#229) 7c363f5 [ledd] prevent led crash on recirc port event (#232) e9ccd82 [sonic-platform-daemons] fix dependency issue on py2 wheels by correcting the path (#234) 2b0acfb [sfp-refactoring] xcvrd: add initial support for CMIS application initialization (#217)
…e 1.2 (sonic-net#217) This release goes in sync with the following firmware version of Broadcom Y cable, which is consistent with release 6 { "version_nic_active": "D203.9.D103.1", "version_nic_inactive": "D203.9.D103.1", "version_nic_next": "D203.9.D103.1", "version_peer_active": "D302.8", "version_peer_inactive": "D302.8", "version_peer_next": "D302.8", "version_self_active": "D302.8", "version_self_inactive": "D302.8", "version_self_next": "D302.8" } Signed-off-by: vaibhav-dahiya vdahiya@microsoft.com Description Basically a vendor specific implementation of abstract YCableBase class . detailed design discussion can be found https://github.com/Azure/SONiC/pull/757/files Motivation and Context to support the Y-Cable API required to support Broadcom's Y-Cable. Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
Why I did it nvidia-sonic project should use public submodule How I did it Merge sonic-gnmi to public repo, and replace submodule How to verify it Build image with nvidia-sonic repo
…lly (#18724) #### Why I did it src/sonic-gnmi ``` * d0ec8b0 - (HEAD -> master, origin/master, origin/HEAD) Merge pull request #216 from ranjinidn/sonic-gnmi_bookworm_migration (30 hours ago) [Saikrishna Arcot] |\ | failure_prs.log 8e3f408 - Merge branch 'master' into sonic-gnmi_bookworm_migration (6 days ago) [ranjinidn] | |\ | |/ |/| * | 3363587 - Support control character in config (#217) (8 days ago) [ganglv] / * 505bfc2 - bookworm migration of sonic-gnmi azure pipeline and go version updation for sonic-gnmi repo (10 days ago) [ranjinidn] ``` #### How I did it #### How to verify it #### Description for the changelog
[code sync] Merge code from sonic-net/sonic-buildimage:202205 to 202205
No description provided.