github.com/yimialmonte/fabric@v2.1.1+incompatible/discovery/test/testdata/crypto-config.yaml (about) 1 # Copyright IBM Corp. All Rights Reserved. 2 # 3 # SPDX-License-Identifier: Apache-2.0 4 # 5 6 # --------------------------------------------------------------------------- 7 # "OrdererOrgs" - Definition of organizations managing orderer nodes 8 # --------------------------------------------------------------------------- 9 OrdererOrgs: 10 # --------------------------------------------------------------------------- 11 # Orderer 12 # --------------------------------------------------------------------------- 13 - Name: Orderer 14 Domain: example.com 15 # --------------------------------------------------------------------------- 16 # "Specs" - See PeerOrgs below for complete description 17 # --------------------------------------------------------------------------- 18 Specs: 19 - Hostname: orderer 20 21 # --------------------------------------------------------------------------- 22 # "PeerOrgs" - Definition of organizations managing peer nodes 23 # --------------------------------------------------------------------------- 24 PeerOrgs: 25 # --------------------------------------------------------------------------- 26 # Org1 27 # --------------------------------------------------------------------------- 28 - Name: Org1 29 Domain: org1.example.com 30 EnableNodeOUs: true 31 # --------------------------------------------------------------------------- 32 # "Specs" 33 # --------------------------------------------------------------------------- 34 # Uncomment this section to enable the explicit definition of hosts in your 35 # configuration. Most users will want to use Template, below 36 # 37 # Specs is an array of Spec entries. Each Spec entry consists of two fields: 38 # - Hostname: (Required) The desired hostname, sans the domain. 39 # - CommonName: (Optional) Specifies the template or explicit override for 40 # the CN. By default, this is the template: 41 # 42 # "{{.Hostname}}.{{.Domain}}" 43 # 44 # which obtains its values from the Spec.Hostname and 45 # Org.Domain, respectively. 46 # --------------------------------------------------------------------------- 47 # Specs: 48 # - Hostname: foo # implicitly "foo.org1.example.com" 49 # CommonName: foo27.org5.example.com # overrides Hostname-based FQDN set above 50 # - Hostname: bar 51 # - Hostname: baz 52 # --------------------------------------------------------------------------- 53 # "Template" 54 # --------------------------------------------------------------------------- 55 # Allows for the definition of 1 or more hosts that are created sequentially 56 # from a template. By default, this looks like "peer%d" from 0 to Count-1. 57 # You may override the number of nodes (Count), the starting index (Start) 58 # or the template used to construct the name (Hostname). 59 # 60 # Note: Template and Specs are not mutually exclusive. You may define both 61 # sections and the aggregate nodes will be created for you. Take care with 62 # name collisions 63 # --------------------------------------------------------------------------- 64 Template: 65 Count: 2 66 # Start: 5 67 # Hostname: {{.Prefix}}{{.Index}} # default 68 # --------------------------------------------------------------------------- 69 # "Users" 70 # --------------------------------------------------------------------------- 71 # Count: The number of user accounts _in addition_ to Admin 72 # --------------------------------------------------------------------------- 73 Users: 74 Count: 1 75 # --------------------------------------------------------------------------- 76 # Org2: See "Org1" for full specification 77 # --------------------------------------------------------------------------- 78 - Name: Org2 79 Domain: org2.example.com 80 EnableNodeOUs: true 81 Template: 82 Count: 2 83 Users: 84 Count: 1