Skip to content

Commit 26d0254

Browse files
author
Dongming
committed
[FAB-3559] submit Performance Traffic Engine (PTE)
FAB-3559, FAB-3474, FAB-3498, FAB-3476, FAB-3126 Refer to the README.md for detail description of this tool Per agreement of Chris, Binh, Greg, Barry and others, I am contributing this fully functional tool as a large patch to the community for immediate use. Change-Id: I30a327fd43c523e496d425c02abce7da0381e440 Signed-off-by: Dongming <[email protected]>
1 parent 8f6a632 commit 26d0254

File tree

69 files changed

+6742
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+6742
-2
lines changed

test/tools/PTE/README.md

+551
Large diffs are not rendered by default.

test/tools/PTE/README.rst

-2
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
{
2+
"test-network": {
3+
"orderer": {
4+
"name": "OrdererOrg1",
5+
"mspid": "OrdererOrg1",
6+
"mspPath": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config",
7+
"adminPath": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config/ordererOrganizations/example.com/users/[email protected]/msp",
8+
"url": "grpcs://10.120.223.35:5005",
9+
"server-hostname": "orderer1.example.com",
10+
"tls_cacerts": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config/ordererOrganizations/example.com/orderers/orderer1.example.com/msp/cacerts/ca.example.com-cert.pem"
11+
},
12+
"org1": {
13+
"name": "PeerOrg1",
14+
"mspid": "PeerOrg1",
15+
"mspPath": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config",
16+
"adminPath": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config/peerOrganizations/org1.example.com/users/[email protected]/msp",
17+
"ca": {
18+
"url":"https://10.120.223.35:7054",
19+
"name": "ca-org1"
20+
},
21+
"username": "admin",
22+
"secret": "adminpw",
23+
"peer1": {
24+
"requests": "grpcs://10.120.223.35:7061",
25+
"events": "grpcs://10.120.223.35:6051",
26+
"server-hostname": "peer0.org1.example.com",
27+
"tls_cacerts": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/cacerts/ca.org1.example.com-cert.pem"
28+
},
29+
"peer2": {
30+
"requests": "grpcs://10.120.223.35:7062",
31+
"events": "grpcs://10.120.223.35:6052",
32+
"server-hostname": "peer1.org1.example.com",
33+
"tls_cacerts": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/msp/cacerts/ca.org1.example.com-cert.pem"
34+
}
35+
},
36+
"org2": {
37+
"name": "PeerOrg2",
38+
"mspid": "PeerOrg2",
39+
"mspPath": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config",
40+
"adminPath": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config/peerOrganizations/org2.example.com/users/[email protected]/msp",
41+
"ca": {
42+
"url":"https://10.120.223.35:7055",
43+
"name": "ca-org2"
44+
},
45+
"username": "admin",
46+
"secret": "adminpw",
47+
"peer1": {
48+
"requests": "grpcs://10.120.223.35:7063",
49+
"events": "grpcs://10.120.223.35:6053",
50+
"server-hostname": "peer0.org2.example.com",
51+
"tls_cacerts": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/cacerts/ca.org2.example.com-cert.pem"
52+
},
53+
"peer2": {
54+
"requests": "grpcs://10.120.223.35:7064",
55+
"events": "grpcs://10.120.223.35:6054",
56+
"server-hostname": "peer1.org2.example.com",
57+
"tls_cacerts": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/msp/cacerts/ca.org2.example.com-cert.pem"
58+
}
59+
}
60+
}
61+
62+
}
+62
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
{
2+
"test-network": {
3+
"orderer": {
4+
"name": "OrdererOrg1",
5+
"mspid": "OrdererOrg1",
6+
"mspPath": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config",
7+
"adminPath": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config/ordererOrganizations/orderer1.example.com/users/[email protected]/msp",
8+
"url": "grpc://10.120.223.35:5005",
9+
"server-hostname": "orderer0",
10+
"tls_cacerts": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config/ordererOrganizations/orderer1.example.com/orderers/orderer1.orderer1.example.com/tls/ca-cert.pem"
11+
},
12+
"org1": {
13+
"name": "PeerOrg1",
14+
"mspid": "PeerOrg1",
15+
"mspPath": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config",
16+
"adminPath": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config/peerOrganizations/org1.example.com/users/[email protected]/msp",
17+
"ca": {
18+
"url":"http://10.120.223.35:7054",
19+
"name": "ca-org1"
20+
},
21+
"username": "admin",
22+
"secret": "adminpw",
23+
"peer1": {
24+
"requests": "grpc://10.120.223.35:7061",
25+
"events": "grpc://10.120.223.35:6051",
26+
"server-hostname": "peer0",
27+
"tls_cacerts": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca-cert.pem"
28+
},
29+
"peer2": {
30+
"requests": "grpc://10.120.223.35:7062",
31+
"events": "grpc://10.120.223.35:6052",
32+
"server-hostname": "peer1",
33+
"tls_cacerts": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/tls/ca-cert.pem"
34+
}
35+
},
36+
"org2": {
37+
"name": "PeerOrg2",
38+
"mspid": "PeerOrg2",
39+
"mspPath": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config",
40+
"adminPath": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config/peerOrganizations/org2.example.com/users/[email protected]/msp",
41+
"ca": {
42+
"url":"http://10.120.223.35:7055",
43+
"name": "ca-org2"
44+
},
45+
"username": "admin",
46+
"secret": "adminpw",
47+
"peer1": {
48+
"requests": "grpc://10.120.223.35:7063",
49+
"events": "grpc://10.120.223.35:6053",
50+
"server-hostname": "peer2",
51+
"tls_cacerts": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca-cert.pem"
52+
},
53+
"peer2": {
54+
"requests": "grpc://10.120.223.35:7064",
55+
"events": "grpc://10.120.223.35:6054",
56+
"server-hostname": "peer3",
57+
"tls_cacerts": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/tls/ca-cert.pem"
58+
}
59+
}
60+
}
61+
62+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
{
2+
"test-network": {
3+
"orderer": {
4+
"name": "OrdererOrg1",
5+
"mspid": "OrdererOrg1",
6+
"mspPath": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config",
7+
"adminPath": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config/ordererOrganizations/example.com/users/[email protected]/msp",
8+
"url": "grpcs://10.120.223.35:5005",
9+
"server-hostname": "orderer1.example.com",
10+
"tls_cacerts": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config/ordererOrganizations/example.com/orderers/orderer1.example.com/msp/cacerts/ca.example.com-cert.pem"
11+
},
12+
"org1": {
13+
"name": "PeerOrg1",
14+
"mspid": "PeerOrg1",
15+
"mspPath": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config",
16+
"adminPath": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config/peerOrganizations/org1.example.com/users/[email protected]/msp",
17+
"ca": {
18+
"url":"https://10.120.223.35:7054",
19+
"name": "ca-org1"
20+
},
21+
"username": "admin",
22+
"secret": "adminpw",
23+
"peer1": {
24+
"requests": "grpcs://10.120.223.35:7061",
25+
"events": "grpcs://10.120.223.35:6051",
26+
"server-hostname": "peer0.org1.example.com",
27+
"tls_cacerts": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/cacerts/ca.org1.example.com-cert.pem"
28+
},
29+
"peer2": {
30+
"requests": "grpcs://10.120.223.35:7062",
31+
"events": "grpcs://10.120.223.35:6052",
32+
"server-hostname": "peer1.org1.example.com",
33+
"tls_cacerts": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/msp/cacerts/ca.org1.example.com-cert.pem"
34+
}
35+
},
36+
"org2": {
37+
"name": "PeerOrg2",
38+
"mspid": "PeerOrg2",
39+
"mspPath": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config",
40+
"adminPath": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config/peerOrganizations/org2.example.com/users/[email protected]/msp",
41+
"ca": {
42+
"url":"https://10.120.223.35:7055",
43+
"name": "ca-org2"
44+
},
45+
"username": "admin",
46+
"secret": "adminpw",
47+
"peer1": {
48+
"requests": "grpcs://10.120.223.35:7063",
49+
"events": "grpcs://10.120.223.35:6053",
50+
"server-hostname": "peer0.org2.example.com",
51+
"tls_cacerts": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/cacerts/ca.org2.example.com-cert.pem"
52+
},
53+
"peer2": {
54+
"requests": "grpcs://10.120.223.35:7064",
55+
"events": "grpcs://10.120.223.35:6054",
56+
"server-hostname": "peer1.org2.example.com",
57+
"tls_cacerts": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/msp/cacerts/ca.org2.example.com-cert.pem"
58+
}
59+
}
60+
}
61+
62+
}
+62
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
{
2+
"test-network": {
3+
"orderer": {
4+
"name": "OrdererOrg1",
5+
"mspid": "OrdererOrg1",
6+
"mspPath": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config",
7+
"adminPath": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config/ordererOrganizations/orderer1.example.com/users/[email protected]/msp",
8+
"url": "grpc://10.120.223.35:5005",
9+
"server-hostname": "orderer0",
10+
"tls_cacerts": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config/ordererOrganizations/orderer1.example.com/orderers/orderer1.orderer1.example.com/tls/ca-cert.pem"
11+
},
12+
"org1": {
13+
"name": "PeerOrg1",
14+
"mspid": "PeerOrg1",
15+
"mspPath": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config",
16+
"adminPath": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config/peerOrganizations/org1.example.com/users/[email protected]/msp",
17+
"ca": {
18+
"url":"http://10.120.223.35:7054",
19+
"name": "ca-org1"
20+
},
21+
"username": "admin",
22+
"secret": "adminpw",
23+
"peer1": {
24+
"requests": "grpc://10.120.223.35:7061",
25+
"events": "grpc://10.120.223.35:6051",
26+
"server-hostname": "peer0",
27+
"tls_cacerts": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca-cert.pem"
28+
},
29+
"peer2": {
30+
"requests": "grpc://10.120.223.35:7062",
31+
"events": "grpc://10.120.223.35:6052",
32+
"server-hostname": "peer1",
33+
"tls_cacerts": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/tls/ca-cert.pem"
34+
}
35+
},
36+
"org2": {
37+
"name": "PeerOrg2",
38+
"mspid": "PeerOrg2",
39+
"mspPath": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config",
40+
"adminPath": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config/peerOrganizations/org2.example.com/users/[email protected]/msp",
41+
"ca": {
42+
"url":"http://10.120.223.35:7055",
43+
"name": "ca-org2"
44+
},
45+
"username": "admin",
46+
"secret": "adminpw",
47+
"peer1": {
48+
"requests": "grpc://10.120.223.35:7063",
49+
"events": "grpc://10.120.223.35:6053",
50+
"server-hostname": "peer2",
51+
"tls_cacerts": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca-cert.pem"
52+
},
53+
"peer2": {
54+
"requests": "grpc://10.120.223.35:7064",
55+
"events": "grpc://10.120.223.35:6054",
56+
"server-hostname": "peer3",
57+
"tls_cacerts": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/tls/ca-cert.pem"
58+
}
59+
}
60+
}
61+
62+
}

0 commit comments

Comments
 (0)