forked from sonic-net/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 3
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
Sonic cfg new #42
Closed
Closed
Sonic cfg new #42
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Zhenggen Xu <[email protected]>
…s exit. (sonic-net#3667) Signed-off-by: Yong Zhao <[email protected]>
- [warm/fast reboot] continue executing when killing docker failed (sonic-net#713) [Ying Xie] - [neighbor_advertiser]: Add sleep in setting mirror session and ACL rules(sonic-net#714)[Shuotian Cheng] - [config]: Flush the neighbor table when removing the router interface(sonic-net#606) [Shuotian Cheng] - Add a generic configlet application script (sonic-net#716) [Renuka Manavalan] - Management vrf snmp cli support (sonic-net#472) [Harish Venkatraman] - show subinterfaces status (sonic-net#642) [Wenda Ni] - sonic-utilities: Add support for sFlow (sonic-net#592) [Garrick He]
* Add extra Smartsville hwskus
sonic-net#3713) Signed-off-by: Yong Zhao <[email protected]>
* Use 7.2 tree to generate frr packages * Adapt patches for frr/7.2 * Use vrf_id
…nic-net#3657) Signed-off-by: Stepan Blyschak <[email protected]>
…#3708) * Rename asn/deployment_id_asn_map.yaml to constants/constants.yaml * Fix bgp templates * Add community for loopback when bgpd is isolated * Use correct community value
Signed-off-by: Neetha John <[email protected]>
[barefoot] Added Newport platform support Signed-off-by: Andriy Kokhan <[email protected]>
…onic-net#3706) Implement part of the Chassis and Fan related APIs. - Chassis APIs get_base_mac() get_serial_number() get_serial_number() get_system_eeprom_info() get_reboot_cause() - Fan APIs get_direction() get_speed() get_target_speed() get_speed_tolerance() set_speed() set_status_led() get_target_speed() - Fan APIs base on Device API get_name() get_presence() get_model() get_serial() get_status() Signed-off-by: Wirut Getbamrung [email protected]
…c-net#3685) Add reset in sfputil.py for as7326-56x. Signed-off-by: brandon_chuang <[email protected]>
Signed-off-by: Vitaliy Senchyshyn <[email protected]>
Implement Watchdog platform2.0 API for DellEMC S6100 platform. - Added new file watchdog.py in sonic_platform directory. - Enabled API support to Enable/disable watchdog.
- build libyang1.0.73 debian pacakge from libyang github source - build libyang python2 and python3 debian packages
…4t periphery (sonic-net#3663) - Support as5812_54t SAI. - Modify as5812_54t periphery. Signed-off-by: derek_sun <[email protected]>
…-net#3591) * [platform/broadcom] Celeatica Silverstone add IPMI platform sensor read. * [platform_sensors] Silverstone update temperature sensor description
the bug was introduced by commit ac2908e Signed-off-by: Guohan Lu <[email protected]>
Signed-off-by: Andriy Kokhan <[email protected]>
…vice (sonic-net#3657)" (sonic-net#3729) This reverts commit d346cb3.
…onic-net#3622) Implement Component platform2.0 API for accton as7116-54x platform
…ic-net#3731) Added python-libpcap to be used by arp_responder.py utility. This is needed to set conf.use_pcap which will make sure that L2pcapListenSocket uses libpcap instead of Linux PF_PACKET sockets. By using libpcap the vlan field will not be removed when the application receives the packet.
* In the event of a kernel crash, we need to gather as much information as possible to understand and identify the root cause of the crash. Currently, the kernel does not provide much information, which make kernel crash investigation difficult and time consuming. Fortunately, there is a way in the kernel to provide more information in the case of a kernel crash. kdump is a feature of the Linux kernel that creates crash dumps in the event of a kernel crash. This PR will add kermel kdump support. An extension to the CLI utilities config and show is provided to configure and manage kdump: - enable / disable kdump functionality - configure kdump (how many kernel crash logs can be saved, memory allocated for capture kernel) - view kernel crash logs
…is modified. (sonic-net#3705) When LLDP parameter tx-interval value is modified, there was no immediate PDU sent to peer to update the peer with the latest values. Due to this the update on peer happened only after the next PDU is sent which can cause a delay of upto 30 secs (default value).
…AS7326-56X/AS7726-56X (sonic-net#3726) AS7326-56X and AS7726-56X use the same design so both devices have the same problem. The detailed description below takes AS7326-56X as the example to explain. Original implementation: - In platform/broadcom/sonic-platform-modules-accton/as7326-56x/service/as7326-platform-handle_mac.service, it executes the script file "accton_handle_idt.sh". - In "accton_handle_idt.sh", it modifies the content of the script file "/etc/init.d/opennsl-modules" to insert the lines to execute "idt_init.sh" before the command to load broadcom linux kernel module "linux-kernel-bde.ko". - The script "idt_init.sh" cannot be executed at the first boot of SONiC after installing SONiC under ONIE. This is the reason why all of the ports does not work. New implementation: - Let "as7326-platform-handle_mac.service" execute "idt_init.sh". - Change the content of "as7326-platform-handle_mac.service" to define the service type as "oneshot". Add the settings to ensure "as7326-platform-handle_mac.service" is executed before "opennsl-modules.service". By setting the service type as "oneshot", it is guaranteed that "opennsl-modules.services" is started only when the forked process to execute the script file "idt_init.sh" is terminated Signed-off-by: charlie_chen <[email protected]>
…cal process in syncd container exits unexpectedly (sonic-net#3534) Add the same mechanism I developed for the SwSS service in sonic-net#2845 to the syncd service. However, in order to cause the SwSS service to also exit and restart in this situation, I developed a docker-wait-any program which the SwSS service uses to wait for either the swss or syncd containers to exit.
Signed-off-by: derek_sun <[email protected]>
update multiDB changes in sonic-utilities, including earlier commit by others as well: - [multiDB]: all application should use API to get redis_client (sonic-net#753) - [VRF]: submit vrf CLI sonic-net#392 (sonic-net#558) - [show] Add 'features' subcommand to display status for optional features (sonic-net#712) - [neighbor_advertiser] Adds initial support for HTTPS to neighbor advertiser (sonic-net#750) after this update , we are able to update sonic-py-swsssdk submodule without hitting error as before. Signed-off-by: Dong Zhang [email protected]
Conflicts: rules/libyang.mk src/sonic-swss
Signed-off-by: Zhenggen Xu <[email protected]>
* libyang python APIs - libyang python wrapper: class sonic_yang - setup.py to build sonic_yang_mgmt-1.0-py2-none-any.whl - pytest for the libyang python class: sonic_yang * Add python wheel package dependency on debs/stretch targets in slave.mk * Add sonic-yang-mgmt debian package to sonic-broadcom.bin and install libyang python 2 and sonic-yang-mgmt on switch * Python APIs for libyang - Add exceptions - specify data_xpath and schema_xpath - Add more test cases * Add error messges for libyang Python APIs
* [test] Adding platform.json configuration file test Signed-off-by: Sangita Maity <[email protected]> * Addressed review comments Signed-off-by: Sangita Maity <[email protected]>
…le (zhenggen-xu#7) * [buildImage] Add support of platform.json parsing to portconfig.py file Signed-off-by: Sangita Maity <[email protected]> * [sonic-cfggen] Add a unit-test to test platform capability file Signed-off-by: Sangita Maity <[email protected]> * Minor Update Signed-off-by: Sangita Maity <[email protected]> * Created One Logic for symmetric and asymmetric modes Signed-off-by: Sangita Maity <[email protected]> * Passing tuple from Match_list Signed-off-by: Sangita Maity <[email protected]>
Signed-off-by: Zhenggen Xu <[email protected]>
Signed-off-by: Zhenggen Xu <[email protected]>
…n-xu#14) Signed-off-by: Sangita Maity <[email protected]>
Signed-off-by: Zhenggen Xu <[email protected]>
* [sonic-head.yang]: Minor modification for enumeration of ip-type in ACL yang models. [sonic-vlan.yang]: modify vlan table key from vlanid(int) to vlan_name(string). [yangModelTesting.py] Fix Test Code and JSON input. * [sonic-acl.yang]: Present Enumeration similar to config DB. * [sonic-head.yang]: Minor update in enumeration
…ansalation, reverse translation of … (zhenggen-xu#11) * [_sonic_yang_ext.py]: Extend sonic yang class to support cropping of config. From the json format of yang models, a map is created from config DB tables to container in yang model. Input Config is cropped on based of this map. * [test_sonic_yang.py]: Test code for sonic yang extension funtionalities. Test code for copping config DB. Minor fixes in other files. * [_sonic_yang_ext.py]: Translate Config DB format to YANG json as per yang model. Load data in sonic_yang after transalation. Test for translation functionality. * [test_sonic_yang.py]: Add test for translation. Added config DB json sample in yangTest.json. Blocked other PLY test cases as of now, because they fail with new yang models. * [_sonic_yang_ext.py]: Reverse translation i.e. from YANG json to Config DB json. Reverse translation i.e. from YANG json to Config DB json based on yang models. Find xpath for a port. portleaf and a yang list. get_data functions to get rev xlated data from data tree. Test for crop, xlate and rev xlate. * [_sonic_yang_ext.py]: Minor changes to handle exceptions. * [build_debian.sh]: Add neccessary package in sonic image and in sonic slave docker. Fix the test to accomodate for ip-prefix as of now * [_sonic_yang_ext.py]: Addressing more exception handling and comments. Unblocking PLY test cases. * [setup.py]: Add _sonic_yang_ext.py in package. * [test_sonic_yang.py]: Fixing test case for delete node.
…er change for platform.json Signed-off-by: Zhenggen Xu <[email protected]>
Signed-off-by: Sangita Maity <[email protected]>
* DPB Breakout Cli Test with proper setup Signed-off-by: Sangita Maity <[email protected]> * Adding more Test cases Signed-off-by: Sangita Maity <[email protected]>
…en-xu#17) * Adding a new function to create BRKOUT_CFG TABLE in config db Signed-off-by: Sangita Maity <[email protected]> * Speed fix and portconfig file check Signed-off-by: Sangita Maity <[email protected]> * Minor update for speed Signed-off-by: Sangita Maity <[email protected]>
…henggen-xu#19) * [Sonic Yang Tree]: Updating Tree as per modification in YANG models. * [sonic-port.yang]: Making lanes and speed mandatory and admin_status not mandatory. Including index of port. * [yangTest.json]: Fix tests for YANG models. * [_sonic_yang_ext.py]: Exception handling for delete_node and find_dependencies.
Signed-off-by: Zhenggen Xu <[email protected]>
Signed-off-by: Sangita Maity <[email protected]>
…nggen-xu#21) Signed-off-by: Zhenggen Xu <[email protected]>
Signed-off-by: Sangita Maity <[email protected]>
This package is needed to run sonic-yang-mgmt build test cases.
Signed-off-by: Zhenggen Xu <[email protected]>
Signed-off-by: Zhenggen Xu <[email protected]>
- get Yang module's prefix - get the datanode's data type - get the data type of the node that leafref node points to
zhenggen-xu
pushed a commit
that referenced
this pull request
Feb 14, 2020
Submodule src/sonic-platform-daemons 42f64d8..1039764: > Merge pull request #42 from keboliu/backport-state-machine Submodule src/sonic-swss 950e9db..384c21e: > [Orchagent]: Fixbug segmentfault at routeorch (sonic-net#1025) Signed-off-by: Ying Xie <[email protected]>
li-pingmao
pushed a commit
to li-pingmao/sonic-buildimage
that referenced
this pull request
Feb 23, 2022
457e94d51 [macsec_linux]: Fixbug cannot dump the PN due to type error (zhenggen-xu#42) f7c073323 Disable P2P module (zhenggen-xu#41) 7b3b777e2 [ci]: use native arm64 and armhf build pool (zhenggen-xu#40) d4e91d66c [sonic_operator]: Increase wait timeout (zhenggen-xu#39) 43611ef88e [sonic_operators]: Add log in sonic operators (zhenggen-xu#43) Signed-off-by: Ze Gan <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
- What I did
Add following APIs to libyang APIs:
- How I did it
- python APIs added to sonic_yang.py in src/sonic-yang-mgmt
- test cases added to test_SonicYang.json with sample yang models and sample Yang instances
- How to verify it
pytest
added test cases to test prefix, node data type and leafref data types
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)