Network Interfaces
Network interface commands.
Table 7-9 Network Interface Commands
|
|
|
POST
|
/interfaces
|
Create a new network interface
|
GET
|
/interfaces/<interface>
|
Get the specified network interface properties
|
GET
|
/interfaces
|
List all network interface objects
|
PUT
|
/interfaces/<interface>
|
Modify the specified network interface object
|
DELETE
|
/interfaces/<interface>
|
Destroy the specified interface object
|
|
Table 7-10 Network Interface Properties
|
|
admin
|
Flag indicating if administration is allowed on this
interface
|
class
|
Class type ("ip", "ipmp") (immutable after create)
|
curaddrs
|
Current IP Addresses (immutable)
|
enable
|
Flag indicating if this interface is enabled
|
label
|
User label for interface
|
links
|
Chose a network link for this interface
|
state
|
State of Interface (immutable)
|
v4addrs
|
IPv4 Addresses
|
v6dhcp
|
IPv4 DHCP flag
|
v6addrs
|
IPv6 Addresses
|
v6dhcp
|
IPv6 DHCP flag
|
|