@@ -13,6 +13,7 @@ message Pod {
1313 repeated Link links = 5 ;
1414 string node_ip = 6 ;
1515 string node_intf = 7 ;
16+ string container_id = 8 ;
1617}
1718
1819message Link {
@@ -54,8 +55,8 @@ message RemotePod {
5455message WireDef {
5556 // The remote machine interface id, to which this wire is connected to.
5657 // When local machine sends a packet to remote mahcine over grpc-wire,
57- // then along with the packet data, local machine also sends the interface id
58- // to whihc this packet needs to delivered in remote machine. It avoids any
58+ // then along with the packet data, local machine also sends the interface id
59+ // to whihc this packet needs to delivered in remote machine. It avoids any
5960 // per packet interface lookup at the remote end. Packet delivery becomes
6061 // an O(1) operation at remote end.
6162 int64 peer_intf_id = 1 ;
@@ -66,12 +67,12 @@ message WireDef {
6667 // Interface name, which comes from topology definition and to be put
6768 // inside container.
6869 // This filed is used when grpc-wire to be created.
69- string intf_name_in_pod = 3 ;
70+ string intf_name_in_pod = 3 ;
7071
7172 // Network name space of the local pod which is connected to this
7273 // grpc-wire
73- string local_pod_net_ns = 4 ;
74-
74+ string local_pod_net_ns = 4 ;
75+
7576 // Each meshnet link has a uid.
7677 int64 link_uid = 5 ;
7778
@@ -87,7 +88,7 @@ message WireDef {
8788 string kube_ns = 8 ;
8889
8990 string local_pod_ip = 9 ;
90-
91+
9192}
9293
9394message WireCreateResponse {
@@ -101,8 +102,8 @@ message WireDownResponse {
101102}
102103
103104message Packet {
104- // the remote machine interface id, to which this packet should be delivered.
105- int64 remot_intf_id = 1 ;
105+ // the remote machine interface id, to which this packet should be delivered.
106+ int64 remot_intf_id = 1 ;
106107 bytes frame = 2 ;
107108}
108109
@@ -114,7 +115,7 @@ message GenerateNodeInterfaceNameRequest {
114115
115116message GenerateNodeInterfaceNameResponse {
116117 bool ok = 1 ;
117- string node_intf_name = 2 ;
118+ string node_intf_name = 2 ;
118119}
119120
120121service Local {
@@ -124,12 +125,12 @@ service Local {
124125 rpc Skip (SkipQuery ) returns (BoolResponse );
125126 rpc IsSkipped (SkipQuery ) returns (BoolResponse );
126127
127- rpc GRPCWireExists (WireDef ) returns (WireCreateResponse );
128+ rpc GRPCWireExists (WireDef ) returns (WireCreateResponse );
128129 rpc AddGRPCWireLocal (WireDef ) returns (BoolResponse );
129130 rpc RemGRPCWire (WireDef ) returns (BoolResponse );
130131
131- // A node is going to hold multiple veth to connect to multiple containers.
132- // Each veth name must be unique with in a node. Daemon generates an ID that
132+ // A node is going to hold multiple veth to connect to multiple containers.
133+ // Each veth name must be unique with in a node. Daemon generates an ID that
133134 // is unique in this node.
134135 rpc GenerateNodeInterfaceName (GenerateNodeInterfaceNameRequest ) returns (GenerateNodeInterfaceNameResponse );
135136}
0 commit comments