7 Commits

Author SHA1 Message Date
Mark Asselstine
03f3e10107 cube-essential: remove last bits of ansible
Now that we have removed all networking, timezone, system-id... setup
bits from the ansible playbooks we can remove ansible from
cube-essential. We can do basic configuration via the overc-conftools
bash scripts, but we no longer want or have complex setup which
requires ansible.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
2018-06-11 13:31:46 -04:00
Bruce Ashfield
388b3580f8 vrf: make VRF container flexible and move DNS to the VRF
The VRF should not only take care of the vSwitch, it should also
take care of the DNS services to simplify dom0 (which was hardcoded
as the VRF before).

With this change, we move dnsmasq into the VRF container and change
the init of the VRF to start dnsmasq, but not OVS.

To make the vrf container flexible, we must make the VRF addressable
(at 192.168.42.4) and assign that IP to the br-int interface of the
VRF.

We move the setup of the OVS instance into the cube-network hook,
since this is the best and simplest way to ensure that the vswitch
is up, br-int is available and other pre-conditions are met to
assign 192.168.42.4.

Finally, we change the hooks to forward DNS traffic to .4 (versus
dom0 at .3).

Now that the VRF is flexible, we also tweak the hooks to lookup
the vrf container by its attribute, versus any fixed name.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-06-11 11:40:23 -04:00
Mark Asselstine
8d3e8842c2 c3-completions: docs: update to reflect recent changes
There have been some changes to c3-ctl which were yet to be reflected
in the bash completions or the documentation. Follow through with
these changes to keep things current.

* Add foreground, interactive and attach options to start
* Add rename/mv command
* Remove --peer and --nested options no longer available to start
* Remove restart command from documentation

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
2018-02-27 12:36:20 -05:00
Bruce Ashfield
22d1147a23 README: update with basic networking information
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-04-25 16:02:00 -04:00
Feng Mu
d62d7be5cb typo: fix some minor typos in scripts.
e.g.:
  provded --> provided

Signed-off-by: Feng Mu <Feng.Mu@windriver.com>
2016-08-19 09:05:16 +08:00
Bruce Ashfield
3827adbb5c cube: rename cube-domE to cube-desktop
The cube-domE name is confusing, and we constantly have to explain what
the "E" stands for.

Also, as the design progressed, domE is not an essential part of the
system .. it is optional. As such, it shouldn't be designated as a
"domain".

By dropping the domE and making it cube-desktop, we resolve both the
confusion and the inconsistency.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-05-27 11:30:21 -04:00
Bruce Ashfield
483fabe950 docs: document peer container utilities
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-12-04 16:39:35 -05:00