You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
1.9 KiB

Debian packaging and installation of neutron-l2gateway-agent.
Prior requirements
script will run on neutron installed and configured nodes
(controller, compute and network nodes). will create and install debian package of networking-l2gw,
and it will start neutron-l2gateway-agent.
Creation of debian package requires copyright, changelog, control, compat
and rules file inside the debian folder.
debian folder is to be placed inside the folder which needs to be packaged (networking-l2gw).
command dpkg-buildpackage -b, builds debian package of networking-l2gw which uses the files
mentioned inside debian folder to create debian package.
please refer
for further details.
Installation procedure example:
The script will ask for further details for packaging and installing as shown below.
press ENTER for assigning default values to debian/changelog and debian/control file.
#info for debian/changelog file
enter package name for debian/changelog
enter package version for debian/changelog
#info for debian/control file
enter the networking-l2gw source name
enter the networking-l2gw package name
enter the version number
enter the maintainer info
enter the architecture
enter the description title
l2gateway package
enter the description details
description details of l2gateway package
#info for neutron-l2gateway-agent.conf file
enter the networking-l2gw binary path
enter the neutron config file path
enter the l2gateway agent config file path
enter the l2gateway log file path
after execution of check neutron-l2gateway-agent status
sudo service neutron-l2gateway-agent status
neutron-l2gateway-agent start/running, process 15276