19 import "vnet/interface_types.api";
20 import "vnet/ip/ip_types.api";
32 u32 user_instance [
default=0xffffffff];
41 define wireguard_interface_create {
53 define wireguard_interface_create_reply
60 autoreply define wireguard_interface_delete
67 define wireguard_interface_dump
75 define wireguard_interface_details
103 vl_api_wireguard_peer_flags_t
flags;
113 define wireguard_peer_add
119 define wireguard_peer_add_reply
131 autoreply define wireguard_peer_remove
142 define wireguard_peers_dump {
153 define wireguard_peers_details {
vl_api_wireguard_peer_flags_t flags
typedef wireguard_peer
Create new peer.
vl_api_interface_index_t sw_if_index
vl_api_wireguard_interface_t interface
vl_api_interface_index_t sw_if_index
vl_api_prefix_t allowed_ips[n_allowed_ips]
vl_api_address_t endpoint
vl_api_wireguard_peer_t peer
vl_api_wireguard_interface_t interface
vl_api_wireguard_peer_t peer
vl_api_interface_index_t sw_if_index
typedef wireguard_interface
Create wireguard interface.
vl_api_interface_index_t sw_if_index