OpenStack Networking » History » Version 32

Thiago Paiva, 21 Jan 2014 19:54

1 12 Raphael Cóbe
h1. OpenStack Networking - Netron
2 1 Thiago Paiva
3 21 Thiago Paiva
XLCloud-Networking_Needs_Quantum.pdf: continuar da página 9
4 21 Thiago Paiva
5 22 Thiago Paiva
h2. Neutron
6 1 Thiago Paiva
7 22 Thiago Paiva
* Oferece uma API para definir a conexão de rede entre dispositivos de outros serviços OpenStack (e.g.: vNICs de máquinas virtuais com Nova)
8 22 Thiago Paiva
* Periféricos tem dois modos: controle e operação
9 22 Thiago Paiva
* Rede, portas e periféricos
10 22 Thiago Paiva
**   Modo de operação:
11 22 Thiago Paiva
***   Rede: List, get, add, update, remove
12 22 Thiago Paiva
***   Porta: List, get, add, update, remove
13 22 Thiago Paiva
***   Periférico: Get, plug, unplug
14 21 Thiago Paiva
15 21 Thiago Paiva
16 24 Thiago Paiva
h3. Neutron Manager
17 21 Thiago Paiva
18 21 Thiago Paiva
*   Gerenciador do Nova para o Neutron. Redireciona requisições relacionadas.
19 1 Thiago Paiva
*   Oferece outros serviços de rede (gerenciamento de IP, DHCP, NAT, ...)
20 21 Thiago Paiva
21 21 Thiago Paiva
22 24 Thiago Paiva
h2. Plugin Neutron
23 21 Thiago Paiva
24 1 Thiago Paiva
*   Implementa todas as operações inclusas na "Network API v2.0".
25 1 Thiago Paiva
*   Traduz as operações da "Network API v2.0" em chamadas de reconfiguração de switches reais e virtuais.
26 1 Thiago Paiva
*   Pode ser compatível com mais de um tipo de switch.
27 1 Thiago Paiva
*   Define se as mensagens devem ser síncronas ou assíncronas
28 1 Thiago Paiva
*   implementa ou faz interface com qualquer tipo de SDN (OpenFlow, Orchestration, Tunneling, Network Interface, virtualization, ‘legacy’, ...)
29 1 Thiago Paiva
30 32 Thiago Paiva
h3. Componentes:
31 21 Thiago Paiva
32 32 Thiago Paiva
Um plugin geralmente é formado por códigos para:
33 32 Thiago Paiva
34 32 Thiago Paiva
* armazenar informação sobre a configução lógica atual da rede  (e.g., SQL database)
35 32 Thiago Paiva
* determina e armazena informações sobre o 'mapeamento' entre modelo lógico e rede física (e.g. escolhendo uma VLAN para representar uma rede virtual)..
36 32 Thiago Paiva
* comunica com um ou mais tipos de switches para configurá-los de acordo com o mapeamento. Isso pode ser na forma de um agente rodando no _hypervisor_ ou de código que remotamente se conecta a um switch e o reconfigura.
37 32 Thiago Paiva
38 32 Thiago Paiva
39 24 Thiago Paiva
h2. Neutron e SDN
40 21 Thiago Paiva
41 24 Thiago Paiva
* Camadas:
42 24 Thiago Paiva
*# presentation: configuration managers, operational APIs, ...
43 24 Thiago Paiva
*# virtual network application: L2 switch, firewall, load balancer, router, ...
44 24 Thiago Paiva
*# controller: floodlight, cisco overdrive, nicira OVP, ...
45 24 Thiago Paiva
*# management: VxLan, STT, OpenFlow, SNMP, nvGRE, GRE, VLANs, NetConf, ...
46 24 Thiago Paiva
*# devices: Nexus 5k, UCS, Open vSwitch, OF-enabled switches, Linux Bridge, ...
47 21 Thiago Paiva
48 24 Thiago Paiva
* Neutron:
49 25 Thiago Paiva
*# presentation: operational APIs
50 25 Thiago Paiva
*# virtual network application: L2 switch
51 26 Thiago Paiva
*# controller; Neutron pode fazer interface  ou implementar essa camada.
52 26 Thiago Paiva
*# management: Neutron pode fazer interface  ou implementar essa camada.
53 26 Thiago Paiva
*# devices: Neutron pode fazer interface  ou implementar essa camada.
54 1 Thiago Paiva
55 26 Thiago Paiva
h2. Observações
56 1 Thiago Paiva
57 26 Thiago Paiva
* Neutron é apenas uma camada de abstração que unifica as chamadas de configuração. Quem realmente faz o trabalho é o Neutron Plugin.
58 26 Thiago Paiva
* Neutron controla a virtualização de rede (network services) da mesma forma que Nova controla a virtualização de servidores e instâncias.
59 26 Thiago Paiva
* Neutron fornece uma API para gerenciamento de rede pelos projetos (tenants)
60 26 Thiago Paiva
* Neutron pode definir topologias de rede complexas
61 26 Thiago Paiva
* Neutron consegue lidar com diferentes tecnologias de virtualização de rede.
62 32 Thiago Paiva
* Cria-se 'netork' e a associa auma 'sub-net'
63 1 Thiago Paiva
64 1 Thiago Paiva
65 26 Thiago Paiva
h2. Esquemas
66 21 Thiago Paiva
67 21 Thiago Paiva
68 26 Thiago Paiva
h3. Definições
69 21 Thiago Paiva
70 26 Thiago Paiva
* Neutron Plugin: centralized control and data model
71 26 Thiago Paiva
* AuthN: authentication
72 26 Thiago Paiva
* AuthZ: authorization
73 26 Thiago Paiva
* Backend: plugin interface
74 26 Thiago Paiva
* Quantum API core: conjunto mínimo de operações
75 21 Thiago Paiva
76 21 Thiago Paiva
77 26 Thiago Paiva
h3. Relações
78 21 Thiago Paiva
79 26 Thiago Paiva
* nova-compute <> VIF driver <> AMPQ <> nova-network <> Neutron manager <> API client <> Neutron API <> Neutron plugin
80 26 Thiago Paiva
* Neutron common:
81 26 Thiago Paiva
*# API e API Extension
82 26 Thiago Paiva
*# AuthN e AuthZ
83 26 Thiago Paiva
*# Backend
84 26 Thiago Paiva
*# Hypervisor(n)
85 30 Thiago Paiva
*#* VM (n) + eth(n) <> hypervisor's Network stack
86 1 Thiago Paiva
*#* Quantum plugin agent <> hypervisor's Network stack
87 1 Thiago Paiva
* Neutron Plugin <> Neutron common
88 1 Thiago Paiva
* Neutron Plugin <> Hypervisor(n) (quantum plugin agent)
89 1 Thiago Paiva
* Neutron Plugin <> Network switch (quantum plugin agent)
90 1 Thiago Paiva
91 1 Thiago Paiva
92 1 Thiago Paiva
h2. Quantum Plugin BaseClass
93 1 Thiago Paiva
94 1 Thiago Paiva
* get_all_networks(self, tenant_id, **kwargs): returns a dictionary containing all <network_uuid, network_name> for the specified tenant.
95 32 Thiago Paiva
* create_network(self, tenant_id, net_name, **kwargs): creates a new Virtual Network, and assigns it a symbolic name.
96 32 Thiago Paiva
* delete_network(self, tenant_id, net_id): deletes the network with the specified network identifier belonging to the specified tenant.
97 32 Thiago Paiva
* get_network_details(self, tenant_id, net_id): retrieves a list of all the remote vifs that are attached to the network.
98 32 Thiago Paiva
* update_network(self, tenant_id, net_id, **kwargs): updates the attributes of a particular Virtual Network.
99 32 Thiago Paiva
* get_all_ports(self, tenant_id, net_id, **kwargs): retrieves all port identifiers belonging to the specified Virtual Network.
100 32 Thiago Paiva
* create_port(self, tenant_id, net_id, port_state=None, **kwargs): creates a port on the specified Virtual Network.
101 32 Thiago Paiva
* update_port(self, tenant_id, net_id, port_id, **kwargs): updates the attributes of a specific port on the specified Virtual Network.
102 32 Thiago Paiva
* delete_port(self, tenant_id, net_id, port_id): deletes a port on a specified Virtual Network, if the port contains a remote interface attachment, the remote interface is first un-plugged and then the port is deleted
103 32 Thiago Paiva
* get_port_details(self, tenant_id, net_id, port_id): this method allows the user to retrieve a remote interface that is attached to this particular port
104 32 Thiago Paiva
* plug_interface(self, tenant_id, net_id, port_id, remote_interface_id): attaches a remote interface to the specified port on the specified Virtual Network.
105 32 Thiago Paiva
* unplug_interface(self, tenant_id, net_id, port_id): detaches a remote interface from the specified port on the specified Virtual Network.
106 32 Thiago Paiva
* __subclasshook__(cls, klass): the __subclasshook__ method is a class method that will be called (Already Implemented) everytime a class is tested using issubclass(klass, Plugin). In that case, it will check that every method marked with the abstractmethod decorator is provided by the plugin class
107 1 Thiago Paiva
108 21 Thiago Paiva
109 21 Thiago Paiva
h2. Dúvidas ou perguntas para orientação
110 27 Thiago Paiva
111 27 Thiago Paiva
* O que é e o que faz o Neutron Backend?
112 31 Thiago Paiva
* Como é feita a autenticação?
113 31 Thiago Paiva
* Quais são as funções da API?
114 21 Thiago Paiva
* Como definir quais máquinas físicas fazem parte da núvem?
115 21 Thiago Paiva
116 27 Thiago Paiva
117 1 Thiago Paiva
h2. Citações
118 21 Thiago Paiva
119 21 Thiago Paiva
"Because each plug-in implements all the operations included in Networking API v2.0, do not be concerned about which plug-in is used."
120 1 Thiago Paiva
121 21 Thiago Paiva
"Neutron exposes a logical API to define network connectivity between devices from other OpenStack  services (e.g., vNICs from Nova VMs). The logical connectivity  described using the API must be translated into actually configuration  on virtual and/or physical switches. This is where a Neutron plugin comes in. The Neutron plugin is able to talk to one or more types of switches and dynamically reconfigures the switches based on API calls."
122 21 Thiago Paiva
123 21 Thiago Paiva
124 21 Thiago Paiva
h2. Referências
125 27 Thiago Paiva
126 21 Thiago Paiva
h3. Visitadas
127 27 Thiago Paiva
128 21 Thiago Paiva
# http://docs.openstack.org/api/openstack-network/2.0/
129 27 Thiago Paiva
# http://www.slideshare.net/danwent/openstack-quantum-intro-os-meetup-32612
130 32 Thiago Paiva
# "OpenStack Quantum Networking update":https://www.youtube.com/watch?v=_I1SrO2QBpg
131 27 Thiago Paiva
# https://wiki.openstack.org/wiki/NeutronDevelopment
132 27 Thiago Paiva
# http://docs.openstack.org/havana/config-reference/content/
133 32 Thiago Paiva
# "Networking plug-ins":http://docs.openstack.org/havana/config-reference/content/networking-options-plugins.html
134 21 Thiago Paiva
135 27 Thiago Paiva
h3. Não visitadas
136 21 Thiago Paiva
137 27 Thiago Paiva
# http://www.ovirt.org/images/b/b3/Quantum_Ovirt_discussion-20111103.pdf
138 27 Thiago Paiva
# http://events.csdn.net/OpenStack/Takashi Torii-OpenStack and OpenFlowSDN.pdf
139 27 Thiago Paiva
# http://www.openstack.org/assets/presentation-media/HK-Openstack-Namespaces1-.pdf
140 27 Thiago Paiva
# http://www.iaas.uni-stuttgart.de/lehre/vorlesung/aktuell/vorlesungen/smcc/materialien/SoftwareDefinedNetwork_20131024_v04.pdf
141 27 Thiago Paiva
# http://www.cisco.com/en/US/prod/collateral/switches/ps9441/ps11541/data_sheet_c78-727737.pdf
142 27 Thiago Paiva
# http://www.linux-kvm.org/wiki/images/7/7b/Kvm-forum-2013-openstack.pdf
143 21 Thiago Paiva
144 21 Thiago Paiva
145 21 Thiago Paiva
146 21 Thiago Paiva
147 21 Thiago Paiva
148 21 Thiago Paiva
149 21 Thiago Paiva
150 1 Thiago Paiva
151 20 Thiago Paiva
152 20 Thiago Paiva
153 20 Thiago Paiva
154 20 Thiago Paiva
155 20 Thiago Paiva
156 20 Thiago Paiva
157 20 Thiago Paiva
158 20 Thiago Paiva
159 20 Thiago Paiva
160 20 Thiago Paiva
161 20 Thiago Paiva
162 20 Thiago Paiva
163 20 Thiago Paiva
164 20 Thiago Paiva
165 20 Thiago Paiva
166 20 Thiago Paiva
167 20 Thiago Paiva
168 20 Thiago Paiva
169 20 Thiago Paiva
170 20 Thiago Paiva
171 20 Thiago Paiva
172 20 Thiago Paiva
173 20 Thiago Paiva
174 20 Thiago Paiva
175 20 Thiago Paiva
176 20 Thiago Paiva
177 20 Thiago Paiva
178 20 Thiago Paiva
179 20 Thiago Paiva
180 20 Thiago Paiva
181 13 Raphael Cóbe
h2. Netron Standard Architecture
182 13 Raphael Cóbe
183 14 Raphael Cóbe
184 14 Raphael Cóbe
!http://docs.openstack.org/trunk/openstack-network/admin/content/figures/1/figures/Quantum-PhysNet-Diagram.png!
185 14 Raphael Cóbe
Imagem retirada da Documentação Openstack Network Admin: http://docs.openstack.org/trunk/openstack-network/admin/
186 14 Raphael Cóbe
187 13 Raphael Cóbe
* cloud controller host (Cloud Controller Node): quantum-server, nova-api, nova-scheduler, keystone, RabbitMQ, MySQL.
188 13 Raphael Cóbe
* network gateway host (Network Node): quantum-metadata-agent, quantum-dhcp-agent, quantum-l3-agent, quantum-*-plugin-agent
189 13 Raphael Cóbe
* conjunto de hypervisors para rodar VMs. Compute node: nova-compute, quantum-*-plugin-agent
190 13 Raphael Cóbe
191 13 Raphael Cóbe
> cloud controller host e network gateway host podem ser combinados em uma máquina, porém é recomendado que exista um network gateway host separado para evitar restrições de CPU entre os encaminhamentos realizados pelo quantum-l3-agent e outros serviços OS.
192 13 Raphael Cóbe
193 13 Raphael Cóbe
* DataNetwork: comunicação de dados dentro da implementação de nuvem.
194 13 Raphael Cóbe
* Management Network: comunicações entre componentes OS.
195 13 Raphael Cóbe
* External Network: oferece acesso à internet à implementação OS.
196 13 Raphael Cóbe
* API Network: expõe todas as APIs do OS, incluindo  a Netron API para os tenants. Pode ser a própria rede externa utilizando o recurso de subredes para separação.
197 13 Raphael Cóbe
198 13 Raphael Cóbe
199 13 Raphael Cóbe
200 13 Raphael Cóbe
201 13 Raphael Cóbe
202 12 Raphael Cóbe
h2. Neutron Server
203 1 Thiago Paiva
204 12 Raphael Cóbe
quantum-server: processo principal do Netron. Expõe Netron API e encaminha as requisições de usuário para o plugin.
205 1 Thiago Paiva
206 1 Thiago Paiva
207 12 Raphael Cóbe
h2. Agentes
208 1 Thiago Paiva
209 12 Raphael Cóbe
Agentes enviam mensagens para o Quantum-Server via RPC (rabbitmq ou qpid) ou Netron API padrão (REST).
210 1 Thiago Paiva
211 7 Thiago Paiva
* plugin agent (quantum-*-agent): roda em cada hypervisor para realizar configuração local do vswitch. Dependente do plugin escolhido.
212 7 Thiago Paiva
* dhcp agent (quantum-dhcp-agent). serviço de DHCP para redes dos tentents. Usado quando as VMs devem receber IP de forma automatizada. Endereços via DHCP. Requer no mínimo dnsmasq 2.59. Configurado especificamente para o plugin utilizado.
213 7 Thiago Paiva
* L3 agent (quantum-l3-agent). Encaminhamento L3/NAT para oferecer acessos as redes externas. Roteador que conecta as redes L2. Fica no Network Node. Usa: Linux IP Stack e IP tables.
214 11 Raphael Cóbe
** Deve-se garantir que existam rotas entre o serviço de metadata do host e cada rede privada.
215 11 Raphael Cóbe
** Nós que rodem quantum-l3-agent não devem ter endereços IP especificados manualmente para a NIC conectada a rede externa e sim uma faixa de IPs que poderá ser usada para roteamento.
216 11 Raphael Cóbe
217 10 Raphael Cóbe
<pre>
218 10 Raphael Cóbe
$ sudo ovs-vsctrl add-br br-ext
219 10 Raphael Cóbe
$ sudo ovs-vsctrl add-port br-ext eth1
220 10 Raphael Cóbe
</pre>
221 1 Thiago Paiva
222 7 Thiago Paiva
* não é possível executar ping para IPs fixos. Ao invés disso, usar: router network namespace (qrouter-<UUID>)
223 10 Raphael Cóbe
<pre> $ ip netns exec qrouter-<UUID> ping <fixed ip> </pre>
224 1 Thiago Paiva
225 1 Thiago Paiva
226 12 Raphael Cóbe
h2. Netron API
227 1 Thiago Paiva
228 1 Thiago Paiva
Serviço de redes virtual. Define conexões e endereços para os outros serviços.
229 1 Thiago Paiva
230 2 Thiago Paiva
* Network: segmento L2 isolado (análogo a uma VLAN).
231 7 Thiago Paiva
* Subnet: bloco de endereços de IP (V4 ou V6) e estados de configuração   associados.
232 1 Thiago Paiva
* Port: ponto para conexção de dispositivos.
233 1 Thiago Paiva
<pre>
234 1 Thiago Paiva
    network <-- port
235 3 Thiago Paiva
       |          |
236 3 Thiago Paiva
        -------------- subnet
237 1 Thiago Paiva
</pre>
238 1 Thiago Paiva
239 1 Thiago Paiva
> fixed_ips é atributo do port
240 1 Thiago Paiva
> port.fixed_ips = {<IP1>:<subnet1>, <IP2>:<subnet2>, ...}
241 1 Thiago Paiva
242 1 Thiago Paiva
243 1 Thiago Paiva
h2. Netron Plugins
244 12 Raphael Cóbe
245 1 Thiago Paiva
Projeto original assume um modelo muito básico para realizar isolamento através de Linux VLANs e tabelas IP. Netron introduz o conceito de plugin, que é a
246 7 Thiago Paiva
implementação de requisições lógicas de API em forma de um back-end acoplável. Padrão: Open vSwitch e Linux Bridge. Plugin deve estar em cada nó que usa
247 7 Thiago Paiva
pacotes de dados.
248 1 Thiago Paiva
249 1 Thiago Paiva
Os plugins devem processar chamadas de API e gerenciar vSwitches.
250 8 Thiago Paiva
251 1 Thiago Paiva
OpenVSwitch: open vswitch, quantum-plugin-openvswitch-agent
252 1 Thiago Paiva
253 15 Raphael Cóbe
<pre>
254 1 Thiago Paiva
$ sudo ovs-vsctrl add-br br-int
255 15 Raphael Cóbe
</pre>
256 1 Thiago Paiva
257 12 Raphael Cóbe
* br-int: integration bridge, nome padrão e fixo.
258 1 Thiago Paiva
259 1 Thiago Paiva
260 12 Raphael Cóbe
h2. Netron Command Line Application
261 1 Thiago Paiva
262 1 Thiago Paiva
Requer: python-pyparsing, python-cliff, python-quantumclient
263 1 Thiago Paiva
264 1 Thiago Paiva
265 15 Raphael Cóbe
h2. OpenStack Compute
266 1 Thiago Paiva
267 12 Raphael Cóbe
Interagem com Netron através da API. Comunica com Netron API para connectar cada vNIC da VM em uma rede em particular.
268 1 Thiago Paiva
269 1 Thiago Paiva
h2. Neutron Client
270 1 Thiago Paiva
271 1 Thiago Paiva
agent-*
272 1 Thiago Paiva
273 1 Thiago Paiva
dhcp-agent-*
274 1 Thiago Paiva
275 1 Thiago Paiva
ext-* (extensões)
276 1 Thiago Paiva
277 1 Thiago Paiva
floatingip-*
278 1 Thiago Paiva
279 1 Thiago Paiva
l3-agent-*
280 1 Thiago Paiva
281 1 Thiago Paiva
lb-* (loading balance)
282 1 Thiago Paiva
    lb-pool-*
283 1 Thiago Paiva
    lb-healthmonitor-*
284 1 Thiago Paiva
    lb-member-*
285 1 Thiago Paiva
    lb-vip-*
286 1 Thiago Paiva
287 1 Thiago Paiva
net-*
288 1 Thiago Paiva
289 1 Thiago Paiva
queue-*
290 1 Thiago Paiva
291 1 Thiago Paiva
router-*
292 1 Thiago Paiva
293 1 Thiago Paiva
security-*
294 1 Thiago Paiva
295 1 Thiago Paiva
subnet-*
296 1 Thiago Paiva
297 1 Thiago Paiva
quota-*
298 1 Thiago Paiva
299 1 Thiago Paiva
security-group-*
300 1 Thiago Paiva
301 12 Raphael Cóbe
h2. Exemplos - Netron API
302 16 Raphael Cóbe
303 15 Raphael Cóbe
<pre>
304 1 Thiago Paiva
$ quantum net-create net1
305 1 Thiago Paiva
$ quantum net-create net2 --provider:network_type local
306 1 Thiago Paiva
$ quantum net-create --tenant-id=<id> net1
307 1 Thiago Paiva
308 1 Thiago Paiva
$ quantum subnet-create net1 192.168.0.2/22 --name subnet1
309 1 Thiago Paiva
310 1 Thiago Paiva
$ quantum port-create net1 --fixed-ip ip_addr=192.168.2.40
311 1 Thiago Paiva
$ quantum port-create net1
312 1 Thiago Paiva
$ quantum port-list --fixed-ips
313 1 Thiago Paiva
$ quantum port-list --tenant-id=<tenant id>
314 1 Thiago Paiva
$ quantum port-list --device-id=<vm id>
315 1 Thiago Paiva
316 15 Raphael Cóbe
</pre>
317 15 Raphael Cóbe
318 1 Thiago Paiva
* as redes já devem estar criadas para serem adicionadas na instanciação das VMs
319 15 Raphael Cóbe
<pre>
320 1 Thiago Paiva
$ nova boot --image=<img id> --flavor=<fl id> --nic net_id=<net id> <vm name>
321 15 Raphael Cóbe
</pre>
322 1 Thiago Paiva
* para ip fixo (port deve ser criado antes da instanciação)
323 15 Raphael Cóbe
<pre>
324 1 Thiago Paiva
$ nova boot --image=<img id> --flavor=<fl id> --nic port_id=<net id> <vm name>
325 15 Raphael Cóbe
</pre>
326 1 Thiago Paiva
327 12 Raphael Cóbe
h2. Físico -> Virtual
328 1 Thiago Paiva
329 1 Thiago Paiva
1) eth0 (VM)
330 1 Thiago Paiva
2) TAP VNET0 (hypervisor network interface card, VIF, vNIC)
331 7 Thiago Paiva
3) LINUX BRIDGE qbrXXX (hub, multi NIC, virtual ou físico)
332 1 Thiago Paiva
4) veth pair {qcbXXX, qvoXXX} (entra de um lado e sai do outro)
333 1 Thiago Paiva
5) open switch bridge br-int (virtual switch, integration bridge,todos as VM estão conectadas a ele)
334 1 Thiago Paiva
6) veth pair (int-br-eth1, phy-br-eth1)
335 1 Thiago Paiva
7) physical network interface card eth1
336 1 Thiago Paiva
337 12 Raphael Cóbe
h2. Ryu
338 16 Raphael Cóbe
339 15 Raphael Cóbe
<pre>
340 1 Thiago Paiva
$ sudo pip install ryu
341 7 Thiago Paiva
$ sudo apt-get install quantum-plugin-ryu-agent openvswitch-switch python-openvswitch openvswitch-datapath-dkms
342 15 Raphael Cóbe
</pre>
343 19 Raphael Cóbe
344 7 Thiago Paiva
* ovs_ryu_plugin.ini e quantum.conf devem ser copiados em cada nó que tenha agente ryu
345 1 Thiago Paiva
346 1 Thiago Paiva
347 17 Raphael Cóbe
h2. Floodlight
348 19 Raphael Cóbe
349 17 Raphael Cóbe
350 17 Raphael Cóbe
Floodlight pode ser utilizado como o backend para o OpenStack Network utilizando um Plug-in para Neutron. O Neutron expõe um modelo de networking-as-a-service via API REST implementada no Floodlight. Dois componentes principais são utilizados para essa integração: um aplicativo Virtual Switch do Floodlight que implementa a Neutron API e o o RestProxy plugin que conecta o Neutron com o Floodlight.
351 17 Raphael Cóbe
352 17 Raphael Cóbe
Conexão entre FloodLight e Neutron em dois passos:
353 17 Raphael Cóbe
354 17 Raphael Cóbe
# Rodar o REST Proxy Plug-in no neutron-server. Esse plugin foi projetado para rodar como parte do Neutro service. 
355 17 Raphael Cóbe
# Habilitar o Virtual Switch no Floodlight (antigo Virtual Network Filter). Esse é o módulo que implementa um isolamento de nível 2 (baseado em MAC) em redes openflow. Esse módulo vem com o Floodlight por padrão e não depende do Neutron ou do Openstack para ser executado.
356 17 Raphael Cóbe
357 17 Raphael Cóbe
358 12 Raphael Cóbe
h2. Not to do
359 1 Thiago Paiva
360 7 Thiago Paiva
* Proxies ainda não implementados então não se deve executar:
361 1 Thiago Paiva
** nova-manage
362 1 Thiago Paiva
** nova para administrar recursos de rede