https://github.com/juliaparallel/networkinterfacecontrollers.jl
Extensions to Julia's LibUV to help with working with multiple NICs per node
https://github.com/juliaparallel/networkinterfacecontrollers.jl
Last synced: 12 months ago
JSON representation
Extensions to Julia's LibUV to help with working with multiple NICs per node
- Host: GitHub
- URL: https://github.com/juliaparallel/networkinterfacecontrollers.jl
- Owner: JuliaParallel
- License: bsd-3-clause
- Created: 2023-07-17T04:47:21.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-10T04:47:14.000Z (over 1 year ago)
- Last Synced: 2025-06-14T02:04:17.940Z (12 months ago)
- Language: Julia
- Size: 48.8 KB
- Stars: 6
- Watchers: 11
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NetworkInterfaceControllers.jl
Extensions to Julia's LibUV to help with working with multiple NICs per node.
## Methods
1. `get_interface_data(<:IPAddr; loopback=false)` returns IP addresses, versions, and interface names of all connected interfaces. Eg:
```julia
julia> using NetworkInterfaceControllers, Sockets
julia> get_interface_data(IPv4)
1-element Vector{NetworkInterfaceControllers.Interface}:
NetworkInterfaces.Interface("wlp114s0", :v4, ip"192.168.100.64")
```
Helpful when multiple NICs are connected to a node, and you want to find the IP address corresponding to a specific NIC