aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Expand)AuthorFilesLines
2016-08-31Merge "delete useless FUNCTEST_REPO variable"Morgan Richomme5-5/+0
2016-08-31parser fails on virtual environementSerenaFeng1-1/+1
2016-08-31Fix problem with SFC testBrady Johnson1-0/+5
2016-08-31Committer promotion: Cedric OllivierMorgan Richomme1-0/+1
2016-08-31Merge "Committer promotion: Serena Feng"Morgan Richomme1-0/+1
2016-08-31unify testcases.yaml obtain processSerenaFeng4-8/+8
2016-08-31delete useless FUNCTEST_REPO variableSerenaFeng5-5/+0
2016-08-30Release note: add restriction for joid/dominoMorgan Richomme2-12/+20
2016-08-30disable test case does not make sense for LXD.Narinder Gupta1-0/+11
2016-08-30Merge "update fuel ref in tacker setup script"Jose Lausuch1-1/+1
2016-08-30Exclude healthcheck from lxd scenariosMorgan Richomme1-1/+1
2016-08-30update fuel ref in tacker setup scriptFerenc Cserepkei1-1/+1
2016-08-30Allow realtime Jenkins' console outputCédric Ollivier1-1/+1
2016-08-30Force stdin, stdout and stderr to be totally unbufferedCédric Ollivier1-0/+1
2016-08-30Merge "Stop hard-coding db url"Morgan Richomme1-3/+3
2016-08-30Merge "Flush stdout as it can be redirected to log"Morgan Richomme1-0/+1
2016-08-30Exclude floating-ip related tempest tests to blacklist for bgpvpn scenariojose.lausuch1-0/+2
2016-08-30Stop hard-coding db urlCédric Ollivier1-3/+3
2016-08-30Flush stdout as it can be redirected to logCédric Ollivier1-0/+1
2016-08-30Merge "Set env vars as mandatory to push to DB"Morgan Richomme2-11/+25
2016-08-30Merge "Update Release note"Morgan Richomme1-21/+40
2016-08-29Update Release noteMorgan Richomme1-21/+40
2016-08-29Merge "Review dev guide"Morgan Richomme1-98/+147
2016-08-29Review dev guideMorgan Richomme1-98/+147
2016-08-26Set env vars as mandatory to push to DBCédric Ollivier2-11/+25
2016-08-26Merge "configuration guide review"Morgan Richomme2-42/+48
2016-08-26configuration guide reviewMorgan Richomme2-42/+48
2016-08-26refactor create shared network process to eliminate reduplicateSerenaFeng3-32/+33
2016-08-26Merge "refactor create or get image process to eliminate reduplicate"Morgan Richomme4-56/+35
2016-08-26Merge "Stop calling exec_test.sh in the middle of python scripts"Morgan Richomme4-6/+53
2016-08-26Merge "[Fuel] Skip test_server_basic_ops tempest test"Morgan Richomme1-0/+14
2016-08-26refactor create or get image process to eliminate reduplicateSerenaFeng4-56/+35
2016-08-24Stop calling exec_test.sh in the middle of python scriptsCédric Ollivier4-6/+53
2016-08-24Use by default the default ODL web portCédric Ollivier1-5/+3
2016-08-24Fixing commit f1054f8fFerenc Cserepkei1-1/+1
2016-08-24Merge "Included correct links (Colorado) to Doctor/Promise user guides"Morgan Richomme2-4/+4
2016-08-24Included correct links (Colorado) to Doctor/Promise user guidesBertrand Souville2-4/+4
2016-08-24[SFC] Fixing CINikolas Hermanns1-0/+1
2016-08-23Committer promotion: Serena FengMorgan Richomme1-0/+1
2016-08-23Merge "Avoid duplicating logs in run_tests.py"valentin boucher2-2/+3
2016-08-23Merge "when create/get/update failed return None rather than False"Morgan Richomme4-28/+28
2016-08-23Merge "delete useless image_exists in vping"Morgan Richomme2-7/+2
2016-08-23Avoid duplicating logs in run_tests.pyCédric Ollivier2-2/+3
2016-08-23when create/get/update failed return None rather than FalseSerenaFeng4-28/+28
2016-08-23Enable security scan for apex scenariosvitikkan1-1/+1
2016-08-23[Fuel] Skip test_server_basic_ops tempest testMichael Polenchuk1-0/+14
2016-08-23Merge "refactor push_result_to_db print thing"Morgan Richomme1-11/+38
2016-08-23refactor push_result_to_db print thingSerenaFeng1-11/+38
2016-08-23Create tempest resources before generating tempest.confvitikkan1-1/+1
2016-08-23Merge "doctor test support fuel installer"Morgan Richomme1-1/+1
n">ha - odl - name: host2 mac: 'D8:49:0B:DA:5A:B7' interfaces: - eth1: 'D8:49:0B:DA:5A:B8' ipmiIp: 172.16.130.27 roles: - compute E.g. Openstack and ONOS deployment roles setting .. code-block:: yaml hosts: - name: host1 mac: 'F8:4A:BF:55:A2:8D' interfaces: - eth1: 'F8:4A:BF:55:A2:8E' ipmiIp: 172.16.130.26 roles: - controller - ha - onos - name: host2 mac: 'D8:49:0B:DA:5A:B7' interfaces: - eth1: 'D8:49:0B:DA:5A:B8' ipmiIp: 172.16.130.27 roles: - compute Network Configuration (Bare Metal Deployment) --------------------------------------------- Before deployment, there are some network configuration to be checked based on your network topology.Compass4nfv network default configuration file is "compass4nfv/deploy/conf/hardware_environment/huawei-pod1/network.yml". This file is an example, you can customize by yourself according to specific network environment. In this network.yml, there are several config sections listed following(corresponed to the ordre of the config file): Provider Mapping ~~~~~~~~~~~~~~~~ - name -- provider network name. - network -- default as physnet, do not change it. - interfaces -- the NIC or Bridge attached by the Network. - type -- the type of the NIC or Bridge(vlan for NIC and ovs for Bridge, either). - roles -- all the possible roles of the host machines which connected by this network(mostly put both controller and compute). System Interface ~~~~~~~~~~~~~~~~ - name -- Network name. - interfaces -- the NIC or Bridge attached by the Network. - vlan_tag -- if type is vlan, add this tag before 'type' tag. - type -- the type of the NIC or Bridge(vlan for NIC and ovs for Bridge, either). - roles -- all the possible roles of the host machines which connected by this network(mostly put both controller and compute). IP Settings ~~~~~~~~~~~ - name -- network name corresponding the the network name in System Interface section one by one. - ip_ranges -- ip addresses range provided for this network. - cidr -- the IPv4 address and its associated routing prefix and subnet mask? - gw -- need to add this line only if network is external. - roles -- all the possible roles of the host machines which connected by this network(mostly put both controller and compute). Internal VIP(virtual or proxy IP) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ip -- virtual or proxy ip address, must be in the same subnet with mgmt network but must not be in the range of mgmt network. - netmask -- the length of netmask - interface -- mostly mgmt. Public VIP ~~~~~~~~~~ - ip -- virtual or proxy ip address, must be in the same subnet with external network but must not be in the range of external network. - netmask -- the length of netmask - interface -- mostly external. Public Network ~~~~~~~~~~~~~~ - enable -- must be True(if False, you need to set up provider network manually). - network -- leave it ext-net. - type -- the type of the ext-net above, such as flat or vlan. - segment_id -- when the type is vlan, this should be id of vlan. - subnet -- leave it ext-subnet. - provider_network -- leave it physnet. - router -- leave it router-ext. - enable_dhcp -- must be False. - no_gateway -- must be False. - external_gw -- same as gw in ip_settings. - floating_ip_cidr -- cidr for floating ip, see explanation in ip_settings. - floating_ip_start -- define range of floating ip with floating_ip_end(this defined range must not be included in ip range of external configured in ip_settings section). - floating_ip_end -- define range of floating ip with floating_ip_start. **The following figure shows the default network configuration.** .. code-block:: console +--+ +--+ +--+ | | | | | | | | +------------+ | | | | | +------+ Jumphost +------+ | | | | | +------+-----+ | | | | | | | | | | | | | +------------+ +-----+ | | | | | | | | | +------------+ | | | | | +------+ host1 +------+ | | | | | +------+-----+ | | | | | | | | | | | | | +------------+ +-----+ | | | | | | | | | +------------+ | | | | | +------+ host2 +------+ | | | | | +------+-----+ | | | | | | | | | | | | | +------------+ +-----+ | | | | | | | | | +------------+ | | | | | +------+ host3 +------+ | | | | | +------+-----+ | | | | | | | | | | | | | +------------+ +-----+ | | | | | | | | | | | | | +-++ ++-+ +-++ ^ ^ ^ | | | | | | +-+-------------------------+ | | | External Network | | | +---------------------------+ | | +-----------------------+---+ | | IPMI Network | | +---------------------------+ | +-------------------------+-+ | PXE(Installation) Network | +---------------------------+ **The following figure shows the interfaces and nics of JumpHost and deployment nodes in huawei-pod1 network configuration(default one nic for openstack networks).** .. figure:: images/single_nic.png :alt: Single nic scenario :figclass: align-center Fig 1. Single nic scenario **The following figure shows the interfaces and nics of JumpHost and deployment nodes in intel-pod8 network configuration(openstack networks are seperated by multiple NICs).** .. figure:: images/multi_nics.png :alt: Multiple nics scenario :figclass: align-center Fig 2. Multiple nics scenario Start Deployment (Bare Metal Deployment) ---------------------------------------- 1. Edit deploy.sh 1.1. Set OS version for deployment nodes. Compass4nfv supports ubuntu and centos based openstack newton. E.g. .. code-block:: bash # Set OS version for target hosts # Ubuntu16.04 or CentOS7 export OS_VERSION=xenial or export OS_VERSION=centos7 1.2. Set tarball corresponding to your code E.g. .. code-block:: bash # Set ISO image corresponding to your code export ISO_URL=file:///home/compass/compass4nfv.tar.gz 1.3. Set hardware deploy jumpserver PXE NIC. (set eth1 E.g.) You do not need to set it when virtual deploy. E.g. .. code-block:: bash # Set hardware deploy jumpserver PXE NIC # you need to comment out it when virtual deploy export INSTALL_NIC=eth1 1.4. Set scenario that you want to deploy E.g. nosdn-nofeature scenario deploy sample .. code-block:: bash # DHA is your dha.yml's path export DHA=./deploy/conf/hardware_environment/huawei-pod1/os-nosdn-nofeature-ha.yml # NETWORK is your network.yml's path export NETWORK=./deploy/conf/hardware_environment/huawei-pod1/network.yml odl_l2-moon scenario deploy sample .. code-block:: bash # DHA is your dha.yml's path export DHA=./deploy/conf/hardware_environment/huawei-pod1/os-odl_l2-moon-ha.yml # NETWORK is your network.yml's path export NETWORK=./deploy/conf/hardware_environment/huawei-pod1/network.yml odl_l2-nofeature scenario deploy sample .. code-block:: bash # DHA is your dha.yml's path export DHA=./deploy/conf/hardware_environment/huawei-pod1/os-odl_l2-nofeature-ha.yml # NETWORK is your network.yml's path export NETWORK=./deploy/conf/hardware_environment/huawei-pod1/network.yml odl_l3-nofeature scenario deploy sample .. code-block:: bash # DHA is your dha.yml's path export DHA=./deploy/conf/hardware_environment/huawei-pod1/os-odl_l3-nofeature-ha.yml # NETWORK is your network.yml's path export NETWORK=./deploy/conf/hardware_environment/huawei-pod1/network.yml odl-sfc deploy scenario sample .. code-block:: bash # DHA is your dha.yml's path export DHA=./deploy/conf/hardware_environment/huawei-pod1/os-odl-sfc-ha.yml # NETWORK is your network.yml's path export NETWORK=./deploy/conf/hardware_environment/huawei-pod1/network.yml 2. Run ``deploy.sh`` .. code-block:: bash ./deploy.sh