diff --git a/doc/admin-guide-cloud/networking/section_networking_config-agents.xml b/doc/admin-guide-cloud/networking/section_networking_config-agents.xml index ec8f546cfb..dcaad0574b 100644 --- a/doc/admin-guide-cloud/networking/section_networking_config-agents.xml +++ b/doc/admin-guide-cloud/networking/section_networking_config-agents.xml @@ -549,4 +549,40 @@ interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver +
+ Configure Hyper-V L2 agent + Before you install the OpenStack Networking Hyper-V L2 agent on a + Hyper-V compute node, ensure the compute node has been configured + correctly using these instructions. + + To install the OpenStack Networking Hyper-V agent and configure the node + + Download the OpenStack Networking code from the repository: + > cd C:\OpenStack\ +> git clone https://github.com/openstack/neutron.git + + + Install the OpenStack Networking Hyper-V Agent: + > cd C:\OpenStack\neutron\ +> python setup.py install + + + Copy the policy.json file: + > xcopy C:\OpenStack\neutron\etc\policy.json C:\etc\ + + + Create the C:\etc\neutron-hyperv-agent.conf file and add the + proper configuration options and the Hyper-V + related options. Here is a sample config file: + + + + Start the OpenStack Networking Hyper-V agent: + > C:\Python27\Scripts\neutron-hyperv-agent.exe --config-file C:\etc\neutron-hyperv-agent.conf + + +
diff --git a/doc/common/samples/neutron-hyperv-agent.conf b/doc/common/samples/neutron-hyperv-agent.conf new file mode 100644 index 0000000000..50d4170a60 --- /dev/null +++ b/doc/common/samples/neutron-hyperv-agent.conf @@ -0,0 +1,20 @@ +[DEFAULT] +verbose = true +control_exchange = neutron +policy_file = C:\etc\policy.json +rpc_backend = neutron.openstack.common.rpc.impl_kombu +rabbit_host = IP_ADDRESS +rabbit_port = 5672 +rabbit_userid = guest +rabbit_password = +logdir = C:\OpenStack\Log +logfile = neutron-hyperv-agent.log + +[AGENT] +polling_interval = 2 +physical_network_vswitch_mappings = *:YOUR_BRIDGE_NAME +enable_metrics_collection = true + +[SECURITYGROUP] +firewall_driver = neutron.plugins.hyperv.agent.security_groups_driver.HyperVSecurityGroupsDriver +enable_security_group = true