Just a small change to make sure the gRPC port of simple_switch_grpc
is actually opened after startup, before ONOS gets the netcfg to try
to connect to the switch. Otherwise ONOS will receive a TCP RST from
the still closed port and the connection fails, rendering the switch
devices unavailable. Also included a timeout for port opening.
Change-Id: I1338a4ba24a14be57717f636e684c91c4cb12a7c
- pom.xml to create offline karaf tarballs
- download offline karaf tarball from maven to benefit from CDN
buck's MavenUrlDecoder currently has issue handling non-jar type
in maven coordinate
Change-Id: Id25e286ec87426814002ed6d8cca6e66a4b80110
Builds and OVA from scratch with the most updated tools in one command.
The build process is based on Vagrant.
Change-Id: I633d99092946f99e877f0c97631a4f99c5b1f37e
- added new CLI to list driver providers
- added ability to power on/off borrowed cells
- enabled ONOS service to restart on boot/death
Change-Id: Ifc889cdbc0740e5d3286c9836dfecc38d458bbc5
netcat (nc) 1.110 changed the behavior of how sockets are closed when
stdin is at EOF or closed. Previously, nc would call shutdown (TCP FIN
on the write side of the socket) when the end of stdin was reached.
Now, shutdown is only called if '-N' is passed as an argument.
This change was introduced into Ubuntu's fork of OpenBSD nc in Nov. 2016.
So, the affected versions were Ubuntu 17.04+ as well as any other
distribution that uses nc >= 1.110.
This change of behavior causes the call to ByteStreams.toByteArray()
to hang indefinietly, and thus checkstyle tests to hang indefinitely.
Rather than try to figure out which version of nc is present and set
the -N option, we will use an empty line as a sentinel and stop parsing
input when the first empty line is encountered. For this, we need two
changes: (1) send a newline when checking the socket in start-buck-daemon
and (2) send a newline at the end of the file list in onos.bucklet
We also set SO_TIMEOUT to 1 second and will return an exception if
the socket times out. This will prevent tests from hanging indefinitely.
Change-Id: If46b4b78ae89312e1afa0563f63100ae67762f0a
With options to delay pushing the netcfg for each device and generating
the full netcfg JSON for bmv2-demo.
Change-Id: I046a93a8c639f4bb4cf76cbd61b826473760bfb1
- Check user can execute with passwordless sudo on node
- Check Java Environment on node
Change-Id: I573c2e1d3a2badf4ebe8dae1ade98e5db10a2ef6
Signed-off-by: Phil Huang <phil_huang@edge-core.com>