Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
openstack:newton:network [2016/10/09 15:42] – créée madko | openstack:newton:network [2016/10/09 16:13] (Version actuelle) – [Configuration des agents] madko | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
====== Installation VM network ====== | ====== Installation VM network ====== | ||
+ | |||
+ | Il s'agit d' | ||
+ | |||
+ | ===== Installation des agents Neutron ===== | ||
+ | |||
+ | Installer les paquets suivants : | ||
+ | |||
+ | < | ||
+ | yum install openstack-neutron openstack-neutron-openvswitch | ||
+ | </ | ||
+ | ===== Configuration des agents ===== | ||
+ | |||
+ | Configuration de l' | ||
+ | |||
+ | < | ||
+ | [DEFAULT] | ||
+ | [agent] | ||
+ | tunnel_types = gre,vxlan | ||
+ | l2_population = True | ||
+ | [ovs] | ||
+ | local_ip = 192.168.200.2 | ||
+ | bridge_mappings = vlan: | ||
+ | [securitygroup] | ||
+ | firewall_driver = iptables_hybrid | ||
+ | </ | ||
+ | |||
+ | \\ | ||
+ | Configuration de l' | ||
+ | |||
+ | < | ||
+ | [DEFAULT] | ||
+ | interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver | ||
+ | external_network_bridge = | ||
+ | [AGENT] | ||
+ | </ | ||
+ | |||
+ | Configuration de l' | ||
+ | |||
+ | < | ||
+ | [DEFAULT] | ||
+ | interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver | ||
+ | enable_isolated_metadata = True | ||
+ | [AGENT] | ||
+ | </ | ||
+ | |||
+ | Configuration de l' | ||
+ | |||
+ | < | ||
+ | [DEFAULT] | ||
+ | nova_metadata_ip = controller.internal | ||
+ | metadata_proxy_shared_secret = METADATA_SECRET | ||
+ | [AGENT] | ||
+ | [cache] | ||
+ | </ | ||
+ | |||
+ | Pour activer et démarrer les agents : | ||
+ | |||
+ | < | ||
+ | systemctl enable neutron-l3-agent neutron-dhcp-agent neutron-metadata-agent neutron-openvswitch-agent openvswitch | ||
+ | systemctl start neutron-l3-agent neutron-dhcp-agent neutron-metadata-agent neutron-openvswitch-agent openvswitch | ||
+ | </ | ||
+ | |||
+ | Sur le controller : | ||
+ | |||
+ | < | ||
+ | </ | ||