Guest User

Untitled

a guest
Apr 28th, 2020
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.34 KB | None | 0 0
  1. # Sample ``local.conf`` for user-configurable variables in ``stack.sh``
  2.  
  3. # NOTE: Copy this file to the root DevStack directory for it to work properly.
  4.  
  5. # ``local.conf`` is a user-maintained settings file that is sourced from ``stackrc``.
  6. # This gives it the ability to override any variables set in ``stackrc``.
  7. # Also, most of the settings in ``stack.sh`` are written to only be set if no
  8. # value has already been set; this lets ``local.conf`` effectively override the
  9. # default values.
  10.  
  11. # This is a collection of some of the settings we have found to be useful
  12. # in our DevStack development environments. Additional settings are described
  13. # in https://docs.openstack.org/devstack/latest/configuration.html#local-conf
  14. # These should be considered as samples and are unsupported DevStack code.
  15.  
  16. # The ``localrc`` section replaces the old ``localrc`` configuration file.
  17. # Note that if ``localrc`` is present it will be used in favor of this section.
  18. [[local|localrc]]
  19.  
  20. # Minimal Contents
  21. # ----------------
  22.  
  23. # While ``stack.sh`` is happy to run without ``localrc``, devlife is better when
  24. # there are a few minimal variables set:
  25.  
  26. # If the ``*_PASSWORD`` variables are not set here you will be prompted to enter
  27. # values for them by ``stack.sh``and they will be added to ``local.conf``.
  28. ADMIN_PASSWORD=secret
  29. DATABASE_PASSWORD=secret
  30. RABBIT_PASSWORD=secret
  31. SERVICE_PASSWORD=secret
  32.  
  33. # ``HOST_IP`` and ``HOST_IPV6`` should be set manually for best results if
  34. # the NIC configuration of the host is unusual, i.e. ``eth1`` has the default
  35. # route but ``eth0`` is the public interface.  They are auto-detected in
  36. # ``stack.sh`` but often is indeterminate on later runs due to the IP moving
  37. # from an Ethernet interface to a bridge on the host. Setting it here also
  38. # makes it available for ``openrc`` to include when setting ``OS_AUTH_URL``.
  39. # Neither is set by default.
  40. IP_VERSION=4
  41. HOST_IP=10.0.3.6
  42. #HOST_IPV6=2001:db8::7
  43. FLOATING_RANGE=10.0.3.224/27
  44. FLAT_INTERFACE=ens5
  45. Q_FLOATING_ALLOCATION_POOL=start=10.0.3.226,end=10.0.3.254
  46.  
  47. disable_service n-net
  48. enable_service q-svc
  49. enable_service q-agt
  50. enable_service q-dhcp
  51. enable_service q-l3
  52. enable_service q-meta
  53. enable_service neutron
  54. # Logging
  55. # -------
  56.  
  57. # By default ``stack.sh`` output only goes to the terminal where it runs.  It can
  58. # be configured to additionally log to a file by setting ``LOGFILE`` to the full
  59. # path of the destination log file.  A timestamp will be appended to the given name.
  60. LOGFILE=$DEST/logs/stack.sh.log
  61.  
  62. # Old log files are automatically removed after 7 days to keep things neat.  Change
  63. # the number of days by setting ``LOGDAYS``.
  64. LOGDAYS=2
  65.  
  66. # Nova logs will be colorized if ``SYSLOG`` is not set; turn this off by setting
  67. # ``LOG_COLOR`` false.
  68. #LOG_COLOR=False
  69.  
  70.  
  71. # Using milestone-proposed branches
  72. # ---------------------------------
  73.  
  74. # Uncomment these to grab the milestone-proposed branches from the
  75. # repos:
  76. #CINDER_BRANCH=milestone-proposed
  77. #GLANCE_BRANCH=milestone-proposed
  78. #HORIZON_BRANCH=milestone-proposed
  79. #KEYSTONE_BRANCH=milestone-proposed
  80. #KEYSTONECLIENT_BRANCH=milestone-proposed
  81. #NOVA_BRANCH=milestone-proposed
  82. #NOVACLIENT_BRANCH=milestone-proposed
  83. #NEUTRON_BRANCH=milestone-proposed
  84. #SWIFT_BRANCH=milestone-proposed
  85.  
  86. enable_plugin neutron-vpnaas https://opendev.org/openstack/neutron-vpnaas
  87. enable_plugin neutron-vpnaas-dashboard https://opendev.org/openstack/neutron-vpnaas-dashboard
  88. # Using git versions of clients
  89. # -----------------------------
  90. # By default clients are installed from pip.  See LIBS_FROM_GIT in
  91. # stackrc for details on getting clients from specific branches or
  92. # revisions.  e.g.
  93. # LIBS_FROM_GIT="python-ironicclient"
  94. # IRONICCLIENT_BRANCH=refs/changes/44/2.../1
  95.  
  96. # Swift
  97. # -----
  98.  
  99. # Swift is now used as the back-end for the S3-like object store. Setting the
  100. # hash value is required and you will be prompted for it if Swift is enabled
  101. # so just set it to something already:
  102. SWIFT_HASH=66a3d6b56c1f479c8b4e70ab5c2000f5
  103.  
  104. # For development purposes the default of 3 replicas is usually not required.
  105. # Set this to 1 to save some resources:
  106. SWIFT_REPLICAS=1
  107.  
  108. # The data for Swift is stored by default in (``$DEST/data/swift``),
  109. # or (``$DATA_DIR/swift``) if ``DATA_DIR`` has been set, and can be
  110. # moved by setting ``SWIFT_DATA_DIR``. The directory will be created
  111. # if it does not exist.
  112. SWIFT_DATA_DIR=$DEST/data
Add Comment
Please, Sign In to add comment