This should fix the problem seen in VirtualBox where you
may have some random interface which is host-only which needs
to have port forwarding set up on it.
Change-Id: Iacdbb129d52529783bdab1c3d768131f6eaf0364
Most notably:
- Added support for onos.py's ONOSCluster controller (it works with
"mn --custom onos.py,bmv2.py --switch onosbmv2 ...")
- Randomly select an open port for the Thrift RPC server
Change-Id: Ifa974741dc4a3693777f01866b1f6203d0e7e75e
Madan suggested that this might help vs. the pipelined
startup we were doing before, so let's try it.
We will unpack/install all nodes before we start up,
so that we can start the whole cluster at about the same
instant.
Note that this is probably closer to what we'd see in hardware.
The disadvantage is that we don't get a "clean" environment
with each invocation of start().
Change-Id: I0a45984f50e1ef25a7d8a836e46978fdbdff0bd0
We were using eth0 by default before, but this doesn't work if
your default interface isn't eth0.
Fixes port forwarding on Ubuntu 16.04.
Change-Id: I55baed7fd8952a9f6cab364e20e31a0632ddda6d
The arp CLI command sends gratuitous ARPs from all hosts - this
makes it easier for ONOS to discover hosts.
Previously checkLog returned None, None if the log file didn't
exist; now we return an empty list, to avoid breaking when we
take the len() of errors or warnings (which was happening before)
and to avoid having to check for None, None, which didn't seem to
add a lot of value to justify its complexity.
Change-Id: I84847fcf70525c82ac037d8a84cf40d21ab2a106
We check for:
- process exits
- log ERRORs
- log WARNings
- low memory
Also added a "status" CLI command to check for exits
and errors.
Change-Id: I6e65fe49619e338f1827fc616ca52a82de7ba470
We really don't need the OCx variables, but for now at
least we are unsetting the ones that are incorrect and
calling onos-gen-partitions with the explicit IP
addresses.
Change-Id: I8bd3d69bee4857e00070288b586255455c9c8adf
By default, we now forward the following ports from
port on eth0 to port+N on onosN:
8101 (KarafPort)
8181 (GUIPort) (also REST)
6643 (OpenFlowPort)
Note: this will not work if your default interface is
called something other than eth0.
Also: added null topology so we can use onos.py to control
an external/hardware network.
Bugs: it seems that iptables isn't cleaned up completely -
Mininet's NAT element may be to blame.
Change-Id: I2197194100a77ebfddd0d38ad5194ad7569ceba3
It's arguable that maybe might want to support 'ipbase' as well
since it's used in --ipbase and it's easier to type. However,
ipBase is the spelling used in Mininet, so we should be
consistent.
Change-Id: I2f61df0d2d09abf652c5f06ef9c734a55159a7de
This is intended to facilitate ONOS development and testing when
you require an ONOS cluster and a modeled control network. More
information is available in the file comments/module docstring.
Change-Id: I8a7338b61bd21eb82ea4e27adbf3cea15be312ee
This change blocks ^C which is need to quit from log:tail
This reverts commit a84637c702a45e8e70f05f0437217f15930a7135.
Change-Id: Ifb0c2f67bb8719ca898ec1f9c7ad2d7f002db90a
Karaf's ConsoleImpl does the wrong thing with ^D; the underlying
ConsoleReader already knows what to do.
Change-Id: I2276c34e4219894fb394b560cce5ff8a2503e95a
it was set, which doesn't make sense. The intent seems to be
to set a default and to respect existing settings of ONOS_USER,
and probably ONOS_GROUP as well.
Change-Id: I80dcbc2ccd80791c76b2497fd1da317765a6e66f