X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=openvimd.cfg;h=545b739383211b29e004b8b1357879ddcbf63238;hb=refs%2Fchanges%2F59%2F1059%2F1;hp=022a5e3158d61e1cb3aa04490119f4d741fb5f70;hpb=f7aa8c4db7a57d5865d3b7767d5957fda6867198;p=osm%2Fopenvim.git diff --git a/openvimd.cfg b/openvimd.cfg index 022a5e3..545b739 100644 --- a/openvimd.cfg +++ b/openvimd.cfg @@ -1,6 +1,6 @@ ## # Copyright 2015 Telefónica Investigación y Desarrollo, S.A.U. -# This file is part of openmano +# This file is part of openvim # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may @@ -56,7 +56,7 @@ http_port: 9080 # General port where openvim is listening ( 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 @@ -72,8 +72,14 @@ tenant_id: fc7b43b6-6bfa-11e4-84d2-5254006d6777 # Default tenant identifier fo network_vlan_range_start: 3000 network_vlan_range_end: 4000 +# Overlay network implementation. Options are: +# - ovs : (by default) Use a vlxan mesh between computes to handle the network overlay. +# - bridge: Use pre-populated linux bridges with L2 conectivity at compte nodes. +network_type : ovs + #host bridge interfaces for networks -# Openvim cannot create bridge networks automatically, in the same way as other CMS do. +# Apply only for 'network_type: bridge' +# Indicates the bridges at compute nodes to be used for the overlay networks # Bridge networks need to be pre-provisioned on each host and Openvim uses those pre-provisioned bridge networks. # Openvim assumes that the following bridge interfaces have been created on each host, appropriately associated to a physical port. # The following information needs to be provided: @@ -82,28 +88,29 @@ network_vlan_range_end: 4000 # - The speed of the physical port in Gbps, where that bridge interface was created # For instance, next example assumes that 10 bridges have been created on each host # using vlans 2001 to 2010, associated to a 1Gbps physical port -bridge_ifaces: - #name: [vlan, speed in Gbps] - virbrMan1: [2001, 1] - virbrMan2: [2002, 1] - virbrMan3: [2003, 1] - virbrMan4: [2004, 1] - virbrMan5: [2005, 1] - virbrMan6: [2006, 1] - virbrMan7: [2007, 1] - virbrMan8: [2008, 1] - virbrMan9: [2009, 1] - virbrMan10: [2010, 1] +#bridge_ifaces: +# #name: [vlan, speed in Gbps] +# virbrMan1: [2001, 1] +# virbrMan2: [2002, 1] +# virbrMan3: [2003, 1] +# virbrMan4: [2004, 1] +# virbrMan5: [2005, 1] +# virbrMan6: [2006, 1] +# virbrMan7: [2007, 1] +# virbrMan8: [2008, 1] +# virbrMan9: [2009, 1] +# virbrMan10: [2010, 1] #Used only when 'mode' is at development'. Indicates which 'bridge_ifaces' is used for dataplane networks -development_bridge: virbrMan10 +#development_bridge: virbrMan10 #DHCP SERVER PARAMETERS. #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. @@ -125,3 +132,5 @@ dhcp_server: log_level: ERROR log_level_db: DEBUG log_level_of: DEBUG + +