Skip to content

Commit bdcd478

Browse files
authored
Merge pull request #6 from Azure/master
Update from Azure
2 parents e8ece0f + 52fe7ae commit bdcd478

1,977 files changed

Lines changed: 127750 additions & 17159 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,34 @@
11
<!--
2-
Please make sure you've read and understood our contributing guidelines;
2+
Please make sure you've read and understood our contributing guidelines:
33
https://github.com/Azure/SONiC/blob/gh-pages/CONTRIBUTING.md
44
55
** Make sure all your commits include a signature generated with `git commit -s` **
66
77
If this is a bug fix, make sure your description includes "fixes #xxxx", or
8-
"closes #xxxx"
8+
"closes #xxxx" or "resolves #xxxx"
99
1010
Please provide the following information:
1111
-->
1212

13-
**- What I did**
13+
**- Why I did it**
1414

1515
**- How I did it**
1616

1717
**- How to verify it**
1818

19+
**- Which release branch to backport (provide reason below if selected)**
20+
21+
<!--
22+
- Note we only backport fixes to a release branch, *not* features!
23+
- Please also provide a reason for the backporting below.
24+
- e.g.
25+
- [x] 202006
26+
-->
27+
28+
- [ ] 201811
29+
- [ ] 201911
30+
- [ ] 202006
31+
1932
**- Description for the changelog**
2033
<!--
2134
Write a short (one line) summary that describes the changes in this

.gitignore

Lines changed: 21 additions & 91 deletions
Original file line numberDiff line numberDiff line change
@@ -20,94 +20,6 @@ target/
2020
*dbg.j2
2121
*.img
2222

23-
# Subdirectories in src
24-
src/bash/*
25-
!src/bash/Makefile
26-
src/dhcpmon/debian/*
27-
!src/dhcpmon/debian/changelog
28-
!src/dhcpmon/debian/compat
29-
!src/dhcpmon/debian/control
30-
!src/dhcpmon/debian/rules
31-
src/ixgbe/*
32-
!src/ixgbe/Makefile
33-
src/isc-dhcp/*
34-
!src/isc-dhcp/Makefile
35-
!src/isc-dhcp/patch
36-
src/socat/*
37-
!src/socat/Makefile
38-
!src/socat/*.patch
39-
src/tacacs/*
40-
src/tacacs/nsm/*
41-
src/tacacs/pam/*
42-
!src/tacacs/nsm/Makefile
43-
!src/tacacs/nsm/*.patch
44-
!src/tacacs/pam/Makefile
45-
!src/tacacs/pam/*.patch
46-
src/hiredis/*
47-
!src/hiredis/Makefile
48-
src/igb/*
49-
!src/igb/Makefile
50-
src/initramfs-tools/*
51-
!src/initramfs-tools/Makefile
52-
src/iproute2/*
53-
!src/iproute2/Makefile
54-
src/isc-dhcp/*
55-
!src/isc-dhcp/Makefile
56-
!src/isc-dhcp/patch/
57-
src/libnl3/*
58-
!src/libnl3/debian
59-
src/libnl3/debian/libnl-*/
60-
!src/libnl3/Makefile
61-
src/libteam/*
62-
!src/libteam/Makefile
63-
src/libyang/*
64-
!src/libyang/Makefile
65-
src/lldpd/*
66-
!src/lldpd/Makefile
67-
!src/lldpd/patch/
68-
src/lm-sensors/*
69-
!src/lm-sensors/Makefile
70-
src/monit/*
71-
!src/monit/Makefile
72-
!src/monit/patch/
73-
src/mpdecimal/*
74-
!src/mpdecimal/Makefile
75-
src/python-click/*
76-
!src/python-click/Makefile
77-
src/python3/*
78-
!src/python3/Makefile
79-
src/radvd/*
80-
!src/radvd/Makefile
81-
!src/radvd/patch/
82-
src/redis/*
83-
!src/redis/Makefile
84-
src/smartmontools/*
85-
!src/smartmontools/Makefile
86-
src/snmpd/*
87-
!src/snmpd/Makefile
88-
src/sonic-device-data/src/device/
89-
src/sonic-device-data/src/debian/
90-
src/supervisor/*
91-
!src/supervisor/Makefile
92-
!src/supervisor/patch/
93-
src/swig/*
94-
!src/swig/Makefile
95-
src/systemd-sonic-generator/systemd-sonic-generator
96-
src/systemd-sonic-generator/debian/*
97-
!src/systemd-sonic-generator/debian/changelog
98-
!src/systemd-sonic-generator/debian/compat
99-
!src/systemd-sonic-generator/debian/control
100-
!src/systemd-sonic-generator/debian/rules
101-
src/telemetry/debian/*
102-
!src/telemetry/debian/changelog
103-
!src/telemetry/debian/compat
104-
!src/telemetry/debian/control
105-
!src/telemetry/debian/rules
106-
!src/telemetry/debian/telemetry.init.d
107-
src/thrift/*
108-
!src/thrift/patch/
109-
!src/thrift/Makefile
110-
11123
# Autogenerated Dockerfiles
11224
sonic-slave*/Dockerfile
11325
dockers/*/Dockerfile
@@ -120,11 +32,16 @@ installer/x86_64/platforms/
12032
src/sonic-config-engine/**/*.pyc
12133
src/sonic-config-engine/build
12234
src/sonic-config-engine/sonic_config_engine.egg-info
123-
src/sonic-daemon-base/**/*.pyc
124-
src/sonic-daemon-base/build
125-
src/sonic-daemon-base/sonic_daemon_base.egg-info
35+
36+
src/sonic-py-common/**/*.pyc
37+
src/sonic-py-common/.eggs/
38+
src/sonic-py-common/build
39+
src/sonic-py-common/dist
40+
src/sonic-py-common/sonic_py_common.egg-info
12641

12742
# Misc. files
43+
asic_config_checksum
44+
files/Aboot/boot0
12845
files/initramfs-tools/arista-convertfs
12946
files/initramfs-tools/union-mount
13047

@@ -141,3 +58,16 @@ src/**/debian/stamp-autotools-files
14158

14259
# .o files
14360
src/**/*.o
61+
62+
# platform
63+
platform/**/*.egg-info
64+
platform/**/*-none-any.whl
65+
platform/**/.pybuild
66+
platform/**/debian/*
67+
platform/**/build
68+
platform/broadcom/sonic-platform-modules-dell/s5232f/sonic_platform/ipmihelper.py
69+
platform/broadcom/sonic-platform-modules-dell/s6100/modules/dell_ich.c
70+
platform/broadcom/sonic-platform-modules-dell/s6100/modules/dell_s6100_lpc.c
71+
platform/broadcom/sonic-platform-modules-dell/z9100/modules/dell_ich.c
72+
platform/broadcom/sonic-platform-modules-dell/z9100/modules/dell_mailbox.c
73+
platform/broadcom/sonic-platform-modules-dell/z9264f/sonic_platform/ipmihelper.py

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,6 @@
8282
path = src/sonic-restapi
8383
url = https://github.com/Azure/sonic-restapi.git
8484
branch = master
85+
[submodule "src/sonic-mgmt-common"]
86+
path = src/sonic-mgmt-common
87+
url = https://github.com/Azure/sonic-mgmt-common.git

Makefile

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,36 @@
11
# SONiC make file
22

33
NOJESSIE ?= 0
4+
NOSTRETCH ?= 0
45

56
%::
67
@echo "+++ --- Making $@ --- +++"
78
ifeq ($(NOJESSIE), 0)
8-
EXTRA_JESSIE_TARGETS=$(notdir $@) make -f Makefile.work jessie
9+
EXTRA_DOCKER_TARGETS=$(notdir $@) make -f Makefile.work jessie
910
endif
10-
BLDENV=stretch make -f Makefile.work $@
11+
ifeq ($(NOSTRETCH), 0)
12+
EXTRA_DOCKER_TARGETS=$(notdir $@) BLDENV=stretch make -f Makefile.work stretch
13+
endif
14+
BLDENV=buster make -f Makefile.work $@
1115

1216
jessie:
1317
@echo "+++ Making $@ +++"
1418
ifeq ($(NOJESSIE), 0)
1519
make -f Makefile.work jessie
1620
endif
1721

22+
stretch:
23+
@echo "+++ Making $@ +++"
24+
ifeq ($(NOSTRETCH), 0)
25+
make -f Makefile.work stretch
26+
endif
27+
1828
clean reset init configure showtag sonic-slave-build sonic-slave-bash :
1929
@echo "+++ Making $@ +++"
2030
ifeq ($(NOJESSIE), 0)
2131
make -f Makefile.work $@
2232
endif
33+
ifeq ($(NOSTRETCH), 0)
2334
BLDENV=stretch make -f Makefile.work $@
35+
endif
36+
BLDENV=buster make -f Makefile.work $@

0 commit comments

Comments
 (0)