Browse Source

functional-tester/rpcpb: add TLS flags

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Gyuho Lee 7 years ago
parent
commit
1580289ba3

+ 17 - 1
tools/functional-tester/rpcpb/etcd_config.go

@@ -30,8 +30,19 @@ var etcdFields = []string{
 
 	"ListenClientURLs",
 	"AdvertiseClientURLs",
+	"ClientAutoTLS",
+	"ClientCertAuth",
+	"ClientCertFile",
+	"ClientKeyFile",
+	"ClientTrustedCAFile",
+
 	"ListenPeerURLs",
 	"InitialAdvertisePeerURLs",
+	"PeerAutoTLS",
+	"PeerClientCertAuth",
+	"PeerCertFile",
+	"PeerKeyFile",
+	"PeerTrustedCAFile",
 
 	"InitialCluster",
 	"InitialClusterState",
@@ -72,12 +83,17 @@ func (cfg *Etcd) Flags() (fs []string) {
 		default:
 			panic(fmt.Errorf("field %q (%v) cannot be parsed", name, fv.Type().Kind()))
 		}
+
 		fname := field.Tag.Get("yaml")
+
 		// TODO: remove this
 		if fname == "initial-corrupt-check" {
 			fname = "experimental-" + fname
 		}
-		fs = append(fs, fmt.Sprintf("--%s=%s", fname, sv))
+
+		if sv != "" {
+			fs = append(fs, fmt.Sprintf("--%s=%s", fname, sv))
+		}
 	}
 	return fs
 }

+ 35 - 14
tools/functional-tester/rpcpb/etcd_config_test.go

@@ -21,23 +21,40 @@ import (
 
 func TestEtcdFlags(t *testing.T) {
 	cfg := &Etcd{
-		Name:                     "s1",
-		DataDir:                  "/tmp/etcd-agent-data-1/etcd.data",
-		WALDir:                   "/tmp/etcd-agent-data-1/etcd.data/member/wal",
-		HeartbeatIntervalMs:      100,
-		ElectionTimeoutMs:        1000,
-		ListenClientURLs:         []string{"127.0.0.1:1379"},
-		AdvertiseClientURLs:      []string{"127.0.0.1:13790"},
+		Name:    "s1",
+		DataDir: "/tmp/etcd-agent-data-1/etcd.data",
+		WALDir:  "/tmp/etcd-agent-data-1/etcd.data/member/wal",
+
+		HeartbeatIntervalMs: 100,
+		ElectionTimeoutMs:   1000,
+
+		ListenClientURLs:    []string{"127.0.0.1:1379"},
+		AdvertiseClientURLs: []string{"127.0.0.1:13790"},
+		ClientAutoTLS:       true,
+		ClientCertAuth:      false,
+		ClientCertFile:      "",
+		ClientKeyFile:       "",
+		ClientTrustedCAFile: "",
+
 		ListenPeerURLs:           []string{"127.0.0.1:1380"},
 		InitialAdvertisePeerURLs: []string{"127.0.0.1:13800"},
-		InitialCluster:           "s1=127.0.0.1:13800,s2=127.0.0.1:23800,s3=127.0.0.1:33800",
-		InitialClusterState:      "new",
-		InitialClusterToken:      "tkn",
-		SnapshotCount:            10000,
-		QuotaBackendBytes:        10740000000,
-		PreVote:                  true,
-		InitialCorruptCheck:      true,
+		PeerAutoTLS:              true,
+		PeerClientCertAuth:       false,
+		PeerCertFile:             "",
+		PeerKeyFile:              "",
+		PeerTrustedCAFile:        "",
+
+		InitialCluster:      "s1=127.0.0.1:13800,s2=127.0.0.1:23800,s3=127.0.0.1:33800",
+		InitialClusterState: "new",
+		InitialClusterToken: "tkn",
+
+		SnapshotCount:     10000,
+		QuotaBackendBytes: 10740000000,
+
+		PreVote:             true,
+		InitialCorruptCheck: true,
 	}
+
 	exp := []string{
 		"--name=s1",
 		"--data-dir=/tmp/etcd-agent-data-1/etcd.data",
@@ -46,8 +63,12 @@ func TestEtcdFlags(t *testing.T) {
 		"--election-timeout=1000",
 		"--listen-client-urls=127.0.0.1:1379",
 		"--advertise-client-urls=127.0.0.1:13790",
+		"--auto-tls=true",
+		"--client-cert-auth=false",
 		"--listen-peer-urls=127.0.0.1:1380",
 		"--initial-advertise-peer-urls=127.0.0.1:13800",
+		"--peer-auto-tls=true",
+		"--peer-client-cert-auth=false",
 		"--initial-cluster=s1=127.0.0.1:13800,s2=127.0.0.1:23800,s3=127.0.0.1:33800",
 		"--initial-cluster-state=new",
 		"--initial-cluster-token=tkn",

+ 573 - 165
tools/functional-tester/rpcpb/rpc.pb.go

@@ -237,15 +237,25 @@ type Etcd struct {
 	ElectionTimeoutMs        int64    `protobuf:"varint,12,opt,name=ElectionTimeoutMs,proto3" json:"ElectionTimeoutMs,omitempty" yaml:"election-timeout"`
 	ListenClientURLs         []string `protobuf:"bytes,21,rep,name=ListenClientURLs" json:"ListenClientURLs,omitempty" yaml:"listen-client-urls"`
 	AdvertiseClientURLs      []string `protobuf:"bytes,22,rep,name=AdvertiseClientURLs" json:"AdvertiseClientURLs,omitempty" yaml:"advertise-client-urls"`
-	ListenPeerURLs           []string `protobuf:"bytes,23,rep,name=ListenPeerURLs" json:"ListenPeerURLs,omitempty" yaml:"listen-peer-urls"`
-	InitialAdvertisePeerURLs []string `protobuf:"bytes,24,rep,name=InitialAdvertisePeerURLs" json:"InitialAdvertisePeerURLs,omitempty" yaml:"initial-advertise-peer-urls"`
-	InitialCluster           string   `protobuf:"bytes,31,opt,name=InitialCluster,proto3" json:"InitialCluster,omitempty" yaml:"initial-cluster"`
-	InitialClusterState      string   `protobuf:"bytes,32,opt,name=InitialClusterState,proto3" json:"InitialClusterState,omitempty" yaml:"initial-cluster-state"`
-	InitialClusterToken      string   `protobuf:"bytes,33,opt,name=InitialClusterToken,proto3" json:"InitialClusterToken,omitempty" yaml:"initial-cluster-token"`
-	SnapshotCount            int64    `protobuf:"varint,41,opt,name=SnapshotCount,proto3" json:"SnapshotCount,omitempty" yaml:"snapshot-count"`
-	QuotaBackendBytes        int64    `protobuf:"varint,42,opt,name=QuotaBackendBytes,proto3" json:"QuotaBackendBytes,omitempty" yaml:"quota-backend-bytes"`
-	PreVote                  bool     `protobuf:"varint,43,opt,name=PreVote,proto3" json:"PreVote,omitempty" yaml:"pre-vote"`
-	InitialCorruptCheck      bool     `protobuf:"varint,44,opt,name=InitialCorruptCheck,proto3" json:"InitialCorruptCheck,omitempty" yaml:"initial-corrupt-check"`
+	ClientAutoTLS            bool     `protobuf:"varint,23,opt,name=ClientAutoTLS,proto3" json:"ClientAutoTLS,omitempty" yaml:"auto-tls"`
+	ClientCertAuth           bool     `protobuf:"varint,24,opt,name=ClientCertAuth,proto3" json:"ClientCertAuth,omitempty" yaml:"client-cert-auth"`
+	ClientCertFile           string   `protobuf:"bytes,25,opt,name=ClientCertFile,proto3" json:"ClientCertFile,omitempty" yaml:"cert-file"`
+	ClientKeyFile            string   `protobuf:"bytes,26,opt,name=ClientKeyFile,proto3" json:"ClientKeyFile,omitempty" yaml:"key-file"`
+	ClientTrustedCAFile      string   `protobuf:"bytes,27,opt,name=ClientTrustedCAFile,proto3" json:"ClientTrustedCAFile,omitempty" yaml:"trusted-ca-file"`
+	ListenPeerURLs           []string `protobuf:"bytes,31,rep,name=ListenPeerURLs" json:"ListenPeerURLs,omitempty" yaml:"listen-peer-urls"`
+	InitialAdvertisePeerURLs []string `protobuf:"bytes,32,rep,name=InitialAdvertisePeerURLs" json:"InitialAdvertisePeerURLs,omitempty" yaml:"initial-advertise-peer-urls"`
+	PeerAutoTLS              bool     `protobuf:"varint,33,opt,name=PeerAutoTLS,proto3" json:"PeerAutoTLS,omitempty" yaml:"peer-auto-tls"`
+	PeerClientCertAuth       bool     `protobuf:"varint,34,opt,name=PeerClientCertAuth,proto3" json:"PeerClientCertAuth,omitempty" yaml:"peer-client-cert-auth"`
+	PeerCertFile             string   `protobuf:"bytes,35,opt,name=PeerCertFile,proto3" json:"PeerCertFile,omitempty" yaml:"peer-cert-file"`
+	PeerKeyFile              string   `protobuf:"bytes,36,opt,name=PeerKeyFile,proto3" json:"PeerKeyFile,omitempty" yaml:"peer-key-file"`
+	PeerTrustedCAFile        string   `protobuf:"bytes,37,opt,name=PeerTrustedCAFile,proto3" json:"PeerTrustedCAFile,omitempty" yaml:"peer-trusted-ca-file"`
+	InitialCluster           string   `protobuf:"bytes,41,opt,name=InitialCluster,proto3" json:"InitialCluster,omitempty" yaml:"initial-cluster"`
+	InitialClusterState      string   `protobuf:"bytes,42,opt,name=InitialClusterState,proto3" json:"InitialClusterState,omitempty" yaml:"initial-cluster-state"`
+	InitialClusterToken      string   `protobuf:"bytes,43,opt,name=InitialClusterToken,proto3" json:"InitialClusterToken,omitempty" yaml:"initial-cluster-token"`
+	SnapshotCount            int64    `protobuf:"varint,51,opt,name=SnapshotCount,proto3" json:"SnapshotCount,omitempty" yaml:"snapshot-count"`
+	QuotaBackendBytes        int64    `protobuf:"varint,52,opt,name=QuotaBackendBytes,proto3" json:"QuotaBackendBytes,omitempty" yaml:"quota-backend-bytes"`
+	PreVote                  bool     `protobuf:"varint,63,opt,name=PreVote,proto3" json:"PreVote,omitempty" yaml:"pre-vote"`
+	InitialCorruptCheck      bool     `protobuf:"varint,64,opt,name=InitialCorruptCheck,proto3" json:"InitialCorruptCheck,omitempty" yaml:"initial-corrupt-check"`
 }
 
 func (m *Etcd) Reset()                    { *m = Etcd{} }
@@ -557,9 +567,57 @@ func (m *Etcd) MarshalTo(dAtA []byte) (int, error) {
 			i += copy(dAtA[i:], s)
 		}
 	}
+	if m.ClientAutoTLS {
+		dAtA[i] = 0xb8
+		i++
+		dAtA[i] = 0x1
+		i++
+		if m.ClientAutoTLS {
+			dAtA[i] = 1
+		} else {
+			dAtA[i] = 0
+		}
+		i++
+	}
+	if m.ClientCertAuth {
+		dAtA[i] = 0xc0
+		i++
+		dAtA[i] = 0x1
+		i++
+		if m.ClientCertAuth {
+			dAtA[i] = 1
+		} else {
+			dAtA[i] = 0
+		}
+		i++
+	}
+	if len(m.ClientCertFile) > 0 {
+		dAtA[i] = 0xca
+		i++
+		dAtA[i] = 0x1
+		i++
+		i = encodeVarintRpc(dAtA, i, uint64(len(m.ClientCertFile)))
+		i += copy(dAtA[i:], m.ClientCertFile)
+	}
+	if len(m.ClientKeyFile) > 0 {
+		dAtA[i] = 0xd2
+		i++
+		dAtA[i] = 0x1
+		i++
+		i = encodeVarintRpc(dAtA, i, uint64(len(m.ClientKeyFile)))
+		i += copy(dAtA[i:], m.ClientKeyFile)
+	}
+	if len(m.ClientTrustedCAFile) > 0 {
+		dAtA[i] = 0xda
+		i++
+		dAtA[i] = 0x1
+		i++
+		i = encodeVarintRpc(dAtA, i, uint64(len(m.ClientTrustedCAFile)))
+		i += copy(dAtA[i:], m.ClientTrustedCAFile)
+	}
 	if len(m.ListenPeerURLs) > 0 {
 		for _, s := range m.ListenPeerURLs {
-			dAtA[i] = 0xba
+			dAtA[i] = 0xfa
 			i++
 			dAtA[i] = 0x1
 			i++
@@ -576,9 +634,9 @@ func (m *Etcd) MarshalTo(dAtA []byte) (int, error) {
 	}
 	if len(m.InitialAdvertisePeerURLs) > 0 {
 		for _, s := range m.InitialAdvertisePeerURLs {
-			dAtA[i] = 0xc2
+			dAtA[i] = 0x82
 			i++
-			dAtA[i] = 0x1
+			dAtA[i] = 0x2
 			i++
 			l = len(s)
 			for l >= 1<<7 {
@@ -591,16 +649,64 @@ func (m *Etcd) MarshalTo(dAtA []byte) (int, error) {
 			i += copy(dAtA[i:], s)
 		}
 	}
+	if m.PeerAutoTLS {
+		dAtA[i] = 0x88
+		i++
+		dAtA[i] = 0x2
+		i++
+		if m.PeerAutoTLS {
+			dAtA[i] = 1
+		} else {
+			dAtA[i] = 0
+		}
+		i++
+	}
+	if m.PeerClientCertAuth {
+		dAtA[i] = 0x90
+		i++
+		dAtA[i] = 0x2
+		i++
+		if m.PeerClientCertAuth {
+			dAtA[i] = 1
+		} else {
+			dAtA[i] = 0
+		}
+		i++
+	}
+	if len(m.PeerCertFile) > 0 {
+		dAtA[i] = 0x9a
+		i++
+		dAtA[i] = 0x2
+		i++
+		i = encodeVarintRpc(dAtA, i, uint64(len(m.PeerCertFile)))
+		i += copy(dAtA[i:], m.PeerCertFile)
+	}
+	if len(m.PeerKeyFile) > 0 {
+		dAtA[i] = 0xa2
+		i++
+		dAtA[i] = 0x2
+		i++
+		i = encodeVarintRpc(dAtA, i, uint64(len(m.PeerKeyFile)))
+		i += copy(dAtA[i:], m.PeerKeyFile)
+	}
+	if len(m.PeerTrustedCAFile) > 0 {
+		dAtA[i] = 0xaa
+		i++
+		dAtA[i] = 0x2
+		i++
+		i = encodeVarintRpc(dAtA, i, uint64(len(m.PeerTrustedCAFile)))
+		i += copy(dAtA[i:], m.PeerTrustedCAFile)
+	}
 	if len(m.InitialCluster) > 0 {
-		dAtA[i] = 0xfa
+		dAtA[i] = 0xca
 		i++
-		dAtA[i] = 0x1
+		dAtA[i] = 0x2
 		i++
 		i = encodeVarintRpc(dAtA, i, uint64(len(m.InitialCluster)))
 		i += copy(dAtA[i:], m.InitialCluster)
 	}
 	if len(m.InitialClusterState) > 0 {
-		dAtA[i] = 0x82
+		dAtA[i] = 0xd2
 		i++
 		dAtA[i] = 0x2
 		i++
@@ -608,7 +714,7 @@ func (m *Etcd) MarshalTo(dAtA []byte) (int, error) {
 		i += copy(dAtA[i:], m.InitialClusterState)
 	}
 	if len(m.InitialClusterToken) > 0 {
-		dAtA[i] = 0x8a
+		dAtA[i] = 0xda
 		i++
 		dAtA[i] = 0x2
 		i++
@@ -616,23 +722,23 @@ func (m *Etcd) MarshalTo(dAtA []byte) (int, error) {
 		i += copy(dAtA[i:], m.InitialClusterToken)
 	}
 	if m.SnapshotCount != 0 {
-		dAtA[i] = 0xc8
+		dAtA[i] = 0x98
 		i++
-		dAtA[i] = 0x2
+		dAtA[i] = 0x3
 		i++
 		i = encodeVarintRpc(dAtA, i, uint64(m.SnapshotCount))
 	}
 	if m.QuotaBackendBytes != 0 {
-		dAtA[i] = 0xd0
+		dAtA[i] = 0xa0
 		i++
-		dAtA[i] = 0x2
+		dAtA[i] = 0x3
 		i++
 		i = encodeVarintRpc(dAtA, i, uint64(m.QuotaBackendBytes))
 	}
 	if m.PreVote {
-		dAtA[i] = 0xd8
+		dAtA[i] = 0xf8
 		i++
-		dAtA[i] = 0x2
+		dAtA[i] = 0x3
 		i++
 		if m.PreVote {
 			dAtA[i] = 1
@@ -642,9 +748,9 @@ func (m *Etcd) MarshalTo(dAtA []byte) (int, error) {
 		i++
 	}
 	if m.InitialCorruptCheck {
-		dAtA[i] = 0xe0
+		dAtA[i] = 0x80
 		i++
-		dAtA[i] = 0x2
+		dAtA[i] = 0x4
 		i++
 		if m.InitialCorruptCheck {
 			dAtA[i] = 1
@@ -1106,6 +1212,24 @@ func (m *Etcd) Size() (n int) {
 			n += 2 + l + sovRpc(uint64(l))
 		}
 	}
+	if m.ClientAutoTLS {
+		n += 3
+	}
+	if m.ClientCertAuth {
+		n += 3
+	}
+	l = len(m.ClientCertFile)
+	if l > 0 {
+		n += 2 + l + sovRpc(uint64(l))
+	}
+	l = len(m.ClientKeyFile)
+	if l > 0 {
+		n += 2 + l + sovRpc(uint64(l))
+	}
+	l = len(m.ClientTrustedCAFile)
+	if l > 0 {
+		n += 2 + l + sovRpc(uint64(l))
+	}
 	if len(m.ListenPeerURLs) > 0 {
 		for _, s := range m.ListenPeerURLs {
 			l = len(s)
@@ -1118,6 +1242,24 @@ func (m *Etcd) Size() (n int) {
 			n += 2 + l + sovRpc(uint64(l))
 		}
 	}
+	if m.PeerAutoTLS {
+		n += 3
+	}
+	if m.PeerClientCertAuth {
+		n += 3
+	}
+	l = len(m.PeerCertFile)
+	if l > 0 {
+		n += 2 + l + sovRpc(uint64(l))
+	}
+	l = len(m.PeerKeyFile)
+	if l > 0 {
+		n += 2 + l + sovRpc(uint64(l))
+	}
+	l = len(m.PeerTrustedCAFile)
+	if l > 0 {
+		n += 2 + l + sovRpc(uint64(l))
+	}
 	l = len(m.InitialCluster)
 	if l > 0 {
 		n += 2 + l + sovRpc(uint64(l))
@@ -1532,6 +1674,133 @@ func (m *Etcd) Unmarshal(dAtA []byte) error {
 			m.AdvertiseClientURLs = append(m.AdvertiseClientURLs, string(dAtA[iNdEx:postIndex]))
 			iNdEx = postIndex
 		case 23:
+			if wireType != 0 {
+				return fmt.Errorf("proto: wrong wireType = %d for field ClientAutoTLS", wireType)
+			}
+			var v int
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowRpc
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				v |= (int(b) & 0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			m.ClientAutoTLS = bool(v != 0)
+		case 24:
+			if wireType != 0 {
+				return fmt.Errorf("proto: wrong wireType = %d for field ClientCertAuth", wireType)
+			}
+			var v int
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowRpc
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				v |= (int(b) & 0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			m.ClientCertAuth = bool(v != 0)
+		case 25:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field ClientCertFile", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowRpc
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= (uint64(b) & 0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthRpc
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.ClientCertFile = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 26:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field ClientKeyFile", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowRpc
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= (uint64(b) & 0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthRpc
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.ClientKeyFile = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 27:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field ClientTrustedCAFile", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowRpc
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= (uint64(b) & 0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthRpc
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.ClientTrustedCAFile = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 31:
 			if wireType != 2 {
 				return fmt.Errorf("proto: wrong wireType = %d for field ListenPeerURLs", wireType)
 			}
@@ -1560,7 +1829,7 @@ func (m *Etcd) Unmarshal(dAtA []byte) error {
 			}
 			m.ListenPeerURLs = append(m.ListenPeerURLs, string(dAtA[iNdEx:postIndex]))
 			iNdEx = postIndex
-		case 24:
+		case 32:
 			if wireType != 2 {
 				return fmt.Errorf("proto: wrong wireType = %d for field InitialAdvertisePeerURLs", wireType)
 			}
@@ -1589,7 +1858,134 @@ func (m *Etcd) Unmarshal(dAtA []byte) error {
 			}
 			m.InitialAdvertisePeerURLs = append(m.InitialAdvertisePeerURLs, string(dAtA[iNdEx:postIndex]))
 			iNdEx = postIndex
-		case 31:
+		case 33:
+			if wireType != 0 {
+				return fmt.Errorf("proto: wrong wireType = %d for field PeerAutoTLS", wireType)
+			}
+			var v int
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowRpc
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				v |= (int(b) & 0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			m.PeerAutoTLS = bool(v != 0)
+		case 34:
+			if wireType != 0 {
+				return fmt.Errorf("proto: wrong wireType = %d for field PeerClientCertAuth", wireType)
+			}
+			var v int
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowRpc
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				v |= (int(b) & 0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			m.PeerClientCertAuth = bool(v != 0)
+		case 35:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field PeerCertFile", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowRpc
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= (uint64(b) & 0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthRpc
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.PeerCertFile = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 36:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field PeerKeyFile", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowRpc
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= (uint64(b) & 0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthRpc
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.PeerKeyFile = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 37:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field PeerTrustedCAFile", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowRpc
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= (uint64(b) & 0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthRpc
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.PeerTrustedCAFile = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 41:
 			if wireType != 2 {
 				return fmt.Errorf("proto: wrong wireType = %d for field InitialCluster", wireType)
 			}
@@ -1618,7 +2014,7 @@ func (m *Etcd) Unmarshal(dAtA []byte) error {
 			}
 			m.InitialCluster = string(dAtA[iNdEx:postIndex])
 			iNdEx = postIndex
-		case 32:
+		case 42:
 			if wireType != 2 {
 				return fmt.Errorf("proto: wrong wireType = %d for field InitialClusterState", wireType)
 			}
@@ -1647,7 +2043,7 @@ func (m *Etcd) Unmarshal(dAtA []byte) error {
 			}
 			m.InitialClusterState = string(dAtA[iNdEx:postIndex])
 			iNdEx = postIndex
-		case 33:
+		case 43:
 			if wireType != 2 {
 				return fmt.Errorf("proto: wrong wireType = %d for field InitialClusterToken", wireType)
 			}
@@ -1676,7 +2072,7 @@ func (m *Etcd) Unmarshal(dAtA []byte) error {
 			}
 			m.InitialClusterToken = string(dAtA[iNdEx:postIndex])
 			iNdEx = postIndex
-		case 41:
+		case 51:
 			if wireType != 0 {
 				return fmt.Errorf("proto: wrong wireType = %d for field SnapshotCount", wireType)
 			}
@@ -1695,7 +2091,7 @@ func (m *Etcd) Unmarshal(dAtA []byte) error {
 					break
 				}
 			}
-		case 42:
+		case 52:
 			if wireType != 0 {
 				return fmt.Errorf("proto: wrong wireType = %d for field QuotaBackendBytes", wireType)
 			}
@@ -1714,7 +2110,7 @@ func (m *Etcd) Unmarshal(dAtA []byte) error {
 					break
 				}
 			}
-		case 43:
+		case 63:
 			if wireType != 0 {
 				return fmt.Errorf("proto: wrong wireType = %d for field PreVote", wireType)
 			}
@@ -1734,7 +2130,7 @@ func (m *Etcd) Unmarshal(dAtA []byte) error {
 				}
 			}
 			m.PreVote = bool(v != 0)
-		case 44:
+		case 64:
 			if wireType != 0 {
 				return fmt.Errorf("proto: wrong wireType = %d for field InitialCorruptCheck", wireType)
 			}
@@ -2995,137 +3391,149 @@ var (
 func init() { proto.RegisterFile("rpcpb/rpc.proto", fileDescriptorRpc) }
 
 var fileDescriptorRpc = []byte{
-	// 2099 bytes of a gzipped FileDescriptorProto
-	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x58, 0x5b, 0x77, 0xdb, 0x58,
-	0x15, 0x8e, 0x92, 0x26, 0x4d, 0x4e, 0x6e, 0xea, 0x49, 0xd3, 0xa8, 0x97, 0x89, 0x52, 0x95, 0x96,
-	0x34, 0x8c, 0x52, 0x68, 0x59, 0xc0, 0x94, 0x19, 0x3a, 0x8e, 0xa3, 0x36, 0x26, 0x8a, 0xed, 0x1e,
-	0x2b, 0x6d, 0xe7, 0xc9, 0xc8, 0xd2, 0xb1, 0x2d, 0xa2, 0x48, 0xaa, 0x74, 0x9c, 0x71, 0xe6, 0x0f,
-	0xb0, 0x78, 0xe3, 0x91, 0x1f, 0xc1, 0xfc, 0x8f, 0xce, 0x05, 0x18, 0xe0, 0x8d, 0x07, 0x03, 0x65,
-	0xb1, 0x16, 0xcf, 0x5e, 0xfc, 0x00, 0xd6, 0xb9, 0xd8, 0x96, 0x7c, 0x49, 0xfb, 0x96, 0xb3, 0xf7,
-	0xf7, 0x7d, 0xda, 0x67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0x00, 0x00, 0xff, 0xff, 0x2d, 0x31, 0xfa, 0xc2, 0x7d,
-	0x14, 0x00, 0x00,
+	// 2292 bytes of a gzipped FileDescriptorProto
+	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x58, 0xdd, 0x56, 0xdb, 0xd8,
+	0xf5, 0x47, 0x10, 0x18, 0x38, 0x7c, 0x39, 0x87, 0x10, 0x94, 0x64, 0x06, 0x11, 0x65, 0x92, 0x3f,
+	0xc3, 0xbf, 0x22, 0x6d, 0x32, 0xab, 0x6d, 0xd2, 0x4c, 0x13, 0x63, 0x94, 0xe0, 0x22, 0x6c, 0xe7,
+	0x58, 0x24, 0x99, 0x2b, 0x57, 0x96, 0x8f, 0xb1, 0x8a, 0x90, 0x1c, 0xe9, 0x98, 0x31, 0xf3, 0x02,
+	0xb3, 0x7a, 0xd7, 0xcb, 0x3e, 0x44, 0xe7, 0x3d, 0x32, 0x1f, 0x6d, 0xa7, 0xed, 0x5d, 0x2f, 0xdc,
+	0x36, 0x5d, 0x7d, 0x01, 0xaf, 0x3e, 0x40, 0xd7, 0xf9, 0x10, 0x3e, 0x92, 0x6d, 0x92, 0x3b, 0xb4,
+	0xf7, 0xef, 0xf7, 0xd3, 0x39, 0x7b, 0x6f, 0xed, 0xbd, 0x0d, 0x58, 0x8e, 0xda, 0x6e, 0xbb, 0x7e,
+	0x37, 0x6a, 0xbb, 0xdb, 0xed, 0x28, 0x24, 0x21, 0x9c, 0x66, 0x86, 0xeb, 0xc6, 0x91, 0x47, 0x5a,
+	0x9d, 0xfa, 0xb6, 0x1b, 0x9e, 0xdc, 0x3d, 0x0a, 0x8f, 0xc2, 0xbb, 0xcc, 0x5b, 0xef, 0x34, 0xd9,
+	0x13, 0x7b, 0x60, 0x7f, 0x71, 0x96, 0xfe, 0xd5, 0x12, 0xb8, 0x64, 0x12, 0xb7, 0x01, 0x6f, 0x81,
+	0x4b, 0x25, 0xe7, 0x04, 0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0xf6, 0x05, 0x38, 0x03, 0x26, 0xf7,
+	0x5f, 0xe4, 0x26, 0xe0, 0x1c, 0x98, 0xb6, 0xcc, 0x7c, 0xd5, 0xcc, 0x29, 0x70, 0x05, 0x2c, 0x9b,
+	0x96, 0x59, 0xb0, 0x8b, 0xe5, 0x52, 0x0d, 0x1d, 0x96, 0x4a, 0xac, 0x6f, 0xe4, 0xc0, 0xc2, 0xcb,
+	0xbc, 0x5d, 0xd8, 0x4b, 0x2c, 0x53, 0xb4, 0x3f, 0x59, 0xe5, 0xc2, 0x7e, 0x0d, 0xe5, 0x0b, 0x26,
+	0x4a, 0xcc, 0x97, 0x28, 0x90, 0x09, 0x25, 0x96, 0xe9, 0x7b, 0x8f, 0xc1, 0x9c, 0x1d, 0x39, 0x41,
+	0xdc, 0x0e, 0x23, 0x02, 0xef, 0xc9, 0x0f, 0x4b, 0x62, 0x52, 0x88, 0x01, 0x75, 0x7d, 0xf9, 0xfc,
+	0x99, 0xcf, 0x09, 0x7d, 0x62, 0x53, 0xf9, 0xb1, 0xb2, 0x73, 0xe5, 0xcd, 0xbf, 0xd6, 0x27, 0xde,
+	0xbc, 0x5d, 0x57, 0x7e, 0x78, 0xbb, 0xae, 0xfc, 0xf3, 0xed, 0xba, 0xf2, 0xfb, 0x7f, 0xaf, 0x4f,
+	0xd4, 0x67, 0xd8, 0xff, 0xb4, 0xef, 0xff, 0x2f, 0x00, 0x00, 0xff, 0xff, 0x02, 0xb3, 0xfd, 0x10,
+	0x1c, 0x17, 0x00, 0x00,
 }

+ 23 - 14
tools/functional-tester/rpcpb/rpc.proto

@@ -48,20 +48,29 @@ message Etcd {
 
   repeated string ListenClientURLs = 21 [(gogoproto.moretags) = "yaml:\"listen-client-urls\""];
   repeated string AdvertiseClientURLs = 22 [(gogoproto.moretags) = "yaml:\"advertise-client-urls\""];
-  repeated string ListenPeerURLs = 23 [(gogoproto.moretags) = "yaml:\"listen-peer-urls\""];
-  repeated string InitialAdvertisePeerURLs = 24 [(gogoproto.moretags) = "yaml:\"initial-advertise-peer-urls\""];
-
-  string InitialCluster = 31 [(gogoproto.moretags) = "yaml:\"initial-cluster\""];
-  string InitialClusterState = 32 [(gogoproto.moretags) = "yaml:\"initial-cluster-state\""];
-  string InitialClusterToken = 33 [(gogoproto.moretags) = "yaml:\"initial-cluster-token\""];
-
-  int64 SnapshotCount = 41 [(gogoproto.moretags) = "yaml:\"snapshot-count\""];
-  int64 QuotaBackendBytes = 42 [(gogoproto.moretags) = "yaml:\"quota-backend-bytes\""];
-
-  bool PreVote = 43 [(gogoproto.moretags) = "yaml:\"pre-vote\""];
-  bool InitialCorruptCheck = 44 [(gogoproto.moretags) = "yaml:\"initial-corrupt-check\""];
-
-  // TODO: support TLS
+  bool ClientAutoTLS = 23 [(gogoproto.moretags) = "yaml:\"auto-tls\""];
+  bool ClientCertAuth = 24 [(gogoproto.moretags) = "yaml:\"client-cert-auth\""];
+  string ClientCertFile = 25 [(gogoproto.moretags) = "yaml:\"cert-file\""];
+  string ClientKeyFile = 26 [(gogoproto.moretags) = "yaml:\"key-file\""];
+  string ClientTrustedCAFile = 27 [(gogoproto.moretags) = "yaml:\"trusted-ca-file\""];
+
+  repeated string ListenPeerURLs = 31 [(gogoproto.moretags) = "yaml:\"listen-peer-urls\""];
+  repeated string InitialAdvertisePeerURLs = 32 [(gogoproto.moretags) = "yaml:\"initial-advertise-peer-urls\""];
+  bool PeerAutoTLS = 33 [(gogoproto.moretags) = "yaml:\"peer-auto-tls\""];
+  bool PeerClientCertAuth = 34 [(gogoproto.moretags) = "yaml:\"peer-client-cert-auth\""];
+  string PeerCertFile = 35 [(gogoproto.moretags) = "yaml:\"peer-cert-file\""];
+  string PeerKeyFile = 36 [(gogoproto.moretags) = "yaml:\"peer-key-file\""];
+  string PeerTrustedCAFile = 37 [(gogoproto.moretags) = "yaml:\"peer-trusted-ca-file\""];
+
+  string InitialCluster = 41 [(gogoproto.moretags) = "yaml:\"initial-cluster\""];
+  string InitialClusterState = 42 [(gogoproto.moretags) = "yaml:\"initial-cluster-state\""];
+  string InitialClusterToken = 43 [(gogoproto.moretags) = "yaml:\"initial-cluster-token\""];
+
+  int64 SnapshotCount = 51 [(gogoproto.moretags) = "yaml:\"snapshot-count\""];
+  int64 QuotaBackendBytes = 52 [(gogoproto.moretags) = "yaml:\"quota-backend-bytes\""];
+
+  bool PreVote = 63 [(gogoproto.moretags) = "yaml:\"pre-vote\""];
+  bool InitialCorruptCheck = 64 [(gogoproto.moretags) = "yaml:\"initial-corrupt-check\""];
 }
 
 message Member {