Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note
titleLimitation

In All-in-one installation mode, the gateway is NOT installed due to architectural reasons: compute node and gateway node requires its own OVS. However, you can add gateway nodes after installing all-in-one SONA.


How to install

  1. Download Devstack

    Code Block
    $ git clone -b stable/queens https://git.openstack.org/openstack-dev/devstack

    SONA All-in-one version also supports OpenStack ocata/pike/queens version. 

  2. Create local.conf

    Code Block
    titlelocal.conf
    [[local|localrc]]
    HOST_IP=10.1.1.26
    SERVICE_HOST=10.1.1.26
    RABBIT_HOST=10.1.1.26
    DATABASE_HOST=10.1.1.26
    Q_HOST=10.1.1.26
    
    ADMIN_PASSWORD=nova
    DATABASE_PASSWORD=$ADMIN_PASSWORD
    RABBIT_PASSWORD=$ADMIN_PASSWORD
    SERVICE_PASSWORD=$ADMIN_PASSWORD
    SERVICE_TOKEN=$ADMIN_PASSWORD
    
    DATABASE_TYPE=mysql
    
    # Log
    USE_SCREEN=True
    SCREEN_LOGDIR=/opt/stack/logs/screen
    LOGFILE=/opt/stack/logs/xstack.sh.log
    LOGDAYS=1
    # Images
    FORCE_CONFIG_DRIVE=True
    
    # Networks
    Q_ML2_TENANT_NETWORK_TYPE=vxlan
    Q_ML2_PLUGIN_MECHANISM_DRIVERS=onos_ml2
    Q_ML2_PLUGIN_TYPE_DRIVERS=flat,vlan,vxlan
    ML2_L3_PLUGIN=onos_router
    NEUTRON_CREATE_INITIAL_NETWORKS=False
    enable_plugin networking-onos https://github.com/sonaproject/networking-onos.git
    ONOS_MODE=allinone
    
    # Services
    ENABLED_SERVICES=n-cpu,placement-client,neutron,key,nova,n-api,n-cond,n-sch,n-novnc,n-cauth,placement-api,g-api,g-reg,q-svc,horizon,rabbit,mysql
    
    
    NOVA_VNC_ENABLED=True
    VNCSERVER_PROXYCLIENT_ADDRESS=$HOST_IP
    VNCSERVER_LISTEN=$HOST_IP
    
    LIBVIRT_TYPE=qemu
    # Log
    USE_SCREEN=True\
    SCREEN_LOGDIR=/opt/stack/logs/screen
    LOGFILE=/opt/stack/logs/xstack.sh.log
    LOGDAYS=1
    
    # Branches
    GLANCE_BRANCH=stable/queens
    HORIZON_BRANCH=stable/queens
    KEYSTONE_BRANCH=stable/queens
    NEUTRON_BRANCH=stable/queens
    NOVA_BRANCH=stable/queens

    You just need to change IP address in local.conf as in normal SONA installation guide. Also, please use the master branch of networking-onos in sonaproject. All changes will be upstreamed to the OpenStack repository very soon.


  3. Install Devstack

    Code Block
    ~/devstack$ ./stack.sh
  4. Done!
    Now you can create virtual networks and VMs using either CLI or horizon UI.

  5. Gateway install (Optional)
    If you want to test North-South traffic, you can add gateway nodes as in the SONA installation guide (SONA Installation Guide).

How to check

After installation of devstack, please check if all default SONA flow rules are installed in br-int bridge of OVS.

...