Merge "Bug 99: get_dhcp_lease.sh with support for LXD DHCP / fix in openvimd.cfg...
authortierno <alfonso.tiernosepulveda@telefonica.com>
Fri, 11 Nov 2016 13:30:00 +0000 (14:30 +0100)
committerGerrit Code Review <root@osm.etsi.org>
Fri, 11 Nov 2016 13:30:00 +0000 (14:30 +0100)
1  2 
openvimd.cfg

diff --combined openvimd.cfg
@@@ -56,7 -56,7 +56,7 @@@ http_port:       9080                # 
  http_admin_port: 9085                # Admin port where openvim is listening (when missing, no administration server is launched)
  
  #database parameters
 -db_host:   localhost                 # by default localhost
 +db_host:   0.0.0.0                   # by default localhost
  db_user:   vim                       # DB user
  db_passwd: vimpw                     # DB password
  db_name:   vim_db                    # Name of the VIM DB
@@@ -102,8 -102,9 +102,9 @@@ development_bridge: virbrMan1
  #In case some of the previous 'bridge_ifaces' are connected to an EXTERNAL dhcp server, provide 
  #   the server parameters to allow openvim getting the allocated IP addresses of virtual machines
  #   connected to the indicated 'bridge_ifaces' and or 'nets'. Openvim will connect to the dhcp server by ssh.
- #DHCP server must contain a shell script "./get_dhcp_lease.sh" that accept a mac address as parameter 
- #   and return empty or the allocated IP address. See an example at the end of the file ./openvim/dhcp_thread.py 
+ #DHCP server must contain a shell script "get_dhcp_lease.sh" included in the path, that accepts a mac address as 
+ #   parameter and return empty or the allocated IP address. See an example at the end of the file 
+ #   ./openvim/dhcp_thread.py 
  #COMMENT all lines in case you do not have a DHCP server in 'normal', 'development'  or 'host only' modes.
  #   For 'test' or 'OF only' modes you can leave then uncommented, because in these modes fake IP 
  #   address are generated instead of connecting with a real DHCP server.