Commit 7d2abf97 by Szeberényi Imre

extra files

parent 353b524d
......@@ -179,8 +179,8 @@ installer_sls = {
'external_if': get_interface(),
'external_net': get_ip_with_mask(get_interface()),
'queue_name': get_hostname(),
'management_if': 'ethy',
'trunk_if': 'linkb',
'management_if': 'lo',
'trunk_if': 'TRUNK-FW',
},
'vmdriver': {
'hypervisor_type': 'kvm' if args.kvm_present else 'qemu',
......
network:
version: 2
renderer: networkd
ethernets:
enp5s0f0: {}
enp5s0f1:
addresses: []
dhcp4: true
WAR:
addresses:
- 152.66.243.236/24
dhcp4: false
gateway4: 152.66.243.126
nameservers:
addresses:
- 152.66.243.60
- 8.8.8.8
search: []
WAR-EXT: {}
TRUNK-CL: {}
TRUNK-FW: {}
# bridges:
# cloud:
# interfaces:
# - enp5s0f0
# - WAR
# openvswitch: {}
[NetDev]
Name=TRUNK-CL
Kind=veth
[Peer]
Name=TRUNK-FW
[NetDev]
Name=WAR-EXT
Kind=veth
[Peer]
Name=WAR
{{ pillar['fwdriver']['user'] }} ALL= (ALL) NOPASSWD: /sbin/ip netns exec fw ip addr *, /sbin/ip netns exec fw ip ro *, /sbin/ip netns exec fw ip link *, /sbin/ip netns exec fw ipset *, /usr/bin/ovs-vsctl, /sbin/ip netns exec fw iptables-restore -c, /sbin/ip netns exec fw ip6tables-restore -c, /etc/init.d/isc-dhcp-server restart, /sbin/ip link *, /sbin/iptables-restore -c, /sbin/ip6tables-restore -c, /sbin/ipset *, /bin/systemctl restart dhcpd
fw ALL= (ALL) NOPASSWD: /sbin/ip netns exec fw ip *, /sbin/ip netns exec fw ipset *, /usr/bin/ovs-vsctl, /sbin/ip netns exec fw iptables-restore -c, /sbin/ip netns exec fw ip6tables-restore -c, /etc/init.d/isc-dhcp-server restart, /sbin/ip link *, /sbin/iptables-restore -c, /sbin/ip6tables-restore -c, /sbin/ipset *, /bin/systemctl restart dhcpd
Defaults: fw !requiretty
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment