<section xmlns="http://docbook.org/ns/docbook"
  xmlns:xi="http://www.w3.org/2001/XInclude"
  xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0"
  xml:id="nova-networking-controller-node">
  <title>Configure controller node</title>
  <para>Legacy networking primarily involves compute nodes. However, you must
    configure the controller node to use it.</para>
  <procedure>
    <title>To configure legacy networking</title>
    <step os="rhel;centos;fedora;sles;opensuse">
      <para>Run the following commands:</para>
      <screen><prompt>#</prompt> <userinput>openstack-config --set /etc/nova/nova.conf DEFAULT \
  network_api_class nova.network.api.API</userinput>
<prompt>#</prompt> <userinput>openstack-config --set /etc/nova/nova.conf DEFAULT \
  security_group_api nova</userinput></screen>
    </step>
    <step os="ubuntu;debian">
      <para>Edit the <filename>/etc/nova/nova.conf</filename> file and add the
        following keys to the <literal>[DEFAULT]</literal> section:</para>
      <programlisting language="ini">[DEFAULT]
...
network_api_class = nova.network.api.API
security_group_api = nova</programlisting>
    </step>
    <step>
      <para>Restart the Compute services:</para>
      <screen os="rhel;centos;fedora;sles;opensuse"><prompt>#</prompt> <userinput>service openstack-nova-api restart</userinput>
<prompt>#</prompt> <userinput>service openstack-nova-scheduler restart</userinput>
<prompt>#</prompt> <userinput>service openstack-nova-conductor restart</userinput></screen>
      <screen os="ubuntu;debian"><prompt>#</prompt> <userinput>service nova-api restart</userinput>
<prompt>#</prompt> <userinput>service nova-scheduler restart</userinput>
<prompt>#</prompt> <userinput>service nova-conductor restart</userinput></screen>
    </step>
  </procedure>
</section>