To configure:
* set system.netconsole.enabled to true
* create system.netconsole.target dict
* set a record with IP address and MAC and interface as subdict
It works with both static and DHCP interfaces, and applies online.
You could use bash-scripting in netconsole.conf.
You could override the MAC.
See tests/pillar/system.sls for further information.
Change-Id: I1cbde47575eb5d32a34cd6d79a063f42dbea7643
Need to remove useless semicolon because it is not working properly.
For example:
root@node:~# grep http_proxy /etc/environment
http_proxy="http://10.0.0.1:8080";
root@node:~# env | grep http_proxy
http_proxy=http://10.0.0.1:8080";
root@node:~# curl http://google.com
curl: (7) Failed to connect to 10.0.0.1 port 80: Connection refused
root@node:~# export http_proxy=http://10.0.0.1:8080;
root@node:~# curl http://google.com
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>302 Moved</TITLE></HEAD><BODY>
<H1>302 Moved</H1>
The document has moved
<A HREF="http://www.google.co.in/?gfe_rd=cr&ei=_WTaWKLuD4iI8QfC0azABw">here</A>.
</BODY></HTML>
We need to save our manualy managed interfaces to different directory to
workaround salt bug that causes interface deconfiguration in
/etc/network/interfaces for interfaces manualy configured in
/etc/network/interfaces.d
Upstream-Bug: https://github.com/saltstack/salt/issues/40262
Config:
linux:
network:
tap_custom_txqueuelen: 10000
in case of configuration parameter defined will create file:
/etc/udev/rules.d/60-net-txqueue.rules
with content:
KERNEL==”tap[0-9a-z\-]*", RUN+="/sbin/ip link set %k txqueuelen 10000"
Add possiblity to add ip address and mtu on dpdk ovs bridge to
be able use VXLAN as tenant segmentation.
Change-Id: I1394d30c5d9935218841b17ff7651dac7b4abefa
Epic: PROD-8957
Introduce dpdk support for linux OVS configuration.
It configures dpdk interface bind, ovs dpdk ports, bonding,
parameters for dpdk cpu pmd and set multique queues for specific
ovs dpdk interfaces.
Change-Id: I3f38660bab8db0c2b38f03ed8c94eb10b6b3beb9
Epic: PROD-8957
Epic: PROD-8958
* Add support for autoupdates
only Debian-based systems are supported for now
(through unattended-upgrades package)
* Fix test on system.autoupdates.pkgs
"names" makes a separate call to the package management frontend to
install each package, whereas "pkgs" makes just a single call so that it
improves performance.
Before adding new records to /etc/hosts, remove all hostnames
that are managed by the model but have different addresses
than provided in the model.
Change-Id: Idf5a30429497c33027e6ba973e684ba0443a1edf
Parameter purge_hosts will enforce whole /etc/hosts file, removing entries
that are not defined in model except defaults for both IPv4 and IPv6 localhost
and hostname + fqdn.
It's good to use this option if you want to ensure /etc/hosts is always in a
clean state however it's not enabled by default for safety.
Change-Id: Ieb219b2dd494d5a66ecc52a2ec00dd5157ee2b7a