module OmfRc::ResourceProxy::Net

Proxy for managing Ethernet interfaces

Net resources can be created as children of {OmfRc::ResourceProxy::Node}.

It is important to set if_name (interface_name) as they are used as identifier for executing ip commands.

@example Bring up an Ethernet interface eth0 by setting an ip address

eth0 = node.create(:wlan, if_name: 'eth0')
eth0.configure_ip_addr("192.168.1.100/24")

@see OmfRc::Util::Ip