Commit Graph

804 Commits

Author SHA1 Message Date
xumia
43ea27c5f3
[201709] Change submodule path from Azure to sonic-net (#12316)
Why I did it
Change the path of sonic submodules that point to "Azure" to point to "sonic-net"

How I did it
Replace "Azure" with "sonic-net" on all relevant paths of sonic submodules
2022-10-12 21:08:34 +08:00
Hnydyn Nazar
2f06a9c9e4 [platform]: Fixed Cavium platform modules build. (#1694) 2018-05-12 08:39:40 +00:00
Maslov Denis
379451ef2b [docker-orchagent]: ports.json.j2 template fixed (#1177)
* Template generates a correct output now, without excess comma in case
the last port in list has no port speed setting in the redis-db

Signed-off-by: Denis Maslov <Denis.Maslov@cavium.com>
2017-12-12 03:58:39 -08:00
Jason Tsai
ead47b66a0 [Ingrasys]: Update QSFP port SI vales (#1193) 2017-12-11 12:24:28 -08:00
Maslov Denis
fa8edce115 [bgp]: Auto-completion, help (?), cmd navigation (up arrow) not working in vtysh on host system. (#1124) (#1227) 2017-12-11 11:16:59 -08:00
Jason Tsai
951849d9ad [Ingrasys] Add s9200-64x platform support (#1182) 2017-11-28 17:07:25 -08:00
kaiyu22
c125e088f3 [Nephos] Updating download link for SAI and SDK (#1188)
- What I did
    Updating download link for SAI and SDK

- How I did it
    Modifying these two files as below:
    1. platform/nephos/sdk.mk
    2. platform/nephos/sai.mk

- How to verify it
    Make sure the files can be downloaded and sonic image can build successful

- Description for the changelog
    Creating appropriate folder for version control

- A picture of a cute animal (not mandatory but encouraged)

Signed-off-by: Sam Yang <yang.kaiyu@gmail.com>
2017-11-28 14:52:59 -08:00
Hnydyn Nazar
c041904bb5 [sairedis]: Updated sai-redis submodule. (#1183) 2017-11-24 17:30:59 -08:00
kaiyu22
b06cce2164 [ingrasys]: Updating index value starts from 0-based in port_config.ini (#1176)
- What I did
    Update index value from 1-based to 0-based

- How I did it
    The below files will be modified:
    1. port_config.ini
    2. sfputil.py

- How to verify it
    Execute command "sfputil show eeprom" to check the eeprom can be dumped if port is pluggged.

- Description for the changelog
    Update index value from 1-based to 0-based

Signed-off-by: Sam Yang <yang.kaiyu@gmail.com>
2017-11-22 01:00:34 -08:00
lguohan
89742eec43
[nephos]: update ixgbe driver download url (#1144) 2017-11-12 14:29:28 -08:00
kaiyu22
9fa8de634c [nephos]: Separate config files from SAI debian package of Nephos (#1110)
- What I did
    Separate led and port config file from SAI debian package of Nephos

- How I did it
    The modification is as below:
    1. port config
       old path: /etc/nps/tau-s9130-32x100G.dsh
       new path: /usr/share/sonic/hwsku/port_config.nps
    2. led config
       old path: /etc/nps/tau-s9130-32x100G.cfg
       new path: /usr/share/sonic/platform/led_proc_init.nps

- How to verify it
    After the config files are separated, check switch interfaces and network features are work as well

- Description for the changelog
    Separate led and port config file from SAI debian package of Nephos

Signed-off-by: Sam Yang <yang.kaiyu@gmail.com>
2017-11-03 16:19:16 -07:00
kaiyu22
74c27b50ac Update REAME and diag utility for Nephos (#1100)
- What I did
Add Nephos information into README.md
Update content of npx_diag from binary to shell

- How I did it

- How to verify it
Check npx_diag work as well

- Description for the changelog
Update REAME and diag utility for Nephos

Signed-off-by: Sam Yang <yang.kaiyu@gmail.com>
2017-11-02 18:17:18 -07:00
wadelnn
a0c56aaca8 [sonic-sairedis]: Update submodule on 201709 branch (#1097)
* Update sonic-sairedis for Nephos.

Signed-off-by: Wade He <chihen.he@gmail.com>
2017-10-31 20:55:47 -07:00
Hnydyn Nazar
fd2455d58e [teamd]: Bring down all member interfaces before starting teamd (#1096)
Taken from https://github.com/Azure/sonic-buildimage/pull/1081
2017-10-31 16:56:06 -07:00
kaiyu22
b945010243 Add switch ASIC vendor and platform for Nephos (#1082)
- Add switch ASIC vendor: Nephos
- Add Nephos platform: Ingrasys S9130-32X

Signed-off-by: Sam Yang <yang.kaiyu@gmail.com>
2017-10-27 18:44:58 -07:00
Nadiya
24c84942cb Update sairedis commit (#1085)
Signed-off-by: Nadiya Stetskovych <Nadiya.Stetskovych@cavium.com>
2017-10-26 21:00:18 -07:00
Vitaly.Vovnoboy
b478e8c196 [Marvell]: Update related files for Marvell platform (#1047) 2017-10-17 12:31:37 -07:00
Xin Liu
413a330d5d Update README.md 2017-10-15 22:20:06 -07:00
Hnydyn Nazar
50009d3f32 [ntp]: Fix NTP sync while using DHCP (#1036) 2017-10-13 17:08:50 -07:00
Taoyu Li
a07db208b6 Update sonic-utilities pointer 2017-10-06 11:54:23 -07:00
Taoyu Li
7c7a697c70 [cfggen] Fix a bug in --var-json option with multi-keys (#1015) 2017-10-06 11:53:32 -07:00
Shuotian Cheng
aeacf9b1dc [config-engine]: Fix bug multiple ports connecting to same neighbor (#1005)
The current DEVICE_NEIGHBOR format doesn't support multiple different
ports connecting with same neighbor. Thus the lldpd.conf file is not
generated correctly, causing missing information for LAG members.

This fix reverts the data structure in the previous version of
minigraph parser - using local port as the key and remote port/device
as the value of the map. Sample format is:

DEVICE_NEIGHBOR['Ethernet124'] = {
    'name': 'ARISTA04T1',
    'port': 'Ethernet1/1'
}

The corresponding unit test in test_cfggen is updated.
Add one more unit test for lldpd.conf.j2 verification.

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-10-03 23:27:51 +00:00
Rodny Molina
1fdf480f27 [utilities]: Update sonic-utilities submodule (#1006) 2017-10-03 21:55:39 +00:00
Shuotian Cheng
462b3c9f4f [swss]: Update the ipinip.j2 template to specify the IPv4 loopback address (#998)
Use ipv4_loopback_addresses variable to store all IPv4 loopback addresses.
The source IP for encapsulation is chosen from one of the addresses.
The destination IPs for decapsulation is the list of the addresses.

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-10-03 21:54:32 +00:00
Shuotian Cheng
4ff0ee5e86 [teamd]: Remove deprecated blocking logic before starting teamd (#976)
With the fixes in /etc/network/interfaces file, host interfaces
could be added into the corresponding LAGs automatically. Thus,
the logic of checking if port initialization is ready is no longer
needed.

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-10-03 21:53:46 +00:00
Volodymyr Samotiy
9fe94ad4d7 [config]: Fix management interface configuration (#966)
* [config]: Fix management interface configuration

* [config]: Fix management interface configuration

* Fix comments
2017-10-03 21:53:13 +00:00
Ying Xie
aca459b689 [Broadcom]: publish SAI 2.3.0.5-2 and OpenNSL 3.4.1.5-2 (#993)
By upgrading 201709 branch to build with Broadcom SAI 2.3.0.5 and Opennsl 3.4.1.5, there comes:

- A preliminary support for TomHawk2 ASIC on Arista 7260CX3 platform.
- Continue having support for Trident2 ASIC support.
2017-09-28 12:05:24 -07:00
Ying Xie
18bfa3d1a0 [Arista] Fix a typo in port_config.ini (#994) 2017-09-27 16:53:10 -07:00
Taoyu Li
833ce1fdfc Update sonic-utilities to be compatible with #942 (#965) 2017-09-20 21:51:59 +00:00
Shuotian Cheng
50cb8b2af2 [swss]: Fix the command to get HWSKU with sonic-cfggen (#964) 2017-09-20 21:49:25 +00:00
Shuotian Cheng
93190199c8 [bgp]: Fix the deployment_id with DEVICE_METADATA (#962) 2017-09-20 21:49:19 +00:00
Nadiya
369f578573 [cavm] Update cavium SAI revision (#961)
Signed-off-by: Nadiya Stetskovych <Nadiya.Stetskovych@cavium.com>
2017-09-19 16:21:34 -07:00
Shu0T1an ChenG
48fd6fb4ec [swss]: Move swss/common/sairedis submodule to 201709 tag 2017-09-15 11:15:10 -07:00
Ying Xie
3cbc080f7b [sairedis]: update sairedis submodule head (#956)
This submodule update includes the deadlock fixes.
2017-09-15 11:15:04 -07:00
Ying Xie
56ae5edc7f [service template] Starting new docker when HWSKU change is detected (#946)
Existing dockers has paths mounted according to the HWSKU. When HWSKU
changes, these dockers need to be destroyed and recreated with the
correct paths mounted.
2017-09-14 08:43:02 -07:00
Taoyu Li
2e3975d6ed [config] Fix an issue that bgp asn data type is not consistent (#953)
* Fix an issue that bgp asn data type is not consistent from minigraph parser and DB

* Fix test typo
2017-09-13 21:23:06 -07:00
cytsai0409
e4cae4e889 [Ingrasys] update port_config.ini and sfputil for ingrasys platforms (#952)
* [Ingrasys] update port_config.ini and sfputil for ingrasys platforms

- What I did

Update port_config.ini on S8810-32Q/S8900-54XC/S8900-64XC/S9100-C32 platforms

- How I did it

Update alias field and add port field in port_config.ini

- How to verify it

Check with the "sfputil show eeprom" command. If no error occurs, it is passed.

- Description for the changelog

Update port_config.ini on S8810-32Q/S8900-54XC/S8900-64XC/S9100-C32 platforms

* [Ingrasys] remove debug message in sfputil.py on S8810-32Q

- What I did

remove debug message in sfputil.py on S8810-32Q

- How I did it

remove print in get_low_power_mode() and set_low_power_mode()

- How to verify it

There should be no debug message when executing "sfputil show lpmode"
and "sfputil lpmode on Ethernet0"command.

- Description for the changelog

remove debug message in sfputil.py on S8810-32Q

- A picture of a cute animal (not mandatory but encouraged)
2017-09-13 19:18:26 -07:00
nikos-li
686e227dcc [frr]: RR client support in minigraph for FRR (#923) 2017-09-12 15:48:38 -07:00
Taoyu Li
c9cc7aea41 [configdb] Migrate minigraph configurations to DB (#942)
Modify minigraph parser output format so it fit DB schema
Modify configuration templates to fit new schema
Systemd services dependencies are modified so database starts before any configuration consumer
2017-09-12 14:13:27 -07:00
Samuel Angebault
bc73082922 [devices]: Add led plugin for Arista 7060CX-32S and 7260CX3-64 (#945)
* Bump sonic-platform-modules-arista submodule

* Allow image specific mount option for containers

* Add led plugin for DCS-7060CX-32S

* Add led plugin for DCS-7260CX3-64
2017-09-11 15:29:42 -07:00
lguohan
d3997f4a35 [sonic-slave]: SLAVE_TAG should be for both Dockerfile and Dockerfile.user (#950)
Should rebuild both Dockerfile and Dockerfile.user when any of the two
files change.
2017-09-09 15:22:52 -07:00
lguohan
2cd2f95384 [github]: add templates for submitting issues and PR (#947) 2017-09-08 21:27:15 -07:00
Marian Pritsak
8f1ac5d5ec [rsyslog]: Use timegenerated instead of timestamp (#944)
* [rsyslog]: Use timegenerated instead of timestamp

This is useful when rsyslog is used to put markers generated on other machines.
This way all messages will have a timestamp from a single system.

* [rsyslog] Use subseconds from local machine
2017-09-08 18:25:25 -07:00
lguohan
5098d98976 [dell]: remove nos_to_sonic_grub.cfg (#943)
no longer needed in the build image
2017-09-08 08:26:30 -07:00
Joe LeVeque
211689ad29 [slave.mk]: Apply series of patches to SONIC_PYTHON_STDEB_DEBS targets if they exist (#941) 2017-09-07 14:02:17 -07:00
Marian Pritsak
e418675ba5 [rsyslog]: Use SONiC template in containers (#940) 2017-09-07 13:01:20 -07:00
lguohan
116ba4b180 [baseimage]: allocate varlog disk in the initramfs stage (#936)
moving to initramfs unifies disk allocate on different platforms.
use fallocate instead of dd to speed up the disk allocation.

By default, mkfs.ext4 has -E discard option which discards the blocks
at the mkfs time, also speed up the initialization time.
2017-09-06 20:07:32 -07:00
lguohan
48f1a638cb [sairedis]: revert deadlock fix in sonic-sairedis submodule (#934)
The deadlock fix in sonic-sairedis introduce other race conditions which
is more prevelant.
2017-09-05 20:55:07 -07:00
Joe LeVeque
bb1a7b2e22 Replace CRLF line endings with LF (#932) 2017-09-01 15:28:46 -07:00
Joe LeVeque
1b944dba39 Fix confusing comment (#931) 2017-09-01 15:28:33 -07:00