Guest User

Untitled

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