Guest User

Untitled

a guest
Dec 4th, 2019
253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.54 KB | None | 0 0
  1. [[local|localrc]]
  2. # Credentials
  3. ADMIN_PASSWORD=password
  4. DATABASE_PASSWORD=$ADMIN_PASSWORD
  5. RABBIT_PASSWORD=$ADMIN_PASSWORD
  6. SERVICE_PASSWORD=$ADMIN_PASSWORD
  7. SERVICE_TOKEN=$ADMIN_PASSWORD
  8. SWIFT_HASH=$ADMIN_PASSWORD
  9. SWIFT_TEMPURL_KEY=$ADMIN_PASSWORD
  10.  
  11.  
  12. Q_USE_SECGROUP=True
  13. HOST_IP=192.168.8.15
  14. FLOATING_RANGE=192.168.8.0/24
  15. Q_FLOATING_ALLOCATION_POOL=start=192.168.8.70,end=192.168.8.80
  16. IPV4_ADDRS_SAFE_TO_USE=172.16.1.0/24
  17. PUBLIC_INTERFACE=ens3 # the VM only interface
  18. PUBLIC_NETWORK_GATEWAY=192.168.8.254 # this is my metal router
  19.  
  20. # Open vSwitch provider networking configuration
  21. Q_USE_PROVIDERNET_FOR_PUBLIC=True
  22. OVS_PHYSICAL_BRIDGE=br-ex
  23. PUBLIC_BRIDGE=br-ex
  24. OVS_BRIDGE_MAPPINGS=public:br-ex
  25.  
  26. # Enable Ironic plugin
  27. enable_plugin ironic https://opendev.org/openstack/ironic
  28.  
  29. # Enable Swift for the direct deploy interface.
  30. enable_service s-proxy
  31. enable_service s-object
  32. enable_service s-container
  33. enable_service s-account
  34.  
  35. # Swift temp URL's are required for the direct deploy interface
  36. SWIFT_ENABLE_TEMPURLS=True
  37.  
  38. # Create 3 virtual machines to pose as Ironic's baremetal nodes.
  39. IRONIC_VM_COUNT=3
  40. IRONIC_BAREMETAL_BASIC_OPS=True
  41. DEFAULT_INSTANCE_TYPE=baremetal
  42.  
  43. # Enable additional hardware types, if needed.
  44. IRONIC_ENABLED_HARDWARE_TYPES=ipmi,fake-hardware,redfish
  45. # Don't forget that many hardware types require enabling of additional
  46. # interfaces, most often power and management:
  47. IRONIC_ENABLED_MANAGEMENT_INTERFACES=ipmitool,fake,redfish
  48. IRONIC_ENABLED_POWER_INTERFACES=ipmitool,fake,redfish
  49. # The 'ipmi' hardware type's default deploy interface is 'iscsi'.
  50. # This would change the default to 'direct':
  51. IRONIC_DEFAULT_DEPLOY_INTERFACE=fake,iscsi,direct
  52.  
  53. # Change this to alter the default driver for nodes created by devstack.
  54. # This driver should be in the enabled list above.
  55. IRONIC_DEPLOY_DRIVER=ipmi
  56.  
  57. # The parameters below represent the minimum possible values to create
  58. # functional nodes.
  59. IRONIC_VM_SPECS_RAM=1280
  60. IRONIC_VM_SPECS_DISK=10
  61.  
  62. # Size of the ephemeral partition in GB. Use 0 for no ephemeral partition.
  63. IRONIC_VM_EPHEMERAL_DISK=0
  64.  
  65. # To build your own IPA ramdisk from source, set this to True
  66. IRONIC_BUILD_DEPLOY_RAMDISK=False
  67.  
  68. VIRT_DRIVER=ironic
  69.  
  70. # By default, DevStack creates a 10.0.0.0/24 network for instances.
  71. # If this overlaps with the hosts network, you may adjust with the
  72. # following.
  73. NETWORK_GATEWAY=10.1.0.1
  74. FIXED_RANGE=10.1.0.0/24
  75. FIXED_NETWORK_SIZE=256
  76.  
  77. # Log all output to files
  78. LOGDIR=$HOME/logs
  79. LOGFILE=$HOME/$LOGDIR/devstack.log
  80. IRONIC_VM_LOG_DIR=$HOME/$LOGDIR/ironic-bm-logs
Advertisement
Add Comment
Please, Sign In to add comment