Change-Id: I4f60cf1ffedfad7c804d4e45807a1a0e6db0c745 Signed-off-by: Illia Polliul <ipolliul@mirantis.com>
		
			
				
	
	
	
		
			1.7 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	
			1.7 KiB
		
	
	
	
	
	
	
	
Use network templates
Starting from Fuel 7.0, you can reduce the number of logical networks using network templates.
This document provides a sample configuration with a network template to get customers up and running quickly.
The provided template utilizes three networks: Admin (PXE), Public, and Private.
To use the network template:
Set a gateway for the private network:
- Login with ssh to Fuel master node.
 - List existing network-groups:
 - 
fuel network-group --env 1 
- Remove and create again network-group 
privateto set a gateway: - 
fuel network-group --delete --network 5 fuel network-group --create --name private \ --cidr 10.109.3.0/24 --gateway 10.109.3.1 --nodegroup 1 
- Remove and create again network-group 
 
Set the
render_addr_maskparameter tointernalfor this network by typing: :fuel network-group --set --network 6 \ --meta '{"name": "private", "notation": "cidr",\ "render_type": null, "map_priority": 2, \ "configurable": true, "use_gateway": true,\ "render_addr_mask": "internal", "vlan_start": null, \ "cidr": "10.109.3.0/24"}'Save sample
network template<examples/network_template_1.yaml>Upload the network template by typing: :
fuel --env 1 network-template --upload --dir /root/Start deployment by pressing
Deploy changesbutton.
