- Only update device, which configuration changed,
not walk everything everytime
- workaround to handle cases where username can be null or "".
Change-Id: Iaeda3dbe3cae20c3248735a1c318f4ace40e0c46
- Fix hanging at startup on very large clusters
- Handle ClosedSession exceptions in retrying primitive proxies
Change-Id: I3b9008b84f1be34e71360b066131bf7d3f32c692
- equals() method was comparing metric to itself
- toString() was using the toString value of an array
Change-Id: I5da31f7b3b56ee78cf8d272abdf0214d11863880
- use qualified name for handlerRegistry key
- stop creating executor on every rpc call
- removed unused method
Change-Id: I2637b8443629e3fbae354d1e6af8639c6047ef8a
- Fix UnknownSessionExceptions
- Fix OutOfDirectMemoryErrors
- Ensure leader timeout is recurring
- Fix exceptions thrown during Raft startup communication
- Ensure sessions are only expired by leaders once
Change-Id: I856cb0840b3b609f5a3481567a4c367c8e6c9aae
If the cluster metadata service was previously shut down, the buildSrcMac()
method would throw an NPE. Now it returns the default mac if there is no
cluster metadata service available.'
Change-Id: Ibdb9b0b059a532af651814b8b954355ce644e4da
(cherry picked from commit ffde7afaec90e5741f66dfd26cc97600b29d91bb)
Set linkStaleAge to 15 seconds: prevent link down event during mastership transition in HA scenario
Set allowDuplicatedIp to false: cleanup IP when a new container is launched with same IP but different MAC
Change-Id: Ic2a9f87179de367c2ff84b232ca7f8ca3e152715
The translation store is now able to maintain mappings between
translated entities and specific instances of a PI entry in the network
(i.e. applied to a device).
The translation service has been refactored to allow users to
learn and forget translated entities.
The refactoring of the P4Runtime driver using this service will be
submitted separatelly.
Change-Id: Iaafd87d90232514853ca0dea0115dbae4f6e7886
- 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