Commit Graph

296 Commits

Author SHA1 Message Date
lguohan
81d7119c57 [platform]: change baudrate for wedge100 platform () 2017-02-18 14:10:13 -08:00
Taoyu Li
5573a8204e Allow sonic-cfggen to work in environment without /host/machine.conf () 2017-02-17 19:47:50 -08:00
Taoyu Li
ea372cc7c1 Add get_graph service to fetch minigraph automatically ()
- Add a functionality to get SNMP community from DHCP (option 224)
- Add a functionality to get minigraph from http service instead of using default minigraph
  - The url for graph service is passed through DHCP option 225
  - This feature is by default disabled. Modify rule/config to enable it on build time, or modify /etc/sonic/graph_service_url on run time.
- Fix a bug that getting hostname from DHCP is not working correctly
2017-02-17 13:47:01 -08:00
Taoyu Li
2d0b41a340 Combine alias_map.json with port_config.ini ()
* Combine alias_map.json with port_config.ini
2017-02-17 13:03:42 -08:00
Marian Pritsak
f9f31ed296 [installer]: limit size of /var/log ()
Create loop device during installation of
size soecified in config file for machine

Signed-off-by: marian-pritsak <marianp@mellanox.com>
2017-02-16 23:28:09 -08:00
Samuel Angebault
a962c0b386 [boot0] sync filesystem before kexec () 2017-02-16 22:10:29 -08:00
pavel-shirshov
a845740543 [All Dockerfiles]: Prevent apt asking questions on the console ()
Add noninteractive setting into every Dockerfile in the repo

Signed-off-by: Pavel Shirshov pavelsh@microsoft.com
2017-02-16 21:48:49 -08:00
Qi Luo
8a24c05f04 [src]: Update submodule sonic-py-swsssdk () 2017-02-16 21:03:59 -08:00
Samuel Angebault
89a695a5e7 [union-mount] Rescan dev if root partition disapear ()
On some platforms after the initramfs init scripts have mounted the root device its
block device disapear from /dev. The union-mount script therefore can't mount the
root device over the aufs. If this case happen, issue a rescan of the devices to
repopulate the /dev filesystem.
2017-02-15 23:18:02 -08:00
Shuotian Cheng
877291ae91 [docker-teamd]: Automatically start the processes after host interfaces are created ()
Signed-off-by: Shuotian Cheng <shuche@microsoft.com>
2017-02-15 08:54:10 -08:00
Shuotian Cheng
e702fc0732 [Broadcom]: Update debian packages ()
Signed-off-by: Shuotian Cheng <shuche@microsoft.com>
2017-02-15 08:48:52 -08:00
Andriy Moroz
fe519be941 [src]: Update sonic-swss submodule reference () 2017-02-15 08:48:37 -08:00
lguohan
e439ee3152 [installer]: add console override for z9100 () 2017-02-14 18:51:24 -08:00
Taoyu Li
f5b2dccee9 Allow build image with local changes for debug purpose ()
* Allow build with local change for debug purpose
Uncomment DEBUG_BUILD = y in rule.mk/config to enable local build
2017-02-14 16:56:08 -08:00
Taoyu Li
7e9f6b4e12 Remove /etc/default/snmpd from snmp docker () 2017-02-13 17:52:29 -08:00
Taoyu Li
ecc9f0c6d8 Properly pull vlan subnet from minigraph when writing bgpd.conf () 2017-02-13 14:17:22 -08:00
lguohan
0a6565d6a4 [config]: add device type in minigraph () 2017-02-12 21:18:09 -08:00
antonpatenko
6a6f5a66a8 [docker-base]: unsubmodule docker-base. ()
Convert docker-base from submodule into a regular directory.
2017-02-12 18:02:04 -08:00
Marian Pritsak
ec584a2cc0 [sonic-utilities]: integrate into base image ()
Signed-off-by: marian-pritsak <marianp@mellanox.com>
2017-02-12 15:05:12 -08:00
Qi Luo
815bf53de7 snmpd disables inetCidrRouteTable module () 2017-02-10 10:40:09 -08:00
Qi Luo
7282846d7b Update submodule sonic-snmpagent () 2017-02-10 10:36:39 -08:00
lguohan
6119a58e4a [build_debian]: install deps in rootfs instead of just extracting the packages ()
packages contains post-install that needs to be performed
2017-02-10 07:39:05 -08:00
lguohan
55acd9e9e3 [python3]: add dpkg_lock in python3 build () 2017-02-09 13:36:26 -08:00
lguohan
e5616f236d [swss]: Wait for redis server start before database clean ()
picked this change from sonic-mgmt repo.

https://github.com/Azure/sonic-mgmt/pull/110
2017-02-09 06:52:20 -08:00
Marian Pritsak
064dab606f [gitignore] Add .sku () 2017-02-09 06:24:52 -08:00
Qi Luo
822680d21b Build python3.6 deb packages and install them into docker-snmp-sv2 () 2017-02-08 22:02:21 -08:00
lguohan
e6753fe6f0 [doc]: add build space recommendation 2017-02-08 19:02:18 -08:00
Samuel Angebault
49042c0a9c Add more version information for newer aboot () 2017-02-08 14:13:44 -08:00
lguohan
b6753e7960 [docker-config-engine]: introduce docker sonic config engine ()
* [docker-config-engine]: introduce docker sonic config engine

sonic config engine provide the sonic configure engine for all sonic
dockers that rely on the engine to generate runtime configuration.
2017-02-07 18:11:19 -08:00
lguohan
a412fe16c4 [dockers]: use docker --squash to build dockers () 2017-02-07 08:36:19 -08:00
Oleksandr Ivantsiv
53a9792014 [Makefile]: Add possibility for docker containers to install files to base image ()
- Add vtysh/lldpctl/sensors to baseimage
2017-02-07 00:33:20 -08:00
Joe LeVeque
522585aadf [docker-fpm]: T0 devices receive routes containing one occurrence of their own ASN () 2017-02-07 00:28:30 -08:00
Guohan Lu
8901112bf6 [git]: add more Dockerfile in .gitignore 2017-02-07 05:25:23 +00:00
lguohan
8b5d05eeef [sonic-slave]: upgrade docker engine in sonic-slave to 1.13.0 () 2017-02-06 21:11:18 -08:00
Joe LeVeque
12fa107645 Revert "Revert "Conform with new Docker build method"" () 2017-02-06 08:40:57 -08:00
lguohan
8826beb597 [docker]: change hardcoded value to DOCKERFS_DIR for docker directory on the disk () 2017-02-06 08:17:16 -08:00
Nadiya
2358678497 Add operational script, accton_as7512_util.py, for device initializatian and peripheral accessing ()
Signed-off-by: Nadiya.Stetskovych <Nadiya.Stetskovych@cavium.com>
2017-02-05 22:17:25 -08:00
lguohan
0bbde7b91a [aboot]: extract dockerfs in initramfs stage when the root fs is vfat ()
vfat does not support symbol links used in aufs
2017-02-05 22:11:52 -08:00
lguohan
27a0b7c1fd build one aboot image on arista platform () 2017-02-05 15:59:59 -08:00
Joe LeVeque
64f26beb42 Update PTF submodule to point to current head of master branch () 2017-02-05 14:37:34 -08:00
Kram
d41877f4ff [p4]: update p4 behaviro-model refpoint 2017-02-05 07:29:44 +00:00
lguohan
8bc559ecca [sonic-aboot]: restore docker archive on arista platform () 2017-02-04 22:32:45 -08:00
krambn
7c2c5f7f42 [p4]: Update the SAI header files to v0.9.4 ()
* change refpoints to local repos (p4)

* update refpoint to different fork

* added missing bm link for platform p4
2017-02-04 18:38:05 -08:00
lguohan
7abb48abff [kernel]: update kernel for arista 7260cx-32 () 2017-02-04 12:02:58 -08:00
Joe LeVeque
e75acfe6d7 Add 'One Image' implementation for DHCP relay (hopefully fix builds) 2017-02-04 19:42:41 +00:00
lguohan
f6a509cbb7 Revert "Add possibility to install debug packages during build." () 2017-02-03 22:14:47 -08:00
antonpatenko
26f4c85825 Add possibility to install debug packages during build. ()
* Enabled common debug packages installation.

* Update gitignore.

* Make debug-packages installation disabled by default.
2017-02-03 21:38:32 -08:00
Oleksandr Ivantsiv
2b113c4175 Add FLUSH DB commands to swss service missed during merge ()
* Add FLUSH DB commands to swss service missed during merge

* Update swss.service.j2
2017-02-03 21:35:48 -08:00
Taoyu Li
b2e44834f1 SNMP will now bind on 0.0.0.0 if mgmt ip not specified in minigraph ()
Fix an issue that snmp will fail to start if mgmt ip is not specified in minigraph (e.g. default graph in oneimage where mgmt ip is from DHCP)
2017-02-03 21:01:34 -08:00
lguohan
68270f36df [build break]: Revert "Conform with new Docker build method" () 2017-02-03 20:15:55 -08:00