| <?xml version="1.0" encoding="UTF-8"?> |
| <!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ |
| <!ENTITY % BOOK_ENTITIES SYSTEM "cloudstack.ent"> |
| %BOOK_ENTITIES; |
| <!ENTITY % xinclude SYSTEM "http://www.docbook.org/xml/4.4/xinclude.mod"> |
| %xinclude; |
| ]> |
| <!-- Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| http://www.apache.org/licenses/LICENSE-2.0. |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| <section id="Enabling-the-service-provider"> |
| <title>Enabling the MidoNet service provider via the API</title> |
| <para> |
| To enable via the API, use the following API calls:</para> |
| <para><emphasis>addNetworkServiceProvider</emphasis></para> |
| <itemizedlist> |
| <listitem><para>name = "MidoNet"</para></listitem> |
| <listitem><para>physicalnetworkid = <the uuid of the physical network></para></listitem> |
| </itemizedlist> |
| <para><emphasis>updateNetworkServiceProvider</emphasis></para> |
| <itemizedlist> |
| <listitem><para>id = <the provider uuid returned by the previous call></para></listitem> |
| <listitem><para>state = "Enabled"</para></listitem> |
| </itemizedlist> |
| |
| |
| </section> |