Configuration

Configuration

Network configuration

Murano may work in various networking environments and is capable of detecting the current network configuration and choosing appropriate settings automatically. However, some additional actions are required to support advanced scenarios.

Nova-network support

Nova-network is the simplest networking solution, which has limited capabilities but is available on any OpenStack deployment without the need to deploy any additional components.

When a new murano environment is created, murano checks if a dedicated networking service, for example, neutron, exists in the current OpenStack deployment. It relies on the Identity service catalog for that. If such a service is not present, murano automatically falls back to nova-network. No further configuration is needed in this case, all the VMs spawned by Murano will be joining the same network.

Neutron support

If neutron is installed, murano enables its advanced networking features that give you the ability to avoid configuring networks for your application.

By default, it creates an isolated network for each environment and joins all VMs needed by your application to that network. To install and configure the application in a newly spawned virtual machine, murano also requires a router to be connected to the external network.

Automatic neutron configuration

To create the router automatically, provide the following parameters in the configuration file:

[networking]

external_network = %EXTERNAL_NETWORK_NAME%
router_name = %MURANO_ROUTER_NAME%
create_router = true

To figure out the name of the external network, run openstack network list --external.

During the first deployment, the required networks and router with a specified name will be created and set up.

Manual neutron configuration

To configure neutron manually, follow the steps below.

  1. Create a public network.

    1. Log in to the OpenStack dashboard as an administrator.
    2. Verify the existence of external networks. For this, navigate to Project > Network > Network Topology.
    3. Check the network type in network details. For this, navigate to Admin > Networks and see the Network name section. Alternatively, run the openstack network list --external command using CLI.
    4. Create a new external network as described in the OpenStack documentation.
    Network Topology page
  2. Create a local network.

    1. Navigate to Project > Network > Networks.
    2. Click Create Network and fill in the form.
  3. Create a router.

    1. Navigate to Project > Network > Routers.

    2. Click Create Router.

    3. In the Router Name field, enter murano-default-router. If you specify a name other than murano-default-router, change the following settings in the configuration file:

      [networking]
      
      router_name = %SPECIFIED_NAME%
      create_router = false
      
    4. Click Create router.

    5. Click the newly created router name.

    6. In the Interfaces tab, click Add Interface.

    7. Specify the subnet and IP address.

      Add Interface dialog
    8. Verify the result in Project > Network > Network Topology.

      Network Topology page
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.