1syntax = "proto3"; 2 3import "gogoproto/gogo.proto"; 4 5package overlay; 6 7option (gogoproto.marshaler_all) = true; 8option (gogoproto.unmarshaler_all) = true; 9option (gogoproto.stringer_all) = true; 10option (gogoproto.gostring_all) = true; 11option (gogoproto.sizer_all) = true; 12option (gogoproto.goproto_stringer_all) = false; 13 14// PeerRecord defines the information corresponding to a peer 15// container in the overlay network. 16message PeerRecord { 17 // Endpoint IP is the IP of the container attachment on the 18 // given overlay network. 19 string endpoint_ip = 1 [(gogoproto.customname) = "EndpointIP"]; 20 // Endpoint MAC is the mac address of the container attachment 21 // on the given overlay network. 22 string endpoint_mac = 2 [(gogoproto.customname) = "EndpointMAC"]; 23 // Tunnel Endpoint IP defines the host IP for the host in 24 // which this container is running and can be reached by 25 // building a tunnel to that host IP. 26 string tunnel_endpoint_ip = 3 [(gogoproto.customname) = "TunnelEndpointIP"]; 27} 28