Skip to content
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

Dash #3

Closed
wants to merge 50 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
31c9321
[chassis][voq]Collect counters for fabric links (#1944)
mlorrillere Oct 5, 2022
c8d4905
[vlanmgr] Disable `arp_evict_nocarrier` for vlan host intf (#2469)
lolyu Oct 6, 2022
3b8da4d
[DPU] Simplify SWSS initialization to meet DPU requirements. (#2440)
oleksandrivantsiv Sep 19, 2022
f8b4d88
[DPU] Fix unit tests compilation after merge from master branch. (#2478)
oleksandrivantsiv Oct 4, 2022
15beee4
Add support for voq counters in portsorch. (#2467)
skbarista Oct 12, 2022
ab29920
[QoS] Support dynamic headroom calculation for Barefoot platforms (#2…
MariuszStachura Oct 18, 2022
ab4f804
[portsorch] remove port OID from saiOidToAlias map on port deletion (…
stepanblyschak Oct 25, 2022
dbdf31c
[counters] Improve performance by polling only configured ports buffe…
vadymhlushko-mlnx Oct 25, 2022
52c561f
Added LAG member check on addLagMember() (#2464)
Nov 1, 2022
e04bb43
Fix vs test issue: failed to remove vlan due to referenced by vlan in…
stephenxs Nov 2, 2022
84642f3
[Dynamic buffer calculation][Mellanox] Enhance the logic to identify …
stephenxs Nov 2, 2022
6e967e2
orchagent: DASH changes (#2459)
prabhataravind Nov 5, 2022
724f914
[tests] [asan] extend graceful stop flag to also stop syncd (#2491)
Yakiv-Huryk Nov 8, 2022
ab0e474
swss: Fixing race condition for rif counters (#2488)
sumanbrcm Nov 8, 2022
6e288dc
New P4Orch development. (#2425)
mint570 Nov 9, 2022
e557855
[SWSS] Innovium platform specific changes in PFC Detect lua script (#…
maulik-marvell Nov 10, 2022
81f4ea9
orchagent/portsorch: Missing scheduler group after SWSS restart (#2174)
arvbb Nov 11, 2022
46c0ca8
[Azp]: Add Azp for DASH (#2501)
Pterosaur Nov 11, 2022
7c3f76c
Add SAI_ENI_ATTR_VM_UNDERLAY_DIP and SAI_ENI_ATTR_VM_VNI attributes t…
prabhataravind Nov 11, 2022
da56bd6
Remove LOGLEVEL DB since is no longer used (#2507)
EdenGri Nov 14, 2022
28aa309
[fpm] Fix FpmLink to read all netlink messages from FPM message (#2492)
stepanblyschak Nov 15, 2022
87eb07c
[dash] add USE_DST_VNET_VNI attribute to CA-to-PA entry (#2533)
Yakiv-Huryk Nov 17, 2022
dca78d8
[Fdbsyncd] Bug Fix for remote MAC move to local MAC and Fix for Stati…
kishorekunal01 Nov 18, 2022
bc3c894
[dual-tor] add missing SAI attribte in order to create IPNIP tunnel (…
ayurkiv-nvda Nov 27, 2022
1a74604
Use github code scanning instead of LGTM (#2546)
liushilongbuaa Nov 30, 2022
ec507a4
[ACL] Support ACTION_COUNTER action in custom ACL table type (#2550)
bingwang-ms Dec 2, 2022
6b6dda6
[Centec]for support mclag of centec to configure port isolate-group #…
AlanYoush Dec 5, 2022
bd652a0
[muxorch] Adding case for maintaining current state (#2280)
Ndancejic Dec 6, 2022
d0419dc
sonic-swss: Fix orchagent crash in generateQueueMapPerPort. (#2552)
skbarista Dec 6, 2022
b8521cc
[p4orch]: PINS Extension tables support (#2506)
svshah-intel Dec 6, 2022
6afefe1
[vstest][virtual chassis] Removed dvs.runcmd using click commands (#2…
vganesan-nokia Dec 7, 2022
872f7bf
[portinit] Do not call GET on SAI_PORT_ATTR_SPEED when AUTONEG is ena…
vaibhavhd Dec 7, 2022
6695113
[gearbox] Support setting tx taps on gearbox ports (#2158)
byu343 Dec 8, 2022
242ee11
[muxorch] Skip programming SoC IP kernel tunnel route (#2557)
lolyu Dec 13, 2022
577f696
[muxorch] Skip programming ACL for standby `active-active` ports (#2569)
lolyu Dec 15, 2022
f2d2fb3
L3 / L3 V6 Egress ACL table creation failure (#2561)
ArthiGovindaraj Dec 16, 2022
b865352
Align watermark flow with port configuration (#2525)
dbarashinvd Dec 16, 2022
6185324
dereg acl-rule counters during acl-table del (#2574)
vivekrnv Dec 16, 2022
def98d9
Remove TODO comments which are no longer needed (#2568)
Junchao-Mellanox Dec 19, 2022
c00455a
Only collect stdout of orchagent_restart_check in vstest (#2578)
bingwang-ms Dec 19, 2022
44d1e9c
Fix `test_vlan.py` (#2541)
lolyu Dec 19, 2022
beaac71
[voq][chassis]Add show fabric counters port/queue commands (#2522)
jfeng-arista Dec 19, 2022
f1c0a75
Update FDB state table when , MAC entries are modified as dynamic_loc…
prasanna-cls Dec 20, 2022
94429f1
Fixed a bug causing error state of same configuration is applied twic…
siqbal1986 Dec 20, 2022
0d91125
[bufferorch] : Support for buffer profiles for VoQ on chassis (#2465)
vmittal-msft Dec 21, 2022
a443945
Updated handling of VRF_VNI mapping and VLAN_VNI mapping for same VNI…
tapashdas Dec 22, 2022
876aa74
[DASH] Add retry logic for VNET mapping table (#2583)
theasianpianist Dec 22, 2022
7891e78
Fixed set mtu for deleted subintf due to late notification (#2571)
EdenGri Dec 28, 2022
b4daca6
Merge remote-tracking branch 'origin/master' into dash
prsunny Dec 30, 2022
468700e
[DASH] Fix compilation issue caused by merge from the master branch.
oleksandrivantsiv Dec 30, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 56 additions & 11 deletions .azure-pipelines/build-docker-sonic-vs-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,51 @@ parameters:
- name: swss_artifact_name
type: string

- name: sairedis_artifact_name
- name: swss_common_artifact_name
type: string

- name: swss_common_artifact_name
- name: swss_common_branch
type: string
default: '$(BUILD_BRANCH)'

- name: artifact_name
type: string

- name: buildimage_artifact_name
type: string
default: 'sonic-buildimage.vs'

- name: buildimage_artifact_project
type: string
default: 'build'

- name: buildimage_artifact_pipeline
type: string
default: 'Azure.sonic-buildimage.official.vs'

- name: buildimage_artifact_branch
type: string
default: '$(BUILD_BRANCH)'

- name: sairedis_artifact_name
type: string

- name: sairedis_artifact_project
type: string
default: 'build'

- name: sairedis_artifact_pipeline
type: string
default: 'Azure.sonic-sairedis'

- name: sairedis_artifact_branch
type: string
default: '$(BUILD_BRANCH)'

- name: sairedis_artifact_pattern
type: string
default: '**'

- name: asan
type: boolean
default: false
Expand All @@ -43,18 +79,26 @@ jobs:
pipeline: Azure.sonic-swss-common
artifact: ${{ parameters.swss_common_artifact_name }}
runVersion: 'latestFromBranch'
runBranch: 'refs/heads/$(BUILD_BRANCH)'
runBranch: 'refs/heads/${{ parameters.swss_common_branch }}'
path: $(Build.ArtifactStagingDirectory)/download
displayName: "Download sonic swss common deb packages"
- task: DownloadPipelineArtifact@2
inputs:
source: specific
project: build
pipeline: Azure.sonic-sairedis
project: ${{ parameters.sairedis_artifact_project }}
pipeline: ${{ parameters.sairedis_artifact_pipeline }}
artifact: ${{ parameters.sairedis_artifact_name }}
runVersion: 'latestFromBranch'
runBranch: 'refs/heads/$(BUILD_BRANCH)'
path: $(Build.ArtifactStagingDirectory)/download
runBranch: 'refs/heads/${{ parameters.sairedis_artifact_branch }}'
path: $(Build.ArtifactStagingDirectory)/download/sairedis
patterns: |
${{ parameters.sairedis_artifact_pattern }}/libsaivs_*.deb
${{ parameters.sairedis_artifact_pattern }}/libsaivs-dev_*.deb
${{ parameters.sairedis_artifact_pattern }}/libsairedis_*.deb
${{ parameters.sairedis_artifact_pattern }}/libsairedis-dev_*.deb
${{ parameters.sairedis_artifact_pattern }}/libsaimetadata_*.deb
${{ parameters.sairedis_artifact_pattern }}/libsaimetadata-dev_*.deb
${{ parameters.sairedis_artifact_pattern }}/syncd-vs_*.deb
displayName: "Download sonic sairedis deb packages"
- task: DownloadPipelineArtifact@2
inputs:
Expand All @@ -64,11 +108,11 @@ jobs:
- task: DownloadPipelineArtifact@2
inputs:
source: specific
project: build
pipeline: Azure.sonic-buildimage.official.vs
artifact: sonic-buildimage.vs
project: ${{ parameters.buildimage_artifact_project }}
pipeline: ${{ parameters.buildimage_artifact_pipeline }}
artifact: ${{ parameters.buildimage_artifact_name }}
runVersion: 'latestFromBranch'
runBranch: 'refs/heads/$(BUILD_BRANCH)'
runBranch: 'refs/heads/${{ parameters.buildimage_artifact_branch }}'
path: $(Build.ArtifactStagingDirectory)/download
patterns: '**/target/${{ parameters.artifact_name }}.gz'
displayName: "Download sonic-buildimage ${{ parameters.artifact_name }}"
Expand All @@ -80,6 +124,7 @@ jobs:

mkdir -p .azure-pipelines/docker-sonic-vs/debs

find $(Build.ArtifactStagingDirectory)/download/sairedis -name '*.deb' -exec cp "{}" .azure-pipelines/docker-sonic-vs/debs \;
cp -v $(Build.ArtifactStagingDirectory)/download/*.deb .azure-pipelines/docker-sonic-vs/debs

pushd .azure-pipelines
Expand Down
71 changes: 52 additions & 19 deletions .azure-pipelines/build-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,29 @@ parameters:
- name: sairedis_artifact_name
type: string

- name: sairedis_artifact_project
type: string
default: 'build'

- name: sairedis_artifact_pipeline
type: string
default: 'Azure.sonic-sairedis'

- name: sairedis_artifact_branch
type: string
default: '$(BUILD_BRANCH)'

- name: sairedis_artifact_pattern
type: string
default: '**'

- name: swss_common_artifact_name
type: string

- name: swss_common_branch
type: string
default: '$(BUILD_BRANCH)'

- name: artifact_name
type: string

Expand All @@ -43,6 +63,18 @@ parameters:
- name: common_lib_artifact_name
type: string

- name: common_lib_artifact_project
type: string
default: 'build'

- name: common_lib_artifact_pipeline
type: string
default: 'Azure.sonic-buildimage.common_libs'

- name: common_lib_artifact_branch
type: string
default: '$(BUILD_BRANCH)'

- name: asan
type: boolean
default: false
Expand Down Expand Up @@ -83,39 +115,39 @@ jobs:
pipeline: Azure.sonic-swss-common
artifact: ${{ parameters.swss_common_artifact_name }}
runVersion: 'latestFromBranch'
runBranch: 'refs/heads/$(BUILD_BRANCH)'
path: $(Build.ArtifactStagingDirectory)/download
runBranch: 'refs/heads/${{ parameters.swss_common_branch }}'
path: $(Build.ArtifactStagingDirectory)/download/swsscommon
patterns: |
libswsscommon_1.0.0_${{ parameters.arch }}.deb
libswsscommon-dev_1.0.0_${{ parameters.arch }}.deb
displayName: "Download sonic swss common deb packages"
- task: DownloadPipelineArtifact@2
inputs:
source: specific
project: build
pipeline: Azure.sonic-sairedis
project: ${{ parameters.sairedis_artifact_project }}
pipeline: ${{ parameters.sairedis_artifact_pipeline }}
artifact: ${{ parameters.sairedis_artifact_name }}
runVersion: 'latestFromBranch'
runBranch: 'refs/heads/$(BUILD_BRANCH)'
path: $(Build.ArtifactStagingDirectory)/download
runBranch: 'refs/heads/${{ parameters.sairedis_artifact_branch }}'
path: $(Build.ArtifactStagingDirectory)/download/sairedis
patterns: |
libsaivs_*.deb
libsaivs-dev_*.deb
libsairedis_*.deb
libsairedis-dev_*.deb
libsaimetadata_*.deb
libsaimetadata-dev_*.deb
syncd-vs_*.deb
${{ parameters.sairedis_artifact_pattern }}/libsaivs_*.deb
${{ parameters.sairedis_artifact_pattern }}/libsaivs-dev_*.deb
${{ parameters.sairedis_artifact_pattern }}/libsairedis_*.deb
${{ parameters.sairedis_artifact_pattern }}/libsairedis-dev_*.deb
${{ parameters.sairedis_artifact_pattern }}/libsaimetadata_*.deb
${{ parameters.sairedis_artifact_pattern }}/libsaimetadata-dev_*.deb
${{ parameters.sairedis_artifact_pattern }}/syncd-vs_*.deb
displayName: "Download sonic sairedis deb packages"
- task: DownloadPipelineArtifact@2
inputs:
source: specific
project: build
pipeline: Azure.sonic-buildimage.common_libs
project: ${{ parameters.common_lib_artifact_project }}
pipeline: ${{ parameters.common_lib_artifact_pipeline }}
artifact: ${{ parameters.common_lib_artifact_name }}
runVersion: 'latestFromBranch'
runBranch: 'refs/heads/$(BUILD_BRANCH)'
path: $(Build.ArtifactStagingDirectory)/download
runBranch: 'refs/heads/${{ parameters.common_lib_artifact_branch }}'
path: $(Build.ArtifactStagingDirectory)/download/common
patterns: |
target/debs/buster/libnl-3-200_*.deb
target/debs/buster/libnl-3-dev_*.deb
Expand All @@ -130,8 +162,9 @@ jobs:
- script: |
set -ex
cd download
sudo dpkg -i $(find target/debs/buster -type f)
sudo dpkg -i $(ls *.deb)
sudo dpkg -i $(find common -type f -name '*.deb')
sudo dpkg -i $(find swsscommon -type f -name '*.deb')
sudo dpkg -i $(find sairedis -type f -name '*.deb')
cd ..
rm -rf download
workingDirectory: $(Build.ArtifactStagingDirectory)
Expand Down
28 changes: 24 additions & 4 deletions .azure-pipelines/test-docker-sonic-vs-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,22 @@ parameters:
type: string
default: docker-sonic-vs

- name: swss_common_branch
type: string
default: '$(BUILD_BRANCH)'

- name: asan
type: boolean
default: false

- name: num_ports
type: number
default: 0

- name: run_tests_pattern
type: string
default: ""

jobs:
- job:
displayName: vstest
Expand All @@ -48,7 +60,7 @@ jobs:
pipeline: Azure.sonic-swss-common
artifact: sonic-swss-common.amd64.ubuntu20_04
runVersion: 'latestFromBranch'
runBranch: 'refs/heads/$(BUILD_BRANCH)'
runBranch: 'refs/heads/${{ parameters.swss_common_branch }}'
path: $(Build.ArtifactStagingDirectory)/download
displayName: "Download sonic swss common deb packages"

Expand Down Expand Up @@ -76,16 +88,24 @@ jobs:
sudo /sbin/ip link del Vrf1 type vrf table 1001
pushd tests

params=''
params=""
if [ '${{ parameters.archive_gcov }}' == True ]; then
params='--keeptb'
params=" ${params} --keeptb "
fi
if [ '${{ parameters.asan }}' == True ]; then
params='--graceful-stop'
params=" ${params} --graceful-stop "
fi
if [ ${{ parameters.num_ports }} -gt 0 ]; then
params=" ${params} --num-ports=${{ parameters.num_ports }} "
fi

all_tests=$(ls test_*.py)
all_tests="${all_tests} p4rt"

if [ -n '${{ parameters.run_tests_pattern }}' ]; then
all_tests=" $(ls ${{ parameters.run_tests_pattern }}) "
fi

test_set=()
# Run 20 tests as a set.
for test in ${all_tests}; do
Expand Down
4 changes: 4 additions & 0 deletions .github/codeql/codeql-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
name: "CodeQL config"
queries:
- uses: security-and-quality
- uses: security-extended
Loading