overlay.proto 994 B

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