Install network helper to /usr/bin

This commit is contained in:
James Page 2012-11-16 16:02:17 +00:00
parent 65d843f3bf
commit b1ae38f916
2 changed files with 2 additions and 1 deletions

View File

@ -141,4 +141,3 @@ if __name__ == '__main__':
{'subnet_id': subnet['id']})
else:
logging.warning('Router already connected to subnet')

View File

@ -4,12 +4,14 @@ import utils
import sys
import quantum_utils as qutils
import os
import shutil
PLUGIN = utils.config_get('plugin')
def install():
utils.configure_source()
shutil.copy('files/create_tenant_net.py', '/usr/bin/quantum-net-create')
if PLUGIN in qutils.PLUGIN_PKGS.keys():
if PLUGIN == qutils.OVS:
# Install OVS DKMS first to ensure that the ovs module