-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2215974: Collect network facts using 'ip'
* BZ: https://bugzilla.redhat.com/show_bug.cgi?id=2215974 * Card ID: ENT-5099 Implementation of new code for network collection using 'iproute' instead of 'python-ethtool'. - Bonding can be created quite easily in VM (provided it has two virtual interfaces): nmcli connection add type bond ifname bond0 con-name bond0 nmcli connection add type ethernet ifname enp1s0 master bond0 \ con-name bond0-1 nmcli connection add type ethernet ifname enp2s0 master bond0 \ con-name bond0-2 nmcli connection up bond0 nmcli connection up bond0-1 nmcli connection up bond0-2 - Tunnels can be enabled by running ifconfig sit0 up - Loopback usually is called 'lo', but it is just a name and we should not rely on it. It can be renamed by calling ip link set down lo ip link set lo name lpbck ip link set up lpbck - Network interfaces may not only be ASCII. They can even be emojis such as watermelon: ip link set eth0 name 🍉 or even multi-byte complex emojis using joiners (which you can create in Python by printing "\N{ADULT}\N{ZERO WIDTH JOINER}\N{ROCKET}"): ip link set eth0 name 🧑🚀
- Loading branch information
Showing
15 changed files
with
2,651 additions
and
401 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.