Anapaya appliance configuration (interfaces only)
interfaces object
Top-level configuration and state for interfaces.
bonds object[]
Top-level configuration and state for the bond interfaces.
Whether to accept the route advertisements for the corresponding interface. (This is currently supported only for the interfaces that are using the Linux driver.)
falseThe addresses configured on this interface. Each address must be a valid IP prefix in CIDR notation.
gateway object
The gateway for the network interface.
The gateway address for the IPv4 networking stack. Note that there must only be one IPv4 gateway configured across all the interfaces.
The gateway address for the IPv6 networking stack. Note that there must only be one IPv6 gateway configured across all the interfaces.
The list of interfaces that are part of this bond.
Possible values: >= 1
The MAC address to use on this interface.
It is of the form XX:XX:XX:XX:XX:XX.
The MTU (Maximum Transmission Unit) to be used on this interface.
15001472The name of the network interface.
neighbors object[]
The static neighbors configured on this network interface.
The IP address.
An optional human-readable string to comment on this neighbor.
The MAC address corresponding to the address.
It is of the form XX:XX:XX:XX:XX:XX.
The sequence id determines the order of the neighbor entries.
3routes object[]
The routes which are configured on this network interface.
An optional human-readable string to comment on this route.
The source IP address for traffic going through the route.
The metric for the route. The lower its value, the higher its priority.
10The sequence id determines the order of the route entries.
3The destination prefix in CIDR notation of this route.
The next hop address which should be used for the prefix.
The number of descriptors in the receive queue. (This option is currently supported only for VPP interfaces.)
10242048The number of descriptors in the transmit queue. (This is currently supported only for VPP interfaces.)
10242048vrrp object[]
The VRRP (Virtual Router Redundancy Protocol) configurations for this interface.
The list of virtual IP addresses. It must contain at least one IP address. Each sequence entry is in CIDR notation.
Possible values: >= 1
If set to true, the preempt mode is disabled. This means that the router will not preempt the master even if it has a higher priority than the current master. If set to false, the router will preempt the master if it has a higher priority than the current master.
falseOptional list of IP addresses of the VRRP peers. If the list is empty, the router will send VRRP packets to the multicast address. If the list is not empty, the router will send VRRP packets to the unicast addresses specified in the list.
Possible values: >= 1
The priority value to be used by this VRRP router. Higher means higher priority and it ranges between 1 and 255 (decimal).
117The virtual router identifier, which ranges between 1 and 255 (decimal).
3ethernets object[]
Top-level configuration and state for ethernet interfaces.
Whether to accept the route advertisements for the corresponding interface. (This is currently supported only for the interfaces that are using the Linux driver.)
falseThe addresses configured on this interface. Each address must be a valid IP prefix in CIDR notation.
The driver which should be used for the interface.
Possible values: [LINUX, VPP, VPP_DPDK, VPP_VMXNET3, VPP_MEMIF, VPP_RDMA]
gateway object
The gateway for the network interface.
The gateway address for the IPv4 networking stack. Note that there must only be one IPv4 gateway configured across all the interfaces.
The gateway address for the IPv6 networking stack. Note that there must only be one IPv6 gateway configured across all the interfaces.
The MAC address to use on this interface.
It is of the form XX:XX:XX:XX:XX:XX.
The MTU (Maximum Transmission Unit) to be used on this interface.
15001472The name of the network interface.
neighbors object[]
The static neighbors configured on this network interface.
The IP address.
An optional human-readable string to comment on this neighbor.
The MAC address corresponding to the address.
It is of the form XX:XX:XX:XX:XX:XX.
The sequence id determines the order of the neighbor entries.
3routes object[]
The routes which are configured on this network interface.
An optional human-readable string to comment on this route.
The source IP address for traffic going through the route.
The metric for the route. The lower its value, the higher its priority.
10The sequence id determines the order of the route entries.
3The destination prefix in CIDR notation of this route.
The next hop address which should be used for the prefix.
The number of descriptors in the receive queue. (This option is currently supported only for VPP interfaces.)
10242048The number of descriptors in the transmit queue. (This is currently supported only for VPP interfaces.)
10242048vpp object
The VPP driver specific configuration.
Whether vlan-strip-offload on should be added to the interface
configuration of the VPP dataplane.
falsevrrp object[]
The VRRP (Virtual Router Redundancy Protocol) configurations for this interface.
The list of virtual IP addresses. It must contain at least one IP address. Each sequence entry is in CIDR notation.
Possible values: >= 1
If set to true, the preempt mode is disabled. This means that the router will not preempt the master even if it has a higher priority than the current master. If set to false, the router will preempt the master if it has a higher priority than the current master.
falseOptional list of IP addresses of the VRRP peers. If the list is empty, the router will send VRRP packets to the multicast address. If the list is not empty, the router will send VRRP packets to the unicast addresses specified in the list.
Possible values: >= 1
The priority value to be used by this VRRP router. Higher means higher priority and it ranges between 1 and 255 (decimal).
117The virtual router identifier, which ranges between 1 and 255 (decimal).
3loopbacks object[]
Top-level configuration and state for loopback interfaces.
The list of addresses configured on the loopback interface.
The name of the loopback interface, which must have a 'loop' prefix.
virtual_functions object[]
Top-level configuration and state for VF interfaces.
Whether to accept the route advertisements for the corresponding interface. (This is currently supported only for the interfaces that are using the Linux driver.)
falseThe addresses configured on this interface. Each address must be a valid IP prefix in CIDR notation.
gateway object
The gateway for the network interface.
The gateway address for the IPv4 networking stack. Note that there must only be one IPv4 gateway configured across all the interfaces.
The gateway address for the IPv6 networking stack. Note that there must only be one IPv6 gateway configured across all the interfaces.
The name of the network interface that is used as the parent on which the virtual function will be created.
The MAC address to use on this interface.
It is of the form XX:XX:XX:XX:XX:XX.
The MTU (Maximum Transmission Unit) to be used on this interface.
15001472The name of the network interface.
neighbors object[]
The static neighbors configured on this network interface.
The IP address.
An optional human-readable string to comment on this neighbor.
The MAC address corresponding to the address.
It is of the form XX:XX:XX:XX:XX:XX.
The sequence id determines the order of the neighbor entries.
3routes object[]
The routes which are configured on this network interface.
An optional human-readable string to comment on this route.
The source IP address for traffic going through the route.
The metric for the route. The lower its value, the higher its priority.
10The sequence id determines the order of the route entries.
3The destination prefix in CIDR notation of this route.
The next hop address which should be used for the prefix.
The number of descriptors in the receive queue. (This option is currently supported only for VPP interfaces.)
10242048The number of descriptors in the transmit queue. (This is currently supported only for VPP interfaces.)
10242048vrrp object[]
The VRRP (Virtual Router Redundancy Protocol) configurations for this interface.
The list of virtual IP addresses. It must contain at least one IP address. Each sequence entry is in CIDR notation.
Possible values: >= 1
If set to true, the preempt mode is disabled. This means that the router will not preempt the master even if it has a higher priority than the current master. If set to false, the router will preempt the master if it has a higher priority than the current master.
falseOptional list of IP addresses of the VRRP peers. If the list is empty, the router will send VRRP packets to the multicast address. If the list is not empty, the router will send VRRP packets to the unicast addresses specified in the list.
Possible values: >= 1
The priority value to be used by this VRRP router. Higher means higher priority and it ranges between 1 and 255 (decimal).
117The virtual router identifier, which ranges between 1 and 255 (decimal).
3vlans object[]
Top-level configuration and state for VLAN interfaces.
Whether to accept the route advertisements for the corresponding interface. (This is currently supported only for the interfaces that are using the Linux driver.)
falseThe addresses configured on this interface. Each address must be a valid IP prefix in CIDR notation.
gateway object
The gateway for the network interface.
The gateway address for the IPv4 networking stack. Note that there must only be one IPv4 gateway configured across all the interfaces.
The gateway address for the IPv6 networking stack. Note that there must only be one IPv6 gateway configured across all the interfaces.
The VLAN ID of the VLAN interface. It ranges between 0 and 4095.
Possible values: <= 4095
The name of the physical interface used for this VLAN.
The MAC address to use on this interface.
It is of the form XX:XX:XX:XX:XX:XX.
The MTU (Maximum Transmission Unit) to be used on this interface.
15001472The name of the network interface.
neighbors object[]
The static neighbors configured on this network interface.
The IP address.
An optional human-readable string to comment on this neighbor.
The MAC address corresponding to the address.
It is of the form XX:XX:XX:XX:XX:XX.
The sequence id determines the order of the neighbor entries.
3routes object[]
The routes which are configured on this network interface.
An optional human-readable string to comment on this route.
The source IP address for traffic going through the route.
The metric for the route. The lower its value, the higher its priority.
10The sequence id determines the order of the route entries.
3The destination prefix in CIDR notation of this route.
The next hop address which should be used for the prefix.
The number of descriptors in the receive queue. (This option is currently supported only for VPP interfaces.)
10242048The number of descriptors in the transmit queue. (This is currently supported only for VPP interfaces.)
10242048vrrp object[]
The VRRP (Virtual Router Redundancy Protocol) configurations for this interface.
The list of virtual IP addresses. It must contain at least one IP address. Each sequence entry is in CIDR notation.
Possible values: >= 1
If set to true, the preempt mode is disabled. This means that the router will not preempt the master even if it has a higher priority than the current master. If set to false, the router will preempt the master if it has a higher priority than the current master.
falseOptional list of IP addresses of the VRRP peers. If the list is empty, the router will send VRRP packets to the multicast address. If the list is not empty, the router will send VRRP packets to the unicast addresses specified in the list.
Possible values: >= 1
The priority value to be used by this VRRP router. Higher means higher priority and it ranges between 1 and 255 (decimal).
117The virtual router identifier, which ranges between 1 and 255 (decimal).
3wireguards object[]
Top-level configuration and state for Wireguard interfaces.
The addresses configured on this interface. Each address must be a valid IP prefix in CIDR notation.
gateway object
The gateway for the network interface.
The gateway address for the IPv4 networking stack. Note that there must only be one IPv4 gateway configured across all the interfaces.
The gateway address for the IPv6 networking stack. Note that there must only be one IPv6 gateway configured across all the interfaces.
The MTU (Maximum Transmission Unit) to be used on this interface.
1420The name of the network interface.
peers object[]
The list of Wireguard peers.
A list of IPv4/IPv6 addresses with a CIDR mask. The list indicates the addresses from which the peer is allowed to connect. Catch all are expressed as 0.0.0.0/0 (IPv4) and ::/0 (IPv6)
Remote endpoint of the Wireguard tunnel. In the form host:port
where host can be an IPv4/IPv6 address or a hostname,
and port is a port number.
The base64 encoded public key of the Wireguard peer.
This enables the point-to-point mode on the interface, meaning that it is a direct link between two machines with nobody else listening on it.
The port to listen on.
routes object[]
The routes for the network interface.
An optional human-readable string to comment on this route.
The source IP address for traffic going through the route.
The metric for the route. The lower its value, the higher its priority.
10The sequence id determines the order of the route entries.
3The destination prefix in CIDR notation of this route.
The next hop address which should be used for the prefix.
{
"interfaces": {
"bonds": [
{
"accept_ra": false,
"addresses": [
"string"
],
"gateway": {
"ipv4_gateway": "string",
"ipv6_gateway": "string"
},
"interfaces": [
"string"
],
"mac": "string",
"mtu": 1472,
"name": "string",
"neighbors": [
{
"address": "string",
"comment": "string",
"mac": "string",
"sequence_id": 3
}
],
"routes": [
{
"comment": "string",
"from": "string",
"metric": 10,
"sequence_id": 3,
"to": "string",
"via": "string"
}
],
"rx_queue_size": 2048,
"tx_queue_size": 2048,
"vrrp": [
{
"addresses": [
"string"
],
"no_preempt": false,
"peers": [
"string"
],
"priority": 17,
"vrid": 3
}
]
}
],
"ethernets": [
{
"accept_ra": false,
"addresses": [
"string"
],
"driver": "LINUX",
"gateway": {
"ipv4_gateway": "string",
"ipv6_gateway": "string"
},
"mac": "string",
"mtu": 1472,
"name": "string",
"neighbors": [
{
"address": "string",
"comment": "string",
"mac": "string",
"sequence_id": 3
}
],
"routes": [
{
"comment": "string",
"from": "string",
"metric": 10,
"sequence_id": 3,
"to": "string",
"via": "string"
}
],
"rx_queue_size": 2048,
"tx_queue_size": 2048,
"vpp": {
"vlan_strip_offload": false
},
"vrrp": [
{
"addresses": [
"string"
],
"no_preempt": false,
"peers": [
"string"
],
"priority": 17,
"vrid": 3
}
]
}
],
"loopbacks": [
{
"addresses": [
"string"
],
"name": "string"
}
],
"virtual_functions": [
{
"accept_ra": false,
"addresses": [
"string"
],
"gateway": {
"ipv4_gateway": "string",
"ipv6_gateway": "string"
},
"link": "string",
"mac": "string",
"mtu": 1472,
"name": "string",
"neighbors": [
{
"address": "string",
"comment": "string",
"mac": "string",
"sequence_id": 3
}
],
"routes": [
{
"comment": "string",
"from": "string",
"metric": 10,
"sequence_id": 3,
"to": "string",
"via": "string"
}
],
"rx_queue_size": 2048,
"tx_queue_size": 2048,
"vrrp": [
{
"addresses": [
"string"
],
"no_preempt": false,
"peers": [
"string"
],
"priority": 17,
"vrid": 3
}
]
}
],
"vlans": [
{
"accept_ra": false,
"addresses": [
"string"
],
"gateway": {
"ipv4_gateway": "string",
"ipv6_gateway": "string"
},
"id": 0,
"link": "string",
"mac": "string",
"mtu": 1472,
"name": "string",
"neighbors": [
{
"address": "string",
"comment": "string",
"mac": "string",
"sequence_id": 3
}
],
"routes": [
{
"comment": "string",
"from": "string",
"metric": 10,
"sequence_id": 3,
"to": "string",
"via": "string"
}
],
"rx_queue_size": 2048,
"tx_queue_size": 2048,
"vrrp": [
{
"addresses": [
"string"
],
"no_preempt": false,
"peers": [
"string"
],
"priority": 17,
"vrid": 3
}
]
}
],
"wireguards": [
{
"addresses": [
"string"
],
"gateway": {
"ipv4_gateway": "string",
"ipv6_gateway": "string"
},
"mtu": 1420,
"name": "string",
"peers": [
{
"allowed_ips": [
"string"
],
"endpoint": "string",
"public_key": "string"
}
],
"pointopoint": "string",
"port": 0,
"routes": [
{
"comment": "string",
"from": "string",
"metric": 10,
"sequence_id": 3,
"to": "string",
"via": "string"
}
]
}
]
}
}