Advertisement
zasamen

crypto-config.yaml

Mar 20th, 2018
292
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 3.91 KB | None | 0 0
  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: blockchain.iba
  15.     # ---------------------------------------------------------------------------
  16.     # "Specs" - See PeerOrgs below for complete description
  17.     # ---------------------------------------------------------------------------
  18.     Specs:
  19.       - Hostname: orderer
  20. # ---------------------------------------------------------------------------
  21. # "PeerOrgs" - Definition of organizations managing peer nodes
  22. # ---------------------------------------------------------------------------
  23. PeerOrgs:
  24.  # ---------------------------------------------------------------------------
  25.   # Org1
  26.   # ---------------------------------------------------------------------------
  27.   - Name: Org1
  28.     Domain: blockchain.iba
  29.     EnableNodeOUs: true
  30.     Specs:
  31.         - Hostname: peer
  32.     # ---------------------------------------------------------------------------
  33.     # "Specs"
  34.     # ---------------------------------------------------------------------------
  35.     # Uncomment this section to enable the explicit definition of hosts in your
  36.     # configuration.  Most users will want to use Template, below
  37.     #
  38.     # Specs is an array of Spec entries.  Each Spec entry consists of two fields:
  39.     #   - Hostname:   (Required) The desired hostname, sans the domain.
  40.     #   - CommonName: (Optional) Specifies the template or explicit override for
  41.     #                 the CN.  By default, this is the template:
  42.     #
  43.     #                              "{{.Hostname}}.{{.Domain}}"
  44.     #
  45.     #                 which obtains its values from the Spec.Hostname and
  46.     #                 Org.Domain, respectively.
  47.     # ---------------------------------------------------------------------------
  48.     # Specs:
  49.     #   - Hostname: foo # implicitly "foo.org1.example.com"
  50.     #     CommonName: foo27.org5.example.com # overrides Hostname-based FQDN set above
  51.     #   - Hostname: bar
  52.     #   - Hostname: baz
  53.     # ---------------------------------------------------------------------------
  54.     # "Template"
  55.     # ---------------------------------------------------------------------------
  56.     # Allows for the definition of 1 or more hosts that are created sequentially
  57.     # from a template. By default, this looks like "peer%d" from 0 to Count-1.
  58.     # You may override the number of nodes (Count), the starting index (Start)
  59.     # or the template used to construct the name (Hostname).
  60.     #
  61.     # Note: Template and Specs are not mutually exclusive.  You may define both
  62.     # sections and the aggregate nodes will be created for you.  Take care with
  63.     # name collisions
  64.     # ---------------------------------------------------------------------------
  65.       # Start: 5
  66.       # Hostname: {{.Prefix}}{{.Index}} # default
  67.     # ---------------------------------------------------------------------------
  68.     # "Users"
  69.     # ---------------------------------------------------------------------------
  70.     # Count: The number of user accounts _in addition_ to Admin
  71.     # ---------------------------------------------------------------------------
  72.     Users:
  73.       Count: 1
  74.   # ---------------------------------------------------------------------------
  75.   # Org2: See "Org1" for full specification
  76.   # ---------------------------------------------------------------------------
  77.   - Name: Org2
  78.     Domain: blockchain-clone.iba
  79.     EnableNodeOUs: true
  80.     Specs:
  81.         - Hostname: peer
  82.     Users:
  83.       Count: 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement