Replace src/telemetry as submodule to sonic-telemetry
This commit is contained in:
parent
82acec712d
commit
11c3192975
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -69,3 +69,6 @@
|
|||||||
[submodule "src/sonic-mgmt-framework"]
|
[submodule "src/sonic-mgmt-framework"]
|
||||||
path = src/sonic-mgmt-framework
|
path = src/sonic-mgmt-framework
|
||||||
url = https://github.com/project-arlo/sonic-mgmt-framework.git
|
url = https://github.com/project-arlo/sonic-mgmt-framework.git
|
||||||
|
[submodule "src/telemetry"]
|
||||||
|
path = src/telemetry
|
||||||
|
url = https://github.com/project-arlo/sonic-telemetry.git
|
||||||
|
1
src/telemetry
Submodule
1
src/telemetry
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 2c9b88da22b58006ad9257b80ff57a74cda3c216
|
@ -1,20 +0,0 @@
|
|||||||
export GOPATH=/tmp/go
|
|
||||||
|
|
||||||
INSTALL := /usr/bin/install
|
|
||||||
|
|
||||||
all: sonic-telemetry
|
|
||||||
|
|
||||||
sonic-telemetry:
|
|
||||||
/usr/local/go/bin/go get -v github.com/Azure/sonic-telemetry/telemetry
|
|
||||||
/usr/local/go/bin/go get -v github.com/Azure/sonic-telemetry/dialout/dialout_client_cli
|
|
||||||
|
|
||||||
install:
|
|
||||||
$(INSTALL) -D ${GOPATH}/bin/telemetry $(DESTDIR)/usr/sbin/telemetry
|
|
||||||
$(INSTALL) -D ${GOPATH}/bin/dialout_client_cli $(DESTDIR)/usr/sbin/dialout_client_cli
|
|
||||||
|
|
||||||
deinstall:
|
|
||||||
rm $(DESTDIR)/usr/sbin/telemetry
|
|
||||||
rm $(DESTDIR)/usr/sbin/dialout_client_cli
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -fr ${GOPATH}
|
|
@ -1,5 +0,0 @@
|
|||||||
sonic-telemetry (0.1) UNRELEASED; urgency=medium
|
|
||||||
|
|
||||||
* Initial release.
|
|
||||||
|
|
||||||
-- Jipan Yang <jipan.yang@alibaba-inc.com> Sat, 24 Mar 2018 12:48:22 -0700
|
|
@ -1 +0,0 @@
|
|||||||
9
|
|
@ -1,17 +0,0 @@
|
|||||||
Source: sonic-telemetry
|
|
||||||
Section: devel
|
|
||||||
Priority: optional
|
|
||||||
Maintainer: Jipan Yang <jipan.yang@alibaba-inc.com>
|
|
||||||
Build-Depends: debhelper (>= 8.0.0),
|
|
||||||
dh-systemd
|
|
||||||
Standards-Version: 3.9.3
|
|
||||||
Homepage: https://github.com/Azure/sonic-telemetry
|
|
||||||
XS-Go-Import-Path: github.com/Azure/sonic-telemetry
|
|
||||||
|
|
||||||
Package: sonic-telemetry
|
|
||||||
Architecture: any
|
|
||||||
Built-Using: ${misc:Built-Using}
|
|
||||||
Depends: ${misc:Depends},
|
|
||||||
${shlibs:Depends}
|
|
||||||
Description: SONiC telemetry
|
|
||||||
sonic-telemetry
|
|
@ -1,3 +0,0 @@
|
|||||||
#!/usr/bin/make -f
|
|
||||||
%:
|
|
||||||
dh $@ --with systemd
|
|
@ -1,14 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
#
|
|
||||||
### BEGIN INIT INFO
|
|
||||||
# Provides: sonic-telemetry
|
|
||||||
# Required-Start: $local_fs $network $remote_fs $syslog
|
|
||||||
# Required-Stop: $local_fs $network $remote_fs $syslog
|
|
||||||
# Default-Start: 2 3 4 5
|
|
||||||
# Default-Stop: 0 1 6
|
|
||||||
# Short-Description: start and stop the telemetry
|
|
||||||
# Description: sonic-telemetry is an implementation of sonic telemetry daemon in Go
|
|
||||||
### END INIT INFO
|
|
||||||
#
|
|
||||||
|
|
||||||
exit 0
|
|
Loading…
Reference in New Issue
Block a user