Control node configuration file
# # Sample Devstack local.conf. # # This sample file was intended to being used for your typical devstack environment # that's running all of the OpenStack on a s Ingle Host.
This can also is used as # The first host of a multi-host test environment.
# # Changes to this sample configuration is required for the # [[LOCAL|LOCALRC]] Database_password=password rabbit_password=password Service_password=password SERVICE_TOKEN= Password Admin_password=password # The Devstack plugin defaults to using the OVN branch from the official OvS # repo. You can optionally use a different one. For example, want to # with the latest patches in BLP ' s OVN branch: #OVN_REPO =https://github.com/blp/ovs-reviews.gi T #OVN_BRANCH =ovn enable_plugin networking-ovn https://git.openstack.org/openstack/networking-ovn enable_service OVN-NORTHD enable_service ovn-controller enable_service networking-ovn-metadata-agent # Use Neutron instead of NOVA-NETW Ork Disable_service n-net Enable_service q-svc #Disable Neutron agents not used with OVN. Disable_service q-agt disable_service q-l3 disable_service q-dhcp disable_service Q-meta # Horizon (the Web UI) is enable D By default.
You could want to disable # It's here-speed up devstack a bit. Enable_service Horizon #disable_service Horizon # Cinder (OpenStack Block Storage) is disabled by default to speed up # D Evstack a bit.
You may enable it where if you would. Disable_service Cinder C-sch c-api c-vol #enable_service cinder C-sch c-api C-vol # How to connect to Ovsdb-server Hostin
G The OVN NB database.
#OVN_NB_REMOTE =tcp: $SERVICE _host:6641 # How to connect to Ovsdb-server hosting the OVN SB database. #OVN_SB_REMOTE =tcp: $SERVICE _host:6642 # A UUID to uniquely identify the this system. If one is not specified, a random # One would be generated and saved in the "file ' Ovn-uuid ' for re-use in future # Devstack
Runs. #OVN_UUID = # If using the OVN native layer-3 service, choose a router scheduler to # Manage the distribution ofRouter gateways on hypervisors/chassis.
# Default value is leastloaded. #OVN_L3_SCHEDULER =leastloaded # Whether or not-to-build custom Openvswitch kernel modules from the OvS git # tree. This is enabled by default. This is required unless your distro kernel # includes ovs+conntrack support.
This is first released in Linux 4.3, # and would likely be backported by some distros.
#OVN_BUILD_MODULES =false # Enable Services, these services depend on neutron plugin. #enable_plugin Neutron https://git.openstack.org/openstack/neutron #enable_service q-qos #enable_service q-trunk # Skydive #enable_plugin Skydive Https://github.com/redhat-cip/skydive.git #enable_service Skydive-analyzer #enable_ Service Skydive-agent # If want to enable a provider network instead of the default private # network after your DevS Tack environment installation, you *must* set # The q_use_provider_networking to True, and also give Fixed_range, # Networ K_gateway and Allocation_pool option to the CorrecT value that can # is used in your environment. Specifying q_agent is needed to allow Devstack # to run various ' IP link set ' and ' ovs-vsctl ' commands for the provider #
Network setup. #Q_AGENT =openvswitch #Q_USE_PROVIDER_NETWORKING =true #PHYSICAL_NETWORK =providernet #PROVIDER_NETWORK_TYPE =flat # Public_interface=<public interface> #OVS_PHYSICAL_BRIDGE =br-provider #PROVIDER_SUBNET_NAME =provider-subnet # Use the following for IPv4 #IP_VERSION =4 #FIXED_RANGE =<cidr for the Provider network> #NETWORK_GATEWAY =<provider Network gateway> #ALLOCATION_POOL =<provider network ALLOCATION pool> # Use the following for Ipv4+ipv6 #IP_VERSI On=4+6 #FIXED_RANGE =<cidr for the Provider network> #NETWORK_GATEWAY =<provider Network gateway> #ALLOCATION _pool=<provider Network Allocation pool> # ipv6_provider_fixed_range=<v6 Cdir for the Provider network> # IPV6 _provider_network_gateway=<v6 GATEWAY for the PROVIDER network> # If you wish to use the PROVIDER Network for public access to the cloud, # set the following #Q_USE_PROVIDERNET_FOR_PUBLIC =true #PUBLIC_NETWORK_NAME =<p Rovider Network name> #PUBLIC_NETWORK_GATEWAY =<provider network gateway> #PUBLIC_PHYSICAL_NETWORK =< Provider network name> #IP_VERSION =4 #PUBLIC_SUBNET_NAME =<provider SUBNET name> #Q_FLOATING_ALLOCATION_POOL = <provider Network Allocation pool> #FLOATING_RANGE =<cidr for the Provider network> # Note:do not MOVE these
SECTIONS from the END of this FILE # IF you do, they WON ' T work!!!!! # # Enable Nova Automatic host discovery for cell every 2 seconds # only needed in case of Multinode Devstack, as Otherwi
SE There'll be issues # when the 2nd compute node goes online.
[[Post-config| $NOVA _conf]]
[Scheduler] Discover_hosts_in_cells_interval = 2
COMPUTE nodes
# # Sample Devstack local.conf. # # This sample file was intended to being used when adding a additional compute node # to your test environment.
It runs a very minimal set of services. # # for the *must* set the Service_host option to the # IP address of the main devstack HOST.
You must also set HOST_IP to the IP # address of this HOST. # [[LOCAL|LOCALRC]] Database_password=password rabbit_password=password Service_password=password SERVICE_TOKEN= Password Admin_password=password # The Devstack plugin defaults to using the OVN branch from the official OvS # repo. You can optionally use a different one. For example, want to # with the latest patches in BLP ' s OVN branch: #OVN_REPO =https://github.com/blp/ovs-reviews.gi T #OVN_BRANCH =ovn enable_plugin networking-ovn https://git.openstack.org/openstack/networking-ovn Disable_all_ Services Enable_service n-cpu Enable_service placement-api enable_service Ovn-controller # Set this to the address of the MAin Devstack host running the rest of the # OpenStack services. Service_host=<ip address of HOST running everything else> rabbit_host= $SERVICE _host q_host= $SERVICE _host # How to C Onnect to Ovsdb-server hosting the OVN SB database ovn_sb_remote=tcp: $SERVICE _host:6642 # A UUID to uniquely identify thi s system. If one is not specified, a random # One would be generated and saved in the "file ' Ovn-uuid ' for re-use in future # Devstack
Runs. #OVN_UUID = # Whether or not-to-build custom Openvswitch kernel modules from the OvS git # tree. This is enabled by default. This is required unless your distro kernel # includes ovs+conntrack support.
This is first released in Linux 4.3, # and would likely be backported by some distros. #OVN_BUILD_MODULES =false Host_ip=<ip Address of current host> nova_vnc_enabled=true novncproxy_url=http://$ service_host:6080/vnc_auto.html vncserver_listen= $HOST _ip vncserver_proxyclient_address= $VNCSERVER _listen # Skydive #enable_plugin Skydive Https://github.com/redhat-cip/skydive.git #enable_service skydive-agent # Provider Network # If you want to enable a pro Vider Network instead of the default private # network after your devstack environment installation, you *must* set the #
Q_use_provider_networking to True, and give value to both Physical_network # and Ovs_physical_bridge. #Q_USE_PROVIDER_NETWORKING =true #PHYSICAL_NETWORK =providernet #OVS_PHYSICAL_BRIDGE =br-provider #PUBLIC_INTERFACE =
<public interface>