Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [[local|localrc]]
- # Credentials
- ADMIN_PASSWORD=password
- DATABASE_PASSWORD=$ADMIN_PASSWORD
- RABBIT_PASSWORD=$ADMIN_PASSWORD
- SERVICE_PASSWORD=$ADMIN_PASSWORD
- SERVICE_TOKEN=$ADMIN_PASSWORD
- SWIFT_HASH=$ADMIN_PASSWORD
- SWIFT_TEMPURL_KEY=$ADMIN_PASSWORD
- Q_USE_SECGROUP=True
- HOST_IP=192.168.8.15
- FLOATING_RANGE=192.168.8.0/24
- Q_FLOATING_ALLOCATION_POOL=start=192.168.8.70,end=192.168.8.80
- IPV4_ADDRS_SAFE_TO_USE=172.16.1.0/24
- PUBLIC_INTERFACE=ens3 # the VM only interface
- PUBLIC_NETWORK_GATEWAY=192.168.8.254 # this is my metal router
- # Open vSwitch provider networking configuration
- Q_USE_PROVIDERNET_FOR_PUBLIC=True
- OVS_PHYSICAL_BRIDGE=br-ex
- PUBLIC_BRIDGE=br-ex
- OVS_BRIDGE_MAPPINGS=public:br-ex
- # Enable Ironic plugin
- enable_plugin ironic https://opendev.org/openstack/ironic
- # Enable Swift for the direct deploy interface.
- enable_service s-proxy
- enable_service s-object
- enable_service s-container
- enable_service s-account
- # Swift temp URL's are required for the direct deploy interface
- SWIFT_ENABLE_TEMPURLS=True
- # Create 3 virtual machines to pose as Ironic's baremetal nodes.
- IRONIC_VM_COUNT=3
- IRONIC_BAREMETAL_BASIC_OPS=True
- DEFAULT_INSTANCE_TYPE=baremetal
- # Enable additional hardware types, if needed.
- IRONIC_ENABLED_HARDWARE_TYPES=ipmi,fake-hardware,redfish
- # Don't forget that many hardware types require enabling of additional
- # interfaces, most often power and management:
- IRONIC_ENABLED_MANAGEMENT_INTERFACES=ipmitool,fake,redfish
- IRONIC_ENABLED_POWER_INTERFACES=ipmitool,fake,redfish
- # The 'ipmi' hardware type's default deploy interface is 'iscsi'.
- # This would change the default to 'direct':
- IRONIC_DEFAULT_DEPLOY_INTERFACE=fake,iscsi,direct
- # Change this to alter the default driver for nodes created by devstack.
- # This driver should be in the enabled list above.
- IRONIC_DEPLOY_DRIVER=ipmi
- # The parameters below represent the minimum possible values to create
- # functional nodes.
- IRONIC_VM_SPECS_RAM=1280
- IRONIC_VM_SPECS_DISK=10
- # Size of the ephemeral partition in GB. Use 0 for no ephemeral partition.
- IRONIC_VM_EPHEMERAL_DISK=0
- # To build your own IPA ramdisk from source, set this to True
- IRONIC_BUILD_DEPLOY_RAMDISK=False
- VIRT_DRIVER=ironic
- # By default, DevStack creates a 10.0.0.0/24 network for instances.
- # If this overlaps with the hosts network, you may adjust with the
- # following.
- NETWORK_GATEWAY=10.1.0.1
- FIXED_RANGE=10.1.0.0/24
- FIXED_NETWORK_SIZE=256
- # Log all output to files
- LOGDIR=$HOME/logs
- LOGFILE=$HOME/$LOGDIR/devstack.log
- IRONIC_VM_LOG_DIR=$HOME/$LOGDIR/ironic-bm-logs
Advertisement
Add Comment
Please, Sign In to add comment