A utility for mapping NICs on XCP-ng systems by interface, MAC, PCI address, and device description. This tool is ideal for passthrough, labeling, and organizing homelab hardware.
- Easy Mapping: Quickly identify NICs by interface, MAC, and PCI address.
- Device Descriptions: Get clear descriptions for each device.
- Passthrough Support: Streamline passthrough configurations.
- Homelab Organization: Keep your hardware neatly organized.
- Cross-Platform Compatibility: Works on any system running XCP-ng.
To get started, you can download the latest release from the Releases section. Download the appropriate file for your system, then execute it as follows:
chmod +x xcp-ng-nic-labeler
./xcp-ng-nic-labeler
After installation, you can run the utility to start mapping your NICs. Here’s a basic command to get you started:
./xcp-ng-nic-labeler --help
This command will show you all available options. For instance, you can specify the output format or filter by device type.
-
List All NICs:
./xcp-ng-nic-labeler list
-
Filter by MAC Address:
./xcp-ng-nic-labeler --mac 00:1A:2B:3C:4D:5E
-
Generate a Report:
./xcp-ng-nic-labeler --report
We welcome contributions! If you want to help improve this project, please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Make your changes.
- Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature-branch
). - Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
For questions or feedback, feel free to reach out. You can also check the Releases section for updates and new features.
Thank you for using XCP-ng NIC Labeler! We hope it helps you manage your networking hardware efficiently. Happy labeling! 🎉