Installation

Installation

Manual Installation

Before installing neutron-vpnaas-dashboard, you first need to install horizon in your environment.

Fetch the source code from git and run pip install. Make sure to install neutron-vpnaas-dashboard into the same python environment where horizon is installed.

$ git clone https://git.openstack.org//openstack/neutron-vpnaas-dashboard
$ cd neutron-vpnaas-dashboard
$ sudo pip install .

Enable the horizon plugin.

$ cp neutron_vpnaas_dashboard/enabled/_7100_project_vpn_panel.py \
      /opt/stack/horizon/openstack_dashboard/local/enabled/_7100_project_vpn_panel.py

Note

The directory local/enabled may be different depending on your environment or distribution used. For example, for Ubuntu, this is /usr/share/openstack-dashboard/openstack_dashboard/local/enabled.

Note

The number of the plugin enabled file determines the order of panels. If you would like to configure the place of the Neutron VPNaaS dashboard, change the number of the file.

Note

For more detail of the horizon plugin settings, see Pluggable Settings in the horizon documentation.

Compile the message catalogs of Neutron VPNaaS dashboard.

$ cd neutron-vpnaas-dashboard
$ ./manage.py compilemessages

Run the Django update commands (if you use).

$ DJANGO_SETTINGS_MODULE=openstack_dashboard.settings python manage.py collectstatic --noinput
$ DJANGO_SETTINGS_MODULE=openstack_dashboard.settings python manage.py compress --force

Restart Apache:

$ sudo service apache2 restart
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.