sonic-buildimage/rules
Prabhu Sreenivasan 87f70108cb SONiC Management Framework Release 1.0 (#3488)
* Added sonic-mgmt-framework as submodule / docker

* fix build issues

* update sonic-mgmt-framework submodule branch to master

* Merged changes 70007e6d2ba3a4c0b371cd693ccc63e0a8906e77..00d4fcfed6a759e40d7b92120ea0ee1f08300fc6

00d4fcfed6a759e40d7b92120ea0ee1f08300fc6 Modified environemnt variables

* Changes to build sonic-mgmt-framework docker

* bumped up sonic-mgmt-framework commit-id

* version bump for sonic-mgmt-framework commit-it

* bumped up sonic-mgmt-framework commit-id

* Add python packages to docker

* Build fix for docker with python packages

* added libyang as dependent package

* Allow building images on NFS-mounted clones

Prior to this change, `build_debian.sh` would generate a Debian
filesystem in `./fsroot`. This needs root permissions, and one of the
tests that is performed is whether the user can create a character
special file in the filesystem (using mknod).

On most NFS deployments, `root` is the least privileged user, and cannot
run mknod. Also, attempting to run commands like rm or mv as root would
fail due to permission errors, since the root user gets mapped to an
unprivileged user like `nobody`.

This commit changes the location of the Debian filesystem to `/fsroot`,
which is a tmpfs mount within the slave Docker. The default squashfs,
docker tarball and zip files are also created within /tmp, before being
copied back to /sonic as the regular user.

The side effect of this change is that the contents of `/fsroot` are no
longer available once the slave container exits, however they are
available within the squashfs image.

Signed-off-by: Nirenjan Krishnan <Nirenjan.Krishnan@dell.com>

* bumped up sonc-mgmt-framework commit to include PR #18

*     REST Server startup script is enahnced to read the settings from
    ConfigDB. Below table provides mapping of db field to command line
    argument name.

    ============================================================
    ConfigDB entry key      Field name      REST Server argument
    ============================================================
    REST_SERVER|default     port            -port
    REST_SERVER|default     client_auth     -client_auth
    REST_SERVER|default     log_level       -v
    DEVICE_METADATA|x509    server_crt      -cert
    DEVICE_METADATA|x509    server_key      -key
    DEVICE_METADATA|x509    ca_crt          -cacert
    ============================================================

* Replace src/telemetry as submodule to sonic-telemetry

* Update telemetry commit HEAD

* Update sonic-telemetry commit HEAD

* libyang env path update

* Add libyang dependency to telemetry

* Add scripts to create JSON files for CLI backend

Scripts to create /var/platform/syseeprom and /var/platform/system, which are back-end
files for CLI, for system EEPROM and system information.

Signed-off-by: Howard Persh <Howard_Persh@dell.com>

* In startup script, create directory where CLI back-end files live

Signed-off-by: Howard Persh <Howard_Persh@dell.com>

* build dependency pkgs added to docker for build failure fix

* Changes to fix build issue for mgmt framework

* Fix exec path issue with telemetry

* s5232[device] PSU detecttion and default led state support

* Processing of first boot in rc.local should not have premature exit

Signed-off-by: Howard Persh <Howard_Persh@dell.com>

*  docker mount options added for platform, system features

* bumped up sonic-mgmt-framework commit id to pick 23rd July 2019 changes

* Added mount options for telemetry docker to get access for system and platform info.

* Update commit for sonic-utilities

* [dell]: Corrected dport map and renamed config files for S5232F

* Fix telemetry submodule commit

* added support for sonic-cli console

* [Dell S5232F, Z9264F] Harden FPGA driver kernel module

For Dell S5232F and Z9264F platforms, be more strict when checking state
in ISR of FPGA driver, to harden against spurious interrupts.

Signed-off-by: Howard Persh <Howard_Persh@dell.com>

* update mgmt-framework submodule to 27th Aug commit.

* remove changes not related to mgmt-framework and sonic-telemetry

* Revert "Replace src/telemetry as submodule to sonic-telemetry"

This reverts commit 11c3192975.

* Revert "Replace src/telemetry as submodule to sonic-telemetry"

This reverts commit 11c3192975.

* make submodule changes and remove a change not related to PR

* more changes

* Update .gitmodules

* Update Dockerfile.j2

* Update .gitmodules

* Update .gitmodules

* Update .gitmodules

reverting experimental change

* Removed syspoll for release_1.0

Signed-off-by: Jeff Yin <29264773+jeff-yin@users.noreply.github.com>

* Update docker-sonic-mgmt-framework.mk

* Update sonic-mgmt-framework.mk

* Update sonic-mgmt-framework.mk

* Update docker-sonic-mgmt-framework.mk

* Update docker-sonic-mgmt-framework.mk

* Revert "Processing of first boot in rc.local should not have premature exit"

This reverts commit e99a91ffc2.

* Remove old telemetry directory

* Update docker-sonic-mgmt-framework.mk

* Resolving merge conflict with Azure

* Reverting the wrong merge

* Use CVL_SCHEMA_PATH instead of changing directory for telemetry startup

* Add missing export

* Add python mmh3 to slave dockerfile

* Remove sonic-mgmt-framework build dep for telemetry, fix dialout startup issues

* Provided flag to disable compiling mgmt-framework

* Update sonic-utilites point latest commit id

* Point sonic-utilities to Azure accepted SHA

* Updating mgmt framework to right sha

* Add sonic-telemetry submodule

* Update the mgmt-framework commit id

Co-authored-by: jghalam <joe.ghalam@gmail.com>
Co-authored-by: Partha Dutta <51353699+dutta-partha@users.noreply.github.com>
Co-authored-by: srideepDell <srideep_devireddy@dell.com>
Co-authored-by: nirenjan <nirenjan@users.noreply.github.com>
Co-authored-by: Sachin Holla <51310506+sachinholla@users.noreply.github.com>
Co-authored-by: Eric Seifert <seiferteric@gmail.com>
Co-authored-by: Howard Persh <hpersh@yahoo.com>
Co-authored-by: Jeff Yin <29264773+jeff-yin@users.noreply.github.com>
Co-authored-by: Arunsundar Kannan <31632515+arunsundark@users.noreply.github.com>
Co-authored-by: rvasanthm <51932293+rvasanthm@users.noreply.github.com>
Co-authored-by: Ashok Daparthi-Dell <Ashok_Daparthi@Dell.com>
Co-authored-by: anand-kumar-subramanian <51383315+anand-kumar-subramanian@users.noreply.github.com>
2019-12-23 21:47:16 -08:00
..
asyncsnmp-py3.mk Move platform-specific hardware plugin base packages to sonic-platform-common submodule (#1301) 2018-01-17 17:11:31 -08:00
bash.mk [build]: SONiC buildimage ARM arch support (#2980) 2019-07-25 22:06:41 -07:00
config SONiC Management Framework Release 1.0 (#3488) 2019-12-23 21:47:16 -08:00
dbsyncd-py2.mk [swsssdk]: Update nomenclature: 'sswsdk' -> 'swsssdk' (#445) 2017-03-30 11:51:05 -07:00
docker-base-stretch.mk [fast-reboot]: Save fast-reboot state into the db (#3741) 2019-12-04 14:10:19 -08:00
docker-base.mk [docker-base]: Install gdbserver if INSTALL_DEBUG_TOOLS=y (#2448) 2019-01-15 15:29:52 -08:00
docker-config-engine-stretch.mk [build]: make sonic-slave-stretch as the default build docker (#2921) 2019-05-27 15:50:51 -07:00
docker-config-engine.mk Introduce ConfigDB (#808) 2017-08-01 19:02:00 -07:00
docker-database.mk [redis]: build redis-tools-dbgsym instead of redis-server-dbgsym (#3125) 2019-07-05 11:00:01 -07:00
docker-dhcp-relay.mk [Services] Restart DHCP-Relay service upon unexpected critical process exit. (#3667) 2019-11-05 18:32:14 -08:00
docker-fpm-frr.mk [bgp]: Implement Universal Traffic Shift for SONiC (#3209) 2019-07-26 14:31:56 -07:00
docker-fpm-gobgp.mk [build]: Adding support for Free-Range-Routing stack. (#510) 2017-04-20 09:12:27 -07:00
docker-fpm-quagga.mk [installer] Copy old config files rather than only minigraph (#730) 2017-06-21 11:02:25 -07:00
docker-fpm.mk [build]: Added debug symbols to many debug dockers. (#3098) 2019-07-03 22:13:55 -07:00
docker-lldp-sv2.mk [Services] Restart LLDP service upon unexpected critical process exit. (#3713) 2019-11-06 11:02:57 -08:00
docker-orchagent.mk [services] Restart SwSS service upon unexpected critical process exit (#2845) 2019-05-01 08:02:38 -07:00
docker-platform-monitor.mk [Services] Restart Platform-monitor service upon unexpected critical process exit. (#3689) 2019-11-04 17:44:01 -08:00
docker-ptf.mk [docker-ptf]: move docker-ptf to stretch (#2954) 2019-05-29 18:26:52 -07:00
docker-router-advertiser.mk [Services] Restart Router-advertiser service upon unexpected critical process exit (#3681) 2019-10-30 16:41:55 -07:00
docker-sflow.mk [Services] Restart Sflow service upon unexpected critical process exit. (#3751) 2019-11-25 13:02:00 -08:00
docker-snmp-sv2.mk [Services] Restart SNMP service upon unexpected critical process exit. (#3650) 2019-10-22 14:41:12 -07:00
docker-sonic-mgmt-framework.mk SONiC Management Framework Release 1.0 (#3488) 2019-12-23 21:47:16 -08:00
docker-sonic-mgmt.mk [docker-sonic-mgmt] install ptf framework in mgmt container and upgrade ptf (#3239) 2019-07-30 10:19:48 -07:00
docker-teamd.mk [Services] Restart Teamd service upon unexpected critical process exit. (#3703) 2019-11-04 17:45:41 -08:00
docker-telemetry.mk SONiC Management Framework Release 1.0 (#3488) 2019-12-23 21:47:16 -08:00
frr.mk [frr]: Move to version 7.2 (#3704) 2019-11-06 11:57:23 -08:00
functions [rules/functions][slave.mk]: Refine build output (#838) 2017-07-25 09:49:39 +03:00
gobgp.mk [build]: SONiC buildimage ARM arch support (#2980) 2019-07-25 22:06:41 -07:00
hiredis.mk [build]: SONiC buildimage ARM arch support (#2980) 2019-07-25 22:06:41 -07:00
ifupdown2.mk [baseimage]: Upgrade ifupdown2 to version 1.2.8 (#3180) 2019-07-19 23:09:14 -07:00
initramfs-tools.mk [baseimage]: update make file for initramfs-tools (#1967) 2018-08-22 13:04:58 -07:00
iproute2.mk [build]: SONiC buildimage ARM arch support (#2980) 2019-07-25 22:06:41 -07:00
isc-dhcp.mk [Makefile] multi arch variable fix (#3263) 2019-08-01 16:25:09 -07:00
ixgbe.mk [vs]: build sonic vs kvm image (#2269) 2018-11-20 22:32:40 -08:00
kdump-tools.mk [baseimage]: kdump support (#3722) 2019-11-08 23:08:42 -08:00
libnl3.mk [build]: SONiC buildimage ARM arch support (#2980) 2019-07-25 22:06:41 -07:00
libteam.mk [build]: SONiC buildimage ARM arch support (#2980) 2019-07-25 22:06:41 -07:00
libyang.mk libyang 1.0.73 (#3710) 2019-11-07 13:45:38 -08:00
linux-kernel.mk [build]: build ARM kernel support from sonic-linux-kernel (#3556) 2019-10-10 15:11:26 -07:00
lldpd.mk [Makefile] multi arch variable fix (#3263) 2019-08-01 16:25:09 -07:00
lm-sensors.mk [build]: SONiC buildimage ARM arch support (#2980) 2019-07-25 22:06:41 -07:00
mpdecimal.mk [build]: SONiC buildimage ARM arch support (#2980) 2019-07-25 22:06:41 -07:00
ptf.mk Integrate ptf into buildimage (#111) 2016-12-08 09:24:48 -08:00
python3.mk [build]: SONiC buildimage ARM arch support (#2980) 2019-07-25 22:06:41 -07:00
python-click.mk [build]: put stretch debian packages under target/debs/stretch/ (#2519) 2019-02-04 22:06:37 -08:00
quagga.mk [build]: SONiC buildimage ARM arch support (#2980) 2019-07-25 22:06:41 -07:00
radvd.mk [Makefile] multi arch variable fix (#3263) 2019-08-01 16:25:09 -07:00
redis-dump-load-py2.mk Build patched redis-dump-load (#2277) 2018-11-20 19:27:56 -08:00
redis.mk [build]: SONiC buildimage ARM arch support (#2980) 2019-07-25 22:06:41 -07:00
sairedis.mk [build]: SONiC buildimage ARM arch support (#2980) 2019-07-25 22:06:41 -07:00
scripts.mk [services] Restart SwSS service upon unexpected critical process exit (#2845) 2019-05-01 08:02:38 -07:00
sflow.mk [sFlow]: Upgrade hsflowd to 2.0.26-1 (#3812) 2019-11-24 15:21:43 -08:00
smartmontools.mk [build]: SONiC buildimage ARM arch support (#2980) 2019-07-25 22:06:41 -07:00
snmpd.mk [build]: SONiC buildimage ARM arch support (#2980) 2019-07-25 22:06:41 -07:00
socat.mk [build]: SONiC buildimage ARM arch support (#2980) 2019-07-25 22:06:41 -07:00
sonic-config.mk Introduce ConfigDB (#808) 2017-08-01 19:02:00 -07:00
sonic-daemon-base.mk [build] install new platform api on host (#3282) 2019-09-25 11:00:24 -07:00
sonic-device-data.mk [build]: put stretch debian packages under target/debs/stretch/ (#2519) 2019-02-04 22:06:37 -08:00
sonic-ledd.mk Move platform-specific hardware plugin base packages to sonic-platform-common submodule (#1301) 2018-01-17 17:11:31 -08:00
sonic-mgmt-framework.mk SONiC Management Framework Release 1.0 (#3488) 2019-12-23 21:47:16 -08:00
sonic-platform-common.mk [build] Avoid race condition in sonic-platform-common (#3457) 2019-09-13 22:09:34 -07:00
sonic-psud.mk [docker-platform-monitor] add psud daemon to Pmon (#2423) 2019-01-15 21:24:47 -08:00
sonic-syseepromd.mk [Pmon] Add new daemon "syseepromd" to pmon docker (#2866) 2019-06-18 11:02:24 -07:00
sonic-utilities.mk Move platform-specific hardware plugin base packages to sonic-platform-common submodule (#1301) 2018-01-17 17:11:31 -08:00
sonic-xcvrd.mk [docker-platform-monitor] make file and supervisord conf change for new xcvrd deamon (#1840) 2018-08-03 16:33:56 -07:00
sonic-ztp.mk [sonic-ztp]: Build sonic-ztp package (#3299) 2019-12-04 04:50:56 -08:00
supervisor.mk [docker-base]: Upgrade supervisord to 3.3.3 and fix supervisord.conf (#1390) 2018-02-14 09:40:26 +08:00
swig.mk [build]: SONiC buildimage ARM arch support (#2980) 2019-07-25 22:06:41 -07:00
swss-common.mk [build]: SONiC buildimage ARM arch support (#2980) 2019-07-25 22:06:41 -07:00
swss.mk [build]: SONiC buildimage ARM arch support (#2980) 2019-07-25 22:06:41 -07:00
swsssdk-py2.mk [swsssdk]: Update nomenclature: 'sswsdk' -> 'swsssdk' (#445) 2017-03-30 11:51:05 -07:00
swsssdk-py3.mk [swsssdk]: Update nomenclature: 'sswsdk' -> 'swsssdk' (#445) 2017-03-30 11:51:05 -07:00
systemd-sonic-generator.mk [build]: Move Systemd service start to systemd generator (#3172) 2019-07-29 15:52:15 -07:00
tacacs.mk [build]: SONiC buildimage ARM arch support (#2980) 2019-07-25 22:06:41 -07:00
telemetry.mk SONiC Management Framework Release 1.0 (#3488) 2019-12-23 21:47:16 -08:00
thrift.mk [build]: SONiC buildimage ARM arch support (#2980) 2019-07-25 22:06:41 -07:00