Skip to main contentIBM Video Streaming Developers

Interface

Network interface of an ECDN server.

type Interface {
    # Name of network interface (ie. eth0, eth1, ens36, etc...).
    # Currently it's always eth0 (multiple interfaces aren't supported yet).
    name: String!
    # Configuration mode of interface's network address.
    networkConfigurationMode: NetworkConfigurationMode!
    # Local IP of interface. Null if network configuration mode
    # is DYNAMIC and server never checked in before.
    localIP: IPv4
    # Netmask of interface's local network. Null if network configuration mode
    # is DYNAMIC and server never checked in before.
    netmask: IPv4Mask
    # Gateway of interface's local network. Null if network configuration mode
    # is DYNAMIC and server never checked in before.
    gateway: IPv4
}

Fields

name: String!

Name of network interface (ie. eth0, eth1, ens36, etc…). Currently it’s always eth0 (multiple interfaces aren’t supported yet).

networkConfigurationMode: NetworkConfigurationMode!

Configuration mode of interface’s network address.

localIP: IPv4

Local IP of interface. Null if network configuration mode is DYNAMIC and server never checked in before.

netmask: IPv4Mask

Netmask of interface’s local network. Null if network configuration mode is DYNAMIC and server never checked in before.

gateway: IPv4

Gateway of interface’s local network. Null if network configuration mode is DYNAMIC and server never checked in before.