mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-11 15:15:26 +01:00
Green CI for ansible.posix (#2)
* Disable tests that depend on `package` * Remove incorrectly added gallaxy (fallaxy) tests * Remove incorrectly added ignore-2.10.txt entries * Remove interfaces_file unit tests (it's in community.general) * Restore order to shippable.yml
This commit is contained in:
parent
07f1a2e98e
commit
11c671adc7
126 changed files with 19 additions and 3601 deletions
|
|
@ -8,23 +8,6 @@ matrix:
|
||||||
exclude:
|
exclude:
|
||||||
- env: T=none
|
- env: T=none
|
||||||
include:
|
include:
|
||||||
# FIXME Move integration tests after units
|
|
||||||
- env: T=aix/7.2/1
|
|
||||||
- env: T=osx/10.11/1
|
|
||||||
- env: T=rhel/7.6/1
|
|
||||||
- env: T=rhel/8.1/1
|
|
||||||
- env: T=freebsd/11.1/1
|
|
||||||
- env: T=freebsd/12.1/1
|
|
||||||
- env: T=linux/centos6/1
|
|
||||||
- env: T=linux/centos7/1
|
|
||||||
- env: T=linux/centos8/1
|
|
||||||
- env: T=linux/fedora30/1
|
|
||||||
- env: T=linux/fedora31/1
|
|
||||||
- env: T=linux/opensuse15py2/1
|
|
||||||
- env: T=linux/opensuse15/1
|
|
||||||
- env: T=linux/ubuntu1604/1
|
|
||||||
- env: T=linux/ubuntu1804/1
|
|
||||||
|
|
||||||
- env: T=sanity/1
|
- env: T=sanity/1
|
||||||
- env: T=sanity/2
|
- env: T=sanity/2
|
||||||
- env: T=sanity/3
|
- env: T=sanity/3
|
||||||
|
|
@ -55,25 +38,21 @@ matrix:
|
||||||
- env: T=units/3.8/3
|
- env: T=units/3.8/3
|
||||||
- env: T=units/3.9/3
|
- env: T=units/3.9/3
|
||||||
|
|
||||||
|
- env: T=aix/7.2/1
|
||||||
- env: T=fallaxy/2.7/1
|
- env: T=osx/10.11/1
|
||||||
- env: T=fallaxy/3.6/1
|
- env: T=rhel/7.6/1
|
||||||
|
- env: T=rhel/8.1/1
|
||||||
# - env: T=i/aix/7.2
|
- env: T=freebsd/11.1/1
|
||||||
# - env: T=i/osx/10.11
|
- env: T=freebsd/12.1/1
|
||||||
# - env: T=i/rhel/7.6
|
- env: T=linux/centos6/1
|
||||||
# - env: T=i/rhel/8.1
|
- env: T=linux/centos7/1
|
||||||
# - env: T=i/freebsd/11.1
|
- env: T=linux/centos8/1
|
||||||
# - env: T=i/freebsd/12.1
|
- env: T=linux/fedora30/1
|
||||||
# - env: T=i/linux/centos6
|
- env: T=linux/fedora31/1
|
||||||
# - env: T=i/linux/centos7
|
- env: T=linux/opensuse15py2/1
|
||||||
# - env: T=i/linux/centos8
|
- env: T=linux/opensuse15/1
|
||||||
# - env: T=i/linux/fedora30
|
- env: T=linux/ubuntu1604/1
|
||||||
# - env: T=i/linux/fedora31
|
- env: T=linux/ubuntu1804/1
|
||||||
# - env: T=i/linux/opensuse15py2
|
|
||||||
# - env: T=i/linux/opensuse15
|
|
||||||
# - env: T=i/linux/ubuntu1604
|
|
||||||
# - env: T=i/linux/ubuntu1804
|
|
||||||
|
|
||||||
branches:
|
branches:
|
||||||
except:
|
except:
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,3 @@
|
||||||
shippable/posix/group1
|
shippable/posix/group1
|
||||||
destructive
|
destructive
|
||||||
|
disabled # fixme package
|
||||||
|
|
|
||||||
|
|
@ -2,3 +2,4 @@ needs/privileged
|
||||||
needs/root
|
needs/root
|
||||||
shippable/posix/group1
|
shippable/posix/group1
|
||||||
skip/aix
|
skip/aix
|
||||||
|
disabled # fixme
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
destructive
|
destructive
|
||||||
shippable/posix/group1
|
shippable/posix/group1
|
||||||
skip/aix
|
skip/aix
|
||||||
|
disabled # fixme package
|
||||||
|
|
|
||||||
|
|
@ -1 +1,2 @@
|
||||||
shippable/posix/group1
|
shippable/posix/group1
|
||||||
|
disabled # fixme package
|
||||||
|
|
|
||||||
|
|
@ -22,9 +22,6 @@ tests/unit/mock/yaml_helper.py future-import-boilerplate
|
||||||
tests/unit/mock/yaml_helper.py metaclass-boilerplate
|
tests/unit/mock/yaml_helper.py metaclass-boilerplate
|
||||||
tests/unit/modules/conftest.py future-import-boilerplate
|
tests/unit/modules/conftest.py future-import-boilerplate
|
||||||
tests/unit/modules/conftest.py metaclass-boilerplate
|
tests/unit/modules/conftest.py metaclass-boilerplate
|
||||||
tests/unit/modules/system/interfaces_file/test_interfaces_file.py future-import-boilerplate
|
|
||||||
tests/unit/modules/system/interfaces_file/test_interfaces_file.py metaclass-boilerplate
|
|
||||||
tests/unit/modules/system/interfaces_file/test_interfaces_file.py pylint:blacklisted-name
|
|
||||||
tests/unit/modules/system/test_mount.py future-import-boilerplate
|
tests/unit/modules/system/test_mount.py future-import-boilerplate
|
||||||
tests/unit/modules/system/test_mount.py metaclass-boilerplate
|
tests/unit/modules/system/test_mount.py metaclass-boilerplate
|
||||||
tests/unit/modules/utils.py future-import-boilerplate
|
tests/unit/modules/utils.py future-import-boilerplate
|
||||||
|
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
# The loopback network interface
|
|
||||||
auto lo eth0
|
|
||||||
iface lo inet loopback
|
|
||||||
|
|
||||||
# The primary network interface
|
|
||||||
iface eth0 inet static
|
|
||||||
address 192.168.0.1
|
|
||||||
post-up echo configuring ipv4
|
|
||||||
|
|
||||||
iface eth0 inet6 static
|
|
||||||
address fc00::1
|
|
||||||
post-up echo configuring ipv6
|
|
||||||
|
|
@ -1,21 +0,0 @@
|
||||||
{
|
|
||||||
"eth0": {
|
|
||||||
"address": "fc00::1",
|
|
||||||
"address_family": "inet6",
|
|
||||||
"down": [],
|
|
||||||
"method": "static",
|
|
||||||
"post-up": [
|
|
||||||
"echo configuring ipv6"
|
|
||||||
],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"lo": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "loopback",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
# The loopback network interface
|
|
||||||
auto lo eth0
|
|
||||||
iface lo inet loopback
|
|
||||||
|
|
||||||
# The primary network interface
|
|
||||||
iface eth0 inet static
|
|
||||||
address 192.168.0.1
|
|
||||||
post-up echo configuring ipv4
|
|
||||||
|
|
||||||
iface eth0 inet6 static
|
|
||||||
address fc00::1
|
|
||||||
post-up echo configuring ipv6
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
[0] fail_json message: Error: interface aggi not found
|
|
||||||
options:
|
|
||||||
{
|
|
||||||
"iface": "aggi",
|
|
||||||
"option": "up",
|
|
||||||
"state": "present",
|
|
||||||
"value": "route add -net 224.0.0.0 netmask 240.0.0.0 dev aggi"
|
|
||||||
}
|
|
||||||
|
|
@ -1,21 +0,0 @@
|
||||||
{
|
|
||||||
"eth0": {
|
|
||||||
"address": "fc00::1",
|
|
||||||
"address_family": "inet6",
|
|
||||||
"down": [],
|
|
||||||
"method": "static",
|
|
||||||
"post-up": [
|
|
||||||
"echo configuring ipv6"
|
|
||||||
],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"lo": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "loopback",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
# The loopback network interface
|
|
||||||
auto lo eth0
|
|
||||||
iface lo inet loopback
|
|
||||||
|
|
||||||
# The primary network interface
|
|
||||||
iface eth0 inet static
|
|
||||||
address 192.168.0.1
|
|
||||||
post-up echo configuring ipv4
|
|
||||||
|
|
||||||
iface eth0 inet6 static
|
|
||||||
address fc00::1
|
|
||||||
post-up echo configuring ipv6
|
|
||||||
|
|
@ -1,17 +0,0 @@
|
||||||
[0] fail_json message: Error: interface aggi not found
|
|
||||||
options:
|
|
||||||
{
|
|
||||||
"iface": "aggi",
|
|
||||||
"option": "up",
|
|
||||||
"state": "present",
|
|
||||||
"value": "route add -net 224.0.0.0 netmask 240.0.0.0 dev aggi"
|
|
||||||
}
|
|
||||||
=====
|
|
||||||
[1] fail_json message: Error: interface aggi not found
|
|
||||||
options:
|
|
||||||
{
|
|
||||||
"iface": "aggi",
|
|
||||||
"option": "up",
|
|
||||||
"state": "absent",
|
|
||||||
"value": null
|
|
||||||
}
|
|
||||||
|
|
@ -1,21 +0,0 @@
|
||||||
{
|
|
||||||
"eth0": {
|
|
||||||
"address": "fc00::1",
|
|
||||||
"address_family": "inet6",
|
|
||||||
"down": [],
|
|
||||||
"method": "static",
|
|
||||||
"post-up": [
|
|
||||||
"echo configuring ipv6"
|
|
||||||
],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"lo": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "loopback",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
# The loopback network interface
|
|
||||||
auto lo eth0
|
|
||||||
iface lo inet loopback
|
|
||||||
|
|
||||||
# The primary network interface
|
|
||||||
iface eth0 inet static
|
|
||||||
address 192.168.0.42
|
|
||||||
post-up echo configuring ipv4
|
|
||||||
|
|
||||||
iface eth0 inet6 static
|
|
||||||
address fc00::1
|
|
||||||
post-up echo configuring ipv6
|
|
||||||
|
|
@ -1,21 +0,0 @@
|
||||||
{
|
|
||||||
"eth0": {
|
|
||||||
"address": "fc00::1",
|
|
||||||
"address_family": "inet6",
|
|
||||||
"down": [],
|
|
||||||
"method": "static",
|
|
||||||
"post-up": [
|
|
||||||
"echo configuring ipv6"
|
|
||||||
],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"lo": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "loopback",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
||||||
# The loopback network interface
|
|
||||||
auto lo eth0
|
|
||||||
iface lo inet loopback
|
|
||||||
|
|
||||||
# The primary network interface
|
|
||||||
iface eth0 inet static
|
|
||||||
address 192.168.0.1
|
|
||||||
post-up echo configuring ipv4
|
|
||||||
post-up XXXX_ipv4
|
|
||||||
|
|
||||||
iface eth0 inet6 static
|
|
||||||
address fc00::1
|
|
||||||
post-up echo configuring ipv6
|
|
||||||
|
|
@ -1,21 +0,0 @@
|
||||||
{
|
|
||||||
"eth0": {
|
|
||||||
"address": "fc00::1",
|
|
||||||
"address_family": "inet6",
|
|
||||||
"down": [],
|
|
||||||
"method": "static",
|
|
||||||
"post-up": [
|
|
||||||
"echo configuring ipv6"
|
|
||||||
],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"lo": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "loopback",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
||||||
# The loopback network interface
|
|
||||||
auto lo eth0
|
|
||||||
iface lo inet loopback
|
|
||||||
|
|
||||||
# The primary network interface
|
|
||||||
iface eth0 inet static
|
|
||||||
address 192.168.0.1
|
|
||||||
post-up echo configuring ipv4
|
|
||||||
pre-up XXXX_ipv4
|
|
||||||
|
|
||||||
iface eth0 inet6 static
|
|
||||||
address fc00::1
|
|
||||||
post-up echo configuring ipv6
|
|
||||||
|
|
@ -1,21 +0,0 @@
|
||||||
{
|
|
||||||
"eth0": {
|
|
||||||
"address": "fc00::1",
|
|
||||||
"address_family": "inet6",
|
|
||||||
"down": [],
|
|
||||||
"method": "static",
|
|
||||||
"post-up": [
|
|
||||||
"echo configuring ipv6"
|
|
||||||
],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"lo": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "loopback",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
# The loopback network interface
|
|
||||||
auto lo eth0
|
|
||||||
iface lo inet loopback
|
|
||||||
|
|
||||||
# The primary network interface
|
|
||||||
iface eth0 inet static
|
|
||||||
address 192.168.0.1
|
|
||||||
post-up echo configuring ipv4
|
|
||||||
|
|
||||||
iface eth0 inet6 static
|
|
||||||
address fc00::42
|
|
||||||
post-up echo configuring ipv6
|
|
||||||
|
|
@ -1,21 +0,0 @@
|
||||||
{
|
|
||||||
"eth0": {
|
|
||||||
"address": "fc00::1",
|
|
||||||
"address_family": "inet6",
|
|
||||||
"down": [],
|
|
||||||
"method": "static",
|
|
||||||
"post-up": [
|
|
||||||
"echo configuring ipv6"
|
|
||||||
],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"lo": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "loopback",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
||||||
# The loopback network interface
|
|
||||||
auto lo eth0
|
|
||||||
iface lo inet loopback
|
|
||||||
|
|
||||||
# The primary network interface
|
|
||||||
iface eth0 inet static
|
|
||||||
address 192.168.0.1
|
|
||||||
post-up echo configuring ipv4
|
|
||||||
|
|
||||||
iface eth0 inet6 static
|
|
||||||
address fc00::1
|
|
||||||
post-up echo configuring ipv6
|
|
||||||
post-up XXXX_ipv6
|
|
||||||
|
|
@ -1,21 +0,0 @@
|
||||||
{
|
|
||||||
"eth0": {
|
|
||||||
"address": "fc00::1",
|
|
||||||
"address_family": "inet6",
|
|
||||||
"down": [],
|
|
||||||
"method": "static",
|
|
||||||
"post-up": [
|
|
||||||
"echo configuring ipv6"
|
|
||||||
],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"lo": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "loopback",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
||||||
# The loopback network interface
|
|
||||||
auto lo eth0
|
|
||||||
iface lo inet loopback
|
|
||||||
|
|
||||||
# The primary network interface
|
|
||||||
iface eth0 inet static
|
|
||||||
address 192.168.0.1
|
|
||||||
post-up echo configuring ipv4
|
|
||||||
|
|
||||||
iface eth0 inet6 static
|
|
||||||
address fc00::1
|
|
||||||
post-up echo configuring ipv6
|
|
||||||
pre-up XXXX_ipv6
|
|
||||||
|
|
@ -1,21 +0,0 @@
|
||||||
{
|
|
||||||
"eth0": {
|
|
||||||
"address": "fc00::1",
|
|
||||||
"address_family": "inet6",
|
|
||||||
"down": [],
|
|
||||||
"method": "static",
|
|
||||||
"post-up": [
|
|
||||||
"echo configuring ipv6"
|
|
||||||
],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"lo": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "loopback",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
# The loopback network interface
|
|
||||||
auto lo eth0
|
|
||||||
iface lo inet loopback
|
|
||||||
|
|
||||||
# The primary network interface
|
|
||||||
iface eth0 inet static
|
|
||||||
address 192.168.0.1
|
|
||||||
post-up echo configuring ipv4
|
|
||||||
|
|
||||||
iface eth0 inet6 static
|
|
||||||
address fc00::1
|
|
||||||
post-up echo configuring ipv6
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
fail_json message: Error: interface eth1 not found
|
|
||||||
options:
|
|
||||||
{
|
|
||||||
"iface": "eth1",
|
|
||||||
"option": "method",
|
|
||||||
"state": "present",
|
|
||||||
"value": "dhcp"
|
|
||||||
}
|
|
||||||
|
|
@ -1,21 +0,0 @@
|
||||||
{
|
|
||||||
"eth0": {
|
|
||||||
"address": "fc00::1",
|
|
||||||
"address_family": "inet6",
|
|
||||||
"down": [],
|
|
||||||
"method": "static",
|
|
||||||
"post-up": [
|
|
||||||
"echo configuring ipv6"
|
|
||||||
],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"lo": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "loopback",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
# The loopback network interface
|
|
||||||
auto lo eth0
|
|
||||||
iface lo inet loopback
|
|
||||||
|
|
||||||
# The primary network interface
|
|
||||||
iface eth0 inet static
|
|
||||||
address 192.168.0.1
|
|
||||||
post-up echo configuring ipv4
|
|
||||||
|
|
||||||
iface eth0 inet6 static
|
|
||||||
address fc00::1
|
|
||||||
post-up echo configuring ipv6
|
|
||||||
|
|
@ -1,21 +0,0 @@
|
||||||
{
|
|
||||||
"eth0": {
|
|
||||||
"address": "fc00::1",
|
|
||||||
"address_family": "inet6",
|
|
||||||
"down": [],
|
|
||||||
"method": "static",
|
|
||||||
"post-up": [
|
|
||||||
"echo configuring ipv6"
|
|
||||||
],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"lo": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "loopback",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
||||||
# The loopback network interface
|
|
||||||
auto lo eth0
|
|
||||||
iface lo inet loopback
|
|
||||||
|
|
||||||
# The primary network interface
|
|
||||||
iface eth0 inet static
|
|
||||||
address 192.168.0.1
|
|
||||||
post-up echo configuring ipv4
|
|
||||||
|
|
||||||
iface eth0 inet6 static
|
|
||||||
address fc00::1
|
|
||||||
post-up echo configuring ipv6
|
|
||||||
mtu 1350
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
[0] fail_json message: Error: interface aggi not found
|
|
||||||
options:
|
|
||||||
{
|
|
||||||
"iface": "aggi",
|
|
||||||
"option": "mtu",
|
|
||||||
"state": "present",
|
|
||||||
"value": "1350"
|
|
||||||
}
|
|
||||||
|
|
@ -1,21 +0,0 @@
|
||||||
{
|
|
||||||
"eth0": {
|
|
||||||
"address": "fc00::1",
|
|
||||||
"address_family": "inet6",
|
|
||||||
"down": [],
|
|
||||||
"method": "static",
|
|
||||||
"post-up": [
|
|
||||||
"echo configuring ipv6"
|
|
||||||
],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"lo": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "loopback",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
# The loopback network interface
|
|
||||||
auto lo eth0
|
|
||||||
iface lo inet loopback
|
|
||||||
|
|
||||||
# The primary network interface
|
|
||||||
iface eth0 inet static
|
|
||||||
address 192.168.0.1
|
|
||||||
post-up echo configuring ipv4
|
|
||||||
|
|
||||||
iface eth0 inet6 static
|
|
||||||
address fc00::1
|
|
||||||
post-up echo configuring ipv6
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
[0] fail_json message: Error: interface aggi not found
|
|
||||||
options:
|
|
||||||
{
|
|
||||||
"iface": "aggi",
|
|
||||||
"option": "slaves",
|
|
||||||
"state": "present",
|
|
||||||
"value": "int1 int3"
|
|
||||||
}
|
|
||||||
|
|
@ -1,21 +0,0 @@
|
||||||
{
|
|
||||||
"eth0": {
|
|
||||||
"address": "fc00::1",
|
|
||||||
"address_family": "inet6",
|
|
||||||
"down": [],
|
|
||||||
"method": "static",
|
|
||||||
"post-up": [
|
|
||||||
"echo configuring ipv6"
|
|
||||||
],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"lo": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "loopback",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
# The loopback network interface
|
|
||||||
auto lo eth0
|
|
||||||
iface lo inet loopback
|
|
||||||
|
|
||||||
# The primary network interface
|
|
||||||
iface eth0 inet dhcp
|
|
||||||
|
|
@ -1,18 +0,0 @@
|
||||||
{
|
|
||||||
"eth0": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "dhcp",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"lo": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "loopback",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
# The loopback network interface
|
|
||||||
auto lo eth0
|
|
||||||
iface lo inet loopback
|
|
||||||
|
|
||||||
# The primary network interface
|
|
||||||
iface eth0 inet dhcp
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
[0] fail_json message: Error: interface aggi not found
|
|
||||||
options:
|
|
||||||
{
|
|
||||||
"iface": "aggi",
|
|
||||||
"option": "up",
|
|
||||||
"state": "present",
|
|
||||||
"value": "route add -net 224.0.0.0 netmask 240.0.0.0 dev aggi"
|
|
||||||
}
|
|
||||||
|
|
@ -1,18 +0,0 @@
|
||||||
{
|
|
||||||
"eth0": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "dhcp",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"lo": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "loopback",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
# The loopback network interface
|
|
||||||
auto lo eth0
|
|
||||||
iface lo inet loopback
|
|
||||||
|
|
||||||
# The primary network interface
|
|
||||||
iface eth0 inet dhcp
|
|
||||||
|
|
@ -1,17 +0,0 @@
|
||||||
[0] fail_json message: Error: interface aggi not found
|
|
||||||
options:
|
|
||||||
{
|
|
||||||
"iface": "aggi",
|
|
||||||
"option": "up",
|
|
||||||
"state": "present",
|
|
||||||
"value": "route add -net 224.0.0.0 netmask 240.0.0.0 dev aggi"
|
|
||||||
}
|
|
||||||
=====
|
|
||||||
[1] fail_json message: Error: interface aggi not found
|
|
||||||
options:
|
|
||||||
{
|
|
||||||
"iface": "aggi",
|
|
||||||
"option": "up",
|
|
||||||
"state": "absent",
|
|
||||||
"value": null
|
|
||||||
}
|
|
||||||
|
|
@ -1,18 +0,0 @@
|
||||||
{
|
|
||||||
"eth0": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "dhcp",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"lo": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "loopback",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
# The loopback network interface
|
|
||||||
auto lo eth0
|
|
||||||
iface lo inet loopback
|
|
||||||
|
|
||||||
# The primary network interface
|
|
||||||
iface eth0 inet dhcp
|
|
||||||
address 192.168.0.42
|
|
||||||
|
|
@ -1,18 +0,0 @@
|
||||||
{
|
|
||||||
"eth0": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "dhcp",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"lo": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "loopback",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
# The loopback network interface
|
|
||||||
auto lo eth0
|
|
||||||
iface lo inet loopback
|
|
||||||
|
|
||||||
# The primary network interface
|
|
||||||
iface eth0 inet dhcp
|
|
||||||
post-up XXXX_ipv4
|
|
||||||
|
|
@ -1,18 +0,0 @@
|
||||||
{
|
|
||||||
"eth0": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "dhcp",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"lo": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "loopback",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
# The loopback network interface
|
|
||||||
auto lo eth0
|
|
||||||
iface lo inet loopback
|
|
||||||
|
|
||||||
# The primary network interface
|
|
||||||
iface eth0 inet dhcp
|
|
||||||
pre-up XXXX_ipv4
|
|
||||||
|
|
@ -1,18 +0,0 @@
|
||||||
{
|
|
||||||
"eth0": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "dhcp",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"lo": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "loopback",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
# The loopback network interface
|
|
||||||
auto lo eth0
|
|
||||||
iface lo inet loopback
|
|
||||||
|
|
||||||
# The primary network interface
|
|
||||||
iface eth0 inet dhcp
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
fail_json message: Error: interface eth0 not found
|
|
||||||
options:
|
|
||||||
{
|
|
||||||
"address_family": "inet6",
|
|
||||||
"iface": "eth0",
|
|
||||||
"option": "address",
|
|
||||||
"state": "present",
|
|
||||||
"value": "fc00::42"
|
|
||||||
}
|
|
||||||
|
|
@ -1,18 +0,0 @@
|
||||||
{
|
|
||||||
"eth0": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "dhcp",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"lo": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "loopback",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
# The loopback network interface
|
|
||||||
auto lo eth0
|
|
||||||
iface lo inet loopback
|
|
||||||
|
|
||||||
# The primary network interface
|
|
||||||
iface eth0 inet dhcp
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
fail_json message: Error: interface eth0 not found
|
|
||||||
options:
|
|
||||||
{
|
|
||||||
"address_family": "inet6",
|
|
||||||
"iface": "eth0",
|
|
||||||
"option": "post-up",
|
|
||||||
"state": "present",
|
|
||||||
"value": "XXXX_ipv6"
|
|
||||||
}
|
|
||||||
|
|
@ -1,18 +0,0 @@
|
||||||
{
|
|
||||||
"eth0": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "dhcp",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"lo": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "loopback",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
# The loopback network interface
|
|
||||||
auto lo eth0
|
|
||||||
iface lo inet loopback
|
|
||||||
|
|
||||||
# The primary network interface
|
|
||||||
iface eth0 inet dhcp
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
fail_json message: Error: interface eth0 not found
|
|
||||||
options:
|
|
||||||
{
|
|
||||||
"address_family": "inet6",
|
|
||||||
"iface": "eth0",
|
|
||||||
"option": "pre-up",
|
|
||||||
"state": "present",
|
|
||||||
"value": "XXXX_ipv6"
|
|
||||||
}
|
|
||||||
|
|
@ -1,18 +0,0 @@
|
||||||
{
|
|
||||||
"eth0": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "dhcp",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"lo": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "loopback",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
# The loopback network interface
|
|
||||||
auto lo eth0
|
|
||||||
iface lo inet loopback
|
|
||||||
|
|
||||||
# The primary network interface
|
|
||||||
iface eth0 inet dhcp
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
fail_json message: Error: interface eth1 not found
|
|
||||||
options:
|
|
||||||
{
|
|
||||||
"iface": "eth1",
|
|
||||||
"option": "method",
|
|
||||||
"state": "present",
|
|
||||||
"value": "dhcp"
|
|
||||||
}
|
|
||||||
|
|
@ -1,18 +0,0 @@
|
||||||
{
|
|
||||||
"eth0": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "dhcp",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"lo": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "loopback",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
# The loopback network interface
|
|
||||||
auto lo eth0
|
|
||||||
iface lo inet loopback
|
|
||||||
|
|
||||||
# The primary network interface
|
|
||||||
iface eth0 inet dhcp
|
|
||||||
|
|
@ -1,18 +0,0 @@
|
||||||
{
|
|
||||||
"eth0": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "dhcp",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"lo": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "loopback",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
# The loopback network interface
|
|
||||||
auto lo eth0
|
|
||||||
iface lo inet loopback
|
|
||||||
|
|
||||||
# The primary network interface
|
|
||||||
iface eth0 inet dhcp
|
|
||||||
mtu 1350
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
[0] fail_json message: Error: interface aggi not found
|
|
||||||
options:
|
|
||||||
{
|
|
||||||
"iface": "aggi",
|
|
||||||
"option": "mtu",
|
|
||||||
"state": "present",
|
|
||||||
"value": "1350"
|
|
||||||
}
|
|
||||||
|
|
@ -1,18 +0,0 @@
|
||||||
{
|
|
||||||
"eth0": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "dhcp",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"lo": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "loopback",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
# The loopback network interface
|
|
||||||
auto lo eth0
|
|
||||||
iface lo inet loopback
|
|
||||||
|
|
||||||
# The primary network interface
|
|
||||||
iface eth0 inet dhcp
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
[0] fail_json message: Error: interface aggi not found
|
|
||||||
options:
|
|
||||||
{
|
|
||||||
"iface": "aggi",
|
|
||||||
"option": "slaves",
|
|
||||||
"state": "present",
|
|
||||||
"value": "int1 int3"
|
|
||||||
}
|
|
||||||
|
|
@ -1,18 +0,0 @@
|
||||||
{
|
|
||||||
"eth0": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "dhcp",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"lo": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "loopback",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,61 +0,0 @@
|
||||||
auto aggi
|
|
||||||
iface aggi inet static
|
|
||||||
hwaddress ether 22:44:77:88:D5:96
|
|
||||||
address 10.44.15.196
|
|
||||||
netmask 255.255.255.248
|
|
||||||
mtu 1500
|
|
||||||
slaves int1 int2
|
|
||||||
bond_mode 4
|
|
||||||
bond_miimon 100
|
|
||||||
bond_downdelay 200
|
|
||||||
bond_updelay 200
|
|
||||||
bond_lacp_rate slow
|
|
||||||
bond_xmit_hash_policy layer3+4
|
|
||||||
post-up /sbin/ethtool -K aggi tx off tso off
|
|
||||||
|
|
||||||
auto agge
|
|
||||||
iface agge inet manual
|
|
||||||
|
|
||||||
auto br0
|
|
||||||
iface br0 inet static
|
|
||||||
bridge_ports agge
|
|
||||||
hwaddress ether 22:44:77:88:D5:98
|
|
||||||
address 188.44.133.76
|
|
||||||
netmask 255.255.255.248
|
|
||||||
gateway 188.44.133.75
|
|
||||||
slaves ext1 ext2
|
|
||||||
bond_mode 4
|
|
||||||
bond_miimon 100
|
|
||||||
bond_downdelay 200
|
|
||||||
bond_updelay 200
|
|
||||||
bond_lacp_rate slow
|
|
||||||
bond_xmit_hash_policy layer3+4
|
|
||||||
post-up /sbin/ethtool -K agge tx off tso off
|
|
||||||
|
|
||||||
up route add -net 10.0.0.0/8 gw 10.44.15.117 dev aggi
|
|
||||||
up route add -net 192.168.0.0/16 gw 10.44.15.117 dev aggi
|
|
||||||
up route add -net 188.44.208.0/21 gw 10.44.15.117 dev aggi
|
|
||||||
|
|
||||||
auto int1
|
|
||||||
iface int1 inet manual
|
|
||||||
bond-master aggi
|
|
||||||
|
|
||||||
auto int2
|
|
||||||
iface int2 inet manual
|
|
||||||
bond-master aggi
|
|
||||||
|
|
||||||
auto ext1
|
|
||||||
iface ext1 inet manual
|
|
||||||
bond-master agge
|
|
||||||
|
|
||||||
auto ext2
|
|
||||||
iface ext2 inet manual
|
|
||||||
bond-master agge
|
|
||||||
|
|
||||||
auto eth1
|
|
||||||
iface eth1 inet manual
|
|
||||||
|
|
||||||
auto lo
|
|
||||||
iface lo inet loopback
|
|
||||||
|
|
||||||
source /etc/network/interfaces.d/*.cfg
|
|
||||||
|
|
@ -1,109 +0,0 @@
|
||||||
{
|
|
||||||
"agge": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "manual",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"aggi": {
|
|
||||||
"address": "10.44.15.196",
|
|
||||||
"address_family": "inet",
|
|
||||||
"bond_downdelay": "200",
|
|
||||||
"bond_lacp_rate": "slow",
|
|
||||||
"bond_miimon": "100",
|
|
||||||
"bond_mode": "4",
|
|
||||||
"bond_updelay": "200",
|
|
||||||
"bond_xmit_hash_policy": "layer3+4",
|
|
||||||
"down": [],
|
|
||||||
"hwaddress": "ether 22:44:77:88:D5:96",
|
|
||||||
"method": "static",
|
|
||||||
"mtu": "1500",
|
|
||||||
"netmask": "255.255.255.248",
|
|
||||||
"post-up": [
|
|
||||||
"/sbin/ethtool -K aggi tx off tso off"
|
|
||||||
],
|
|
||||||
"pre-up": [],
|
|
||||||
"slaves": "int1 int2",
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"br0": {
|
|
||||||
"address": "188.44.133.76",
|
|
||||||
"address_family": "inet",
|
|
||||||
"bond_downdelay": "200",
|
|
||||||
"bond_lacp_rate": "slow",
|
|
||||||
"bond_miimon": "100",
|
|
||||||
"bond_mode": "4",
|
|
||||||
"bond_updelay": "200",
|
|
||||||
"bond_xmit_hash_policy": "layer3+4",
|
|
||||||
"bridge_ports": "agge",
|
|
||||||
"down": [],
|
|
||||||
"gateway": "188.44.133.75",
|
|
||||||
"hwaddress": "ether 22:44:77:88:D5:98",
|
|
||||||
"method": "static",
|
|
||||||
"netmask": "255.255.255.248",
|
|
||||||
"post-up": [
|
|
||||||
"/sbin/ethtool -K agge tx off tso off"
|
|
||||||
],
|
|
||||||
"pre-up": [],
|
|
||||||
"slaves": "ext1 ext2",
|
|
||||||
"up": [
|
|
||||||
"route add -net 10.0.0.0/8 gw 10.44.15.117 dev aggi",
|
|
||||||
"route add -net 192.168.0.0/16 gw 10.44.15.117 dev aggi",
|
|
||||||
"route add -net 188.44.208.0/21 gw 10.44.15.117 dev aggi"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"eth1": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "manual",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"ext1": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"bond-master": "agge",
|
|
||||||
"down": [],
|
|
||||||
"method": "manual",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"ext2": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"bond-master": "agge",
|
|
||||||
"down": [],
|
|
||||||
"method": "manual",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"int1": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"bond-master": "aggi",
|
|
||||||
"down": [],
|
|
||||||
"method": "manual",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"int2": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"bond-master": "aggi",
|
|
||||||
"down": [],
|
|
||||||
"method": "manual",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"lo": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "loopback",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,62 +0,0 @@
|
||||||
auto aggi
|
|
||||||
iface aggi inet static
|
|
||||||
hwaddress ether 22:44:77:88:D5:96
|
|
||||||
address 10.44.15.196
|
|
||||||
netmask 255.255.255.248
|
|
||||||
mtu 1500
|
|
||||||
slaves int1 int2
|
|
||||||
bond_mode 4
|
|
||||||
bond_miimon 100
|
|
||||||
bond_downdelay 200
|
|
||||||
bond_updelay 200
|
|
||||||
bond_lacp_rate slow
|
|
||||||
bond_xmit_hash_policy layer3+4
|
|
||||||
post-up /sbin/ethtool -K aggi tx off tso off
|
|
||||||
up route add -net 224.0.0.0 netmask 240.0.0.0 dev aggi
|
|
||||||
|
|
||||||
auto agge
|
|
||||||
iface agge inet manual
|
|
||||||
|
|
||||||
auto br0
|
|
||||||
iface br0 inet static
|
|
||||||
bridge_ports agge
|
|
||||||
hwaddress ether 22:44:77:88:D5:98
|
|
||||||
address 188.44.133.76
|
|
||||||
netmask 255.255.255.248
|
|
||||||
gateway 188.44.133.75
|
|
||||||
slaves ext1 ext2
|
|
||||||
bond_mode 4
|
|
||||||
bond_miimon 100
|
|
||||||
bond_downdelay 200
|
|
||||||
bond_updelay 200
|
|
||||||
bond_lacp_rate slow
|
|
||||||
bond_xmit_hash_policy layer3+4
|
|
||||||
post-up /sbin/ethtool -K agge tx off tso off
|
|
||||||
|
|
||||||
up route add -net 10.0.0.0/8 gw 10.44.15.117 dev aggi
|
|
||||||
up route add -net 192.168.0.0/16 gw 10.44.15.117 dev aggi
|
|
||||||
up route add -net 188.44.208.0/21 gw 10.44.15.117 dev aggi
|
|
||||||
|
|
||||||
auto int1
|
|
||||||
iface int1 inet manual
|
|
||||||
bond-master aggi
|
|
||||||
|
|
||||||
auto int2
|
|
||||||
iface int2 inet manual
|
|
||||||
bond-master aggi
|
|
||||||
|
|
||||||
auto ext1
|
|
||||||
iface ext1 inet manual
|
|
||||||
bond-master agge
|
|
||||||
|
|
||||||
auto ext2
|
|
||||||
iface ext2 inet manual
|
|
||||||
bond-master agge
|
|
||||||
|
|
||||||
auto eth1
|
|
||||||
iface eth1 inet manual
|
|
||||||
|
|
||||||
auto lo
|
|
||||||
iface lo inet loopback
|
|
||||||
|
|
||||||
source /etc/network/interfaces.d/*.cfg
|
|
||||||
|
|
@ -1,109 +0,0 @@
|
||||||
{
|
|
||||||
"agge": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "manual",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"aggi": {
|
|
||||||
"address": "10.44.15.196",
|
|
||||||
"address_family": "inet",
|
|
||||||
"bond_downdelay": "200",
|
|
||||||
"bond_lacp_rate": "slow",
|
|
||||||
"bond_miimon": "100",
|
|
||||||
"bond_mode": "4",
|
|
||||||
"bond_updelay": "200",
|
|
||||||
"bond_xmit_hash_policy": "layer3+4",
|
|
||||||
"down": [],
|
|
||||||
"hwaddress": "ether 22:44:77:88:D5:96",
|
|
||||||
"method": "static",
|
|
||||||
"mtu": "1500",
|
|
||||||
"netmask": "255.255.255.248",
|
|
||||||
"post-up": [
|
|
||||||
"/sbin/ethtool -K aggi tx off tso off"
|
|
||||||
],
|
|
||||||
"pre-up": [],
|
|
||||||
"slaves": "int1 int2",
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"br0": {
|
|
||||||
"address": "188.44.133.76",
|
|
||||||
"address_family": "inet",
|
|
||||||
"bond_downdelay": "200",
|
|
||||||
"bond_lacp_rate": "slow",
|
|
||||||
"bond_miimon": "100",
|
|
||||||
"bond_mode": "4",
|
|
||||||
"bond_updelay": "200",
|
|
||||||
"bond_xmit_hash_policy": "layer3+4",
|
|
||||||
"bridge_ports": "agge",
|
|
||||||
"down": [],
|
|
||||||
"gateway": "188.44.133.75",
|
|
||||||
"hwaddress": "ether 22:44:77:88:D5:98",
|
|
||||||
"method": "static",
|
|
||||||
"netmask": "255.255.255.248",
|
|
||||||
"post-up": [
|
|
||||||
"/sbin/ethtool -K agge tx off tso off"
|
|
||||||
],
|
|
||||||
"pre-up": [],
|
|
||||||
"slaves": "ext1 ext2",
|
|
||||||
"up": [
|
|
||||||
"route add -net 10.0.0.0/8 gw 10.44.15.117 dev aggi",
|
|
||||||
"route add -net 192.168.0.0/16 gw 10.44.15.117 dev aggi",
|
|
||||||
"route add -net 188.44.208.0/21 gw 10.44.15.117 dev aggi"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"eth1": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "manual",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"ext1": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"bond-master": "agge",
|
|
||||||
"down": [],
|
|
||||||
"method": "manual",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"ext2": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"bond-master": "agge",
|
|
||||||
"down": [],
|
|
||||||
"method": "manual",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"int1": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"bond-master": "aggi",
|
|
||||||
"down": [],
|
|
||||||
"method": "manual",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"int2": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"bond-master": "aggi",
|
|
||||||
"down": [],
|
|
||||||
"method": "manual",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"lo": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "loopback",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,61 +0,0 @@
|
||||||
auto aggi
|
|
||||||
iface aggi inet static
|
|
||||||
hwaddress ether 22:44:77:88:D5:96
|
|
||||||
address 10.44.15.196
|
|
||||||
netmask 255.255.255.248
|
|
||||||
mtu 1500
|
|
||||||
slaves int1 int2
|
|
||||||
bond_mode 4
|
|
||||||
bond_miimon 100
|
|
||||||
bond_downdelay 200
|
|
||||||
bond_updelay 200
|
|
||||||
bond_lacp_rate slow
|
|
||||||
bond_xmit_hash_policy layer3+4
|
|
||||||
post-up /sbin/ethtool -K aggi tx off tso off
|
|
||||||
|
|
||||||
auto agge
|
|
||||||
iface agge inet manual
|
|
||||||
|
|
||||||
auto br0
|
|
||||||
iface br0 inet static
|
|
||||||
bridge_ports agge
|
|
||||||
hwaddress ether 22:44:77:88:D5:98
|
|
||||||
address 188.44.133.76
|
|
||||||
netmask 255.255.255.248
|
|
||||||
gateway 188.44.133.75
|
|
||||||
slaves ext1 ext2
|
|
||||||
bond_mode 4
|
|
||||||
bond_miimon 100
|
|
||||||
bond_downdelay 200
|
|
||||||
bond_updelay 200
|
|
||||||
bond_lacp_rate slow
|
|
||||||
bond_xmit_hash_policy layer3+4
|
|
||||||
post-up /sbin/ethtool -K agge tx off tso off
|
|
||||||
|
|
||||||
up route add -net 10.0.0.0/8 gw 10.44.15.117 dev aggi
|
|
||||||
up route add -net 192.168.0.0/16 gw 10.44.15.117 dev aggi
|
|
||||||
up route add -net 188.44.208.0/21 gw 10.44.15.117 dev aggi
|
|
||||||
|
|
||||||
auto int1
|
|
||||||
iface int1 inet manual
|
|
||||||
bond-master aggi
|
|
||||||
|
|
||||||
auto int2
|
|
||||||
iface int2 inet manual
|
|
||||||
bond-master aggi
|
|
||||||
|
|
||||||
auto ext1
|
|
||||||
iface ext1 inet manual
|
|
||||||
bond-master agge
|
|
||||||
|
|
||||||
auto ext2
|
|
||||||
iface ext2 inet manual
|
|
||||||
bond-master agge
|
|
||||||
|
|
||||||
auto eth1
|
|
||||||
iface eth1 inet manual
|
|
||||||
|
|
||||||
auto lo
|
|
||||||
iface lo inet loopback
|
|
||||||
|
|
||||||
source /etc/network/interfaces.d/*.cfg
|
|
||||||
|
|
@ -1,109 +0,0 @@
|
||||||
{
|
|
||||||
"agge": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "manual",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"aggi": {
|
|
||||||
"address": "10.44.15.196",
|
|
||||||
"address_family": "inet",
|
|
||||||
"bond_downdelay": "200",
|
|
||||||
"bond_lacp_rate": "slow",
|
|
||||||
"bond_miimon": "100",
|
|
||||||
"bond_mode": "4",
|
|
||||||
"bond_updelay": "200",
|
|
||||||
"bond_xmit_hash_policy": "layer3+4",
|
|
||||||
"down": [],
|
|
||||||
"hwaddress": "ether 22:44:77:88:D5:96",
|
|
||||||
"method": "static",
|
|
||||||
"mtu": "1500",
|
|
||||||
"netmask": "255.255.255.248",
|
|
||||||
"post-up": [
|
|
||||||
"/sbin/ethtool -K aggi tx off tso off"
|
|
||||||
],
|
|
||||||
"pre-up": [],
|
|
||||||
"slaves": "int1 int2",
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"br0": {
|
|
||||||
"address": "188.44.133.76",
|
|
||||||
"address_family": "inet",
|
|
||||||
"bond_downdelay": "200",
|
|
||||||
"bond_lacp_rate": "slow",
|
|
||||||
"bond_miimon": "100",
|
|
||||||
"bond_mode": "4",
|
|
||||||
"bond_updelay": "200",
|
|
||||||
"bond_xmit_hash_policy": "layer3+4",
|
|
||||||
"bridge_ports": "agge",
|
|
||||||
"down": [],
|
|
||||||
"gateway": "188.44.133.75",
|
|
||||||
"hwaddress": "ether 22:44:77:88:D5:98",
|
|
||||||
"method": "static",
|
|
||||||
"netmask": "255.255.255.248",
|
|
||||||
"post-up": [
|
|
||||||
"/sbin/ethtool -K agge tx off tso off"
|
|
||||||
],
|
|
||||||
"pre-up": [],
|
|
||||||
"slaves": "ext1 ext2",
|
|
||||||
"up": [
|
|
||||||
"route add -net 10.0.0.0/8 gw 10.44.15.117 dev aggi",
|
|
||||||
"route add -net 192.168.0.0/16 gw 10.44.15.117 dev aggi",
|
|
||||||
"route add -net 188.44.208.0/21 gw 10.44.15.117 dev aggi"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"eth1": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "manual",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"ext1": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"bond-master": "agge",
|
|
||||||
"down": [],
|
|
||||||
"method": "manual",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"ext2": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"bond-master": "agge",
|
|
||||||
"down": [],
|
|
||||||
"method": "manual",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"int1": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"bond-master": "aggi",
|
|
||||||
"down": [],
|
|
||||||
"method": "manual",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"int2": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"bond-master": "aggi",
|
|
||||||
"down": [],
|
|
||||||
"method": "manual",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"lo": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "loopback",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,61 +0,0 @@
|
||||||
auto aggi
|
|
||||||
iface aggi inet static
|
|
||||||
hwaddress ether 22:44:77:88:D5:96
|
|
||||||
address 10.44.15.196
|
|
||||||
netmask 255.255.255.248
|
|
||||||
mtu 1500
|
|
||||||
slaves int1 int2
|
|
||||||
bond_mode 4
|
|
||||||
bond_miimon 100
|
|
||||||
bond_downdelay 200
|
|
||||||
bond_updelay 200
|
|
||||||
bond_lacp_rate slow
|
|
||||||
bond_xmit_hash_policy layer3+4
|
|
||||||
post-up /sbin/ethtool -K aggi tx off tso off
|
|
||||||
|
|
||||||
auto agge
|
|
||||||
iface agge inet manual
|
|
||||||
|
|
||||||
auto br0
|
|
||||||
iface br0 inet static
|
|
||||||
bridge_ports agge
|
|
||||||
hwaddress ether 22:44:77:88:D5:98
|
|
||||||
address 188.44.133.76
|
|
||||||
netmask 255.255.255.248
|
|
||||||
gateway 188.44.133.75
|
|
||||||
slaves ext1 ext2
|
|
||||||
bond_mode 4
|
|
||||||
bond_miimon 100
|
|
||||||
bond_downdelay 200
|
|
||||||
bond_updelay 200
|
|
||||||
bond_lacp_rate slow
|
|
||||||
bond_xmit_hash_policy layer3+4
|
|
||||||
post-up /sbin/ethtool -K agge tx off tso off
|
|
||||||
|
|
||||||
up route add -net 10.0.0.0/8 gw 10.44.15.117 dev aggi
|
|
||||||
up route add -net 192.168.0.0/16 gw 10.44.15.117 dev aggi
|
|
||||||
up route add -net 188.44.208.0/21 gw 10.44.15.117 dev aggi
|
|
||||||
|
|
||||||
auto int1
|
|
||||||
iface int1 inet manual
|
|
||||||
bond-master aggi
|
|
||||||
|
|
||||||
auto int2
|
|
||||||
iface int2 inet manual
|
|
||||||
bond-master aggi
|
|
||||||
|
|
||||||
auto ext1
|
|
||||||
iface ext1 inet manual
|
|
||||||
bond-master agge
|
|
||||||
|
|
||||||
auto ext2
|
|
||||||
iface ext2 inet manual
|
|
||||||
bond-master agge
|
|
||||||
|
|
||||||
auto eth1
|
|
||||||
iface eth1 inet manual
|
|
||||||
|
|
||||||
auto lo
|
|
||||||
iface lo inet loopback
|
|
||||||
|
|
||||||
source /etc/network/interfaces.d/*.cfg
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
fail_json message: Error: interface eth0 not found
|
|
||||||
options:
|
|
||||||
{
|
|
||||||
"address_family": "inet",
|
|
||||||
"iface": "eth0",
|
|
||||||
"option": "address",
|
|
||||||
"state": "present",
|
|
||||||
"value": "192.168.0.42"
|
|
||||||
}
|
|
||||||
|
|
@ -1,109 +0,0 @@
|
||||||
{
|
|
||||||
"agge": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "manual",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"aggi": {
|
|
||||||
"address": "10.44.15.196",
|
|
||||||
"address_family": "inet",
|
|
||||||
"bond_downdelay": "200",
|
|
||||||
"bond_lacp_rate": "slow",
|
|
||||||
"bond_miimon": "100",
|
|
||||||
"bond_mode": "4",
|
|
||||||
"bond_updelay": "200",
|
|
||||||
"bond_xmit_hash_policy": "layer3+4",
|
|
||||||
"down": [],
|
|
||||||
"hwaddress": "ether 22:44:77:88:D5:96",
|
|
||||||
"method": "static",
|
|
||||||
"mtu": "1500",
|
|
||||||
"netmask": "255.255.255.248",
|
|
||||||
"post-up": [
|
|
||||||
"/sbin/ethtool -K aggi tx off tso off"
|
|
||||||
],
|
|
||||||
"pre-up": [],
|
|
||||||
"slaves": "int1 int2",
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"br0": {
|
|
||||||
"address": "188.44.133.76",
|
|
||||||
"address_family": "inet",
|
|
||||||
"bond_downdelay": "200",
|
|
||||||
"bond_lacp_rate": "slow",
|
|
||||||
"bond_miimon": "100",
|
|
||||||
"bond_mode": "4",
|
|
||||||
"bond_updelay": "200",
|
|
||||||
"bond_xmit_hash_policy": "layer3+4",
|
|
||||||
"bridge_ports": "agge",
|
|
||||||
"down": [],
|
|
||||||
"gateway": "188.44.133.75",
|
|
||||||
"hwaddress": "ether 22:44:77:88:D5:98",
|
|
||||||
"method": "static",
|
|
||||||
"netmask": "255.255.255.248",
|
|
||||||
"post-up": [
|
|
||||||
"/sbin/ethtool -K agge tx off tso off"
|
|
||||||
],
|
|
||||||
"pre-up": [],
|
|
||||||
"slaves": "ext1 ext2",
|
|
||||||
"up": [
|
|
||||||
"route add -net 10.0.0.0/8 gw 10.44.15.117 dev aggi",
|
|
||||||
"route add -net 192.168.0.0/16 gw 10.44.15.117 dev aggi",
|
|
||||||
"route add -net 188.44.208.0/21 gw 10.44.15.117 dev aggi"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"eth1": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "manual",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"ext1": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"bond-master": "agge",
|
|
||||||
"down": [],
|
|
||||||
"method": "manual",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"ext2": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"bond-master": "agge",
|
|
||||||
"down": [],
|
|
||||||
"method": "manual",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"int1": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"bond-master": "aggi",
|
|
||||||
"down": [],
|
|
||||||
"method": "manual",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"int2": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"bond-master": "aggi",
|
|
||||||
"down": [],
|
|
||||||
"method": "manual",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"lo": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "loopback",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,61 +0,0 @@
|
||||||
auto aggi
|
|
||||||
iface aggi inet static
|
|
||||||
hwaddress ether 22:44:77:88:D5:96
|
|
||||||
address 10.44.15.196
|
|
||||||
netmask 255.255.255.248
|
|
||||||
mtu 1500
|
|
||||||
slaves int1 int2
|
|
||||||
bond_mode 4
|
|
||||||
bond_miimon 100
|
|
||||||
bond_downdelay 200
|
|
||||||
bond_updelay 200
|
|
||||||
bond_lacp_rate slow
|
|
||||||
bond_xmit_hash_policy layer3+4
|
|
||||||
post-up /sbin/ethtool -K aggi tx off tso off
|
|
||||||
|
|
||||||
auto agge
|
|
||||||
iface agge inet manual
|
|
||||||
|
|
||||||
auto br0
|
|
||||||
iface br0 inet static
|
|
||||||
bridge_ports agge
|
|
||||||
hwaddress ether 22:44:77:88:D5:98
|
|
||||||
address 188.44.133.76
|
|
||||||
netmask 255.255.255.248
|
|
||||||
gateway 188.44.133.75
|
|
||||||
slaves ext1 ext2
|
|
||||||
bond_mode 4
|
|
||||||
bond_miimon 100
|
|
||||||
bond_downdelay 200
|
|
||||||
bond_updelay 200
|
|
||||||
bond_lacp_rate slow
|
|
||||||
bond_xmit_hash_policy layer3+4
|
|
||||||
post-up /sbin/ethtool -K agge tx off tso off
|
|
||||||
|
|
||||||
up route add -net 10.0.0.0/8 gw 10.44.15.117 dev aggi
|
|
||||||
up route add -net 192.168.0.0/16 gw 10.44.15.117 dev aggi
|
|
||||||
up route add -net 188.44.208.0/21 gw 10.44.15.117 dev aggi
|
|
||||||
|
|
||||||
auto int1
|
|
||||||
iface int1 inet manual
|
|
||||||
bond-master aggi
|
|
||||||
|
|
||||||
auto int2
|
|
||||||
iface int2 inet manual
|
|
||||||
bond-master aggi
|
|
||||||
|
|
||||||
auto ext1
|
|
||||||
iface ext1 inet manual
|
|
||||||
bond-master agge
|
|
||||||
|
|
||||||
auto ext2
|
|
||||||
iface ext2 inet manual
|
|
||||||
bond-master agge
|
|
||||||
|
|
||||||
auto eth1
|
|
||||||
iface eth1 inet manual
|
|
||||||
|
|
||||||
auto lo
|
|
||||||
iface lo inet loopback
|
|
||||||
|
|
||||||
source /etc/network/interfaces.d/*.cfg
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
fail_json message: Error: interface eth0 not found
|
|
||||||
options:
|
|
||||||
{
|
|
||||||
"address_family": "inet",
|
|
||||||
"iface": "eth0",
|
|
||||||
"option": "post-up",
|
|
||||||
"state": "present",
|
|
||||||
"value": "XXXX_ipv4"
|
|
||||||
}
|
|
||||||
|
|
@ -1,109 +0,0 @@
|
||||||
{
|
|
||||||
"agge": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "manual",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"aggi": {
|
|
||||||
"address": "10.44.15.196",
|
|
||||||
"address_family": "inet",
|
|
||||||
"bond_downdelay": "200",
|
|
||||||
"bond_lacp_rate": "slow",
|
|
||||||
"bond_miimon": "100",
|
|
||||||
"bond_mode": "4",
|
|
||||||
"bond_updelay": "200",
|
|
||||||
"bond_xmit_hash_policy": "layer3+4",
|
|
||||||
"down": [],
|
|
||||||
"hwaddress": "ether 22:44:77:88:D5:96",
|
|
||||||
"method": "static",
|
|
||||||
"mtu": "1500",
|
|
||||||
"netmask": "255.255.255.248",
|
|
||||||
"post-up": [
|
|
||||||
"/sbin/ethtool -K aggi tx off tso off"
|
|
||||||
],
|
|
||||||
"pre-up": [],
|
|
||||||
"slaves": "int1 int2",
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"br0": {
|
|
||||||
"address": "188.44.133.76",
|
|
||||||
"address_family": "inet",
|
|
||||||
"bond_downdelay": "200",
|
|
||||||
"bond_lacp_rate": "slow",
|
|
||||||
"bond_miimon": "100",
|
|
||||||
"bond_mode": "4",
|
|
||||||
"bond_updelay": "200",
|
|
||||||
"bond_xmit_hash_policy": "layer3+4",
|
|
||||||
"bridge_ports": "agge",
|
|
||||||
"down": [],
|
|
||||||
"gateway": "188.44.133.75",
|
|
||||||
"hwaddress": "ether 22:44:77:88:D5:98",
|
|
||||||
"method": "static",
|
|
||||||
"netmask": "255.255.255.248",
|
|
||||||
"post-up": [
|
|
||||||
"/sbin/ethtool -K agge tx off tso off"
|
|
||||||
],
|
|
||||||
"pre-up": [],
|
|
||||||
"slaves": "ext1 ext2",
|
|
||||||
"up": [
|
|
||||||
"route add -net 10.0.0.0/8 gw 10.44.15.117 dev aggi",
|
|
||||||
"route add -net 192.168.0.0/16 gw 10.44.15.117 dev aggi",
|
|
||||||
"route add -net 188.44.208.0/21 gw 10.44.15.117 dev aggi"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"eth1": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "manual",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"ext1": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"bond-master": "agge",
|
|
||||||
"down": [],
|
|
||||||
"method": "manual",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"ext2": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"bond-master": "agge",
|
|
||||||
"down": [],
|
|
||||||
"method": "manual",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"int1": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"bond-master": "aggi",
|
|
||||||
"down": [],
|
|
||||||
"method": "manual",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"int2": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"bond-master": "aggi",
|
|
||||||
"down": [],
|
|
||||||
"method": "manual",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
},
|
|
||||||
"lo": {
|
|
||||||
"address_family": "inet",
|
|
||||||
"down": [],
|
|
||||||
"method": "loopback",
|
|
||||||
"post-up": [],
|
|
||||||
"pre-up": [],
|
|
||||||
"up": []
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,61 +0,0 @@
|
||||||
auto aggi
|
|
||||||
iface aggi inet static
|
|
||||||
hwaddress ether 22:44:77:88:D5:96
|
|
||||||
address 10.44.15.196
|
|
||||||
netmask 255.255.255.248
|
|
||||||
mtu 1500
|
|
||||||
slaves int1 int2
|
|
||||||
bond_mode 4
|
|
||||||
bond_miimon 100
|
|
||||||
bond_downdelay 200
|
|
||||||
bond_updelay 200
|
|
||||||
bond_lacp_rate slow
|
|
||||||
bond_xmit_hash_policy layer3+4
|
|
||||||
post-up /sbin/ethtool -K aggi tx off tso off
|
|
||||||
|
|
||||||
auto agge
|
|
||||||
iface agge inet manual
|
|
||||||
|
|
||||||
auto br0
|
|
||||||
iface br0 inet static
|
|
||||||
bridge_ports agge
|
|
||||||
hwaddress ether 22:44:77:88:D5:98
|
|
||||||
address 188.44.133.76
|
|
||||||
netmask 255.255.255.248
|
|
||||||
gateway 188.44.133.75
|
|
||||||
slaves ext1 ext2
|
|
||||||
bond_mode 4
|
|
||||||
bond_miimon 100
|
|
||||||
bond_downdelay 200
|
|
||||||
bond_updelay 200
|
|
||||||
bond_lacp_rate slow
|
|
||||||
bond_xmit_hash_policy layer3+4
|
|
||||||
post-up /sbin/ethtool -K agge tx off tso off
|
|
||||||
|
|
||||||
up route add -net 10.0.0.0/8 gw 10.44.15.117 dev aggi
|
|
||||||
up route add -net 192.168.0.0/16 gw 10.44.15.117 dev aggi
|
|
||||||
up route add -net 188.44.208.0/21 gw 10.44.15.117 dev aggi
|
|
||||||
|
|
||||||
auto int1
|
|
||||||
iface int1 inet manual
|
|
||||||
bond-master aggi
|
|
||||||
|
|
||||||
auto int2
|
|
||||||
iface int2 inet manual
|
|
||||||
bond-master aggi
|
|
||||||
|
|
||||||
auto ext1
|
|
||||||
iface ext1 inet manual
|
|
||||||
bond-master agge
|
|
||||||
|
|
||||||
auto ext2
|
|
||||||
iface ext2 inet manual
|
|
||||||
bond-master agge
|
|
||||||
|
|
||||||
auto eth1
|
|
||||||
iface eth1 inet manual
|
|
||||||
|
|
||||||
auto lo
|
|
||||||
iface lo inet loopback
|
|
||||||
|
|
||||||
source /etc/network/interfaces.d/*.cfg
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
fail_json message: Error: interface eth0 not found
|
|
||||||
options:
|
|
||||||
{
|
|
||||||
"address_family": "inet",
|
|
||||||
"iface": "eth0",
|
|
||||||
"option": "pre-up",
|
|
||||||
"state": "present",
|
|
||||||
"value": "XXXX_ipv4"
|
|
||||||
}
|
|
||||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue