思科ACI-与OpenStack的集成

Installing the Cisco APIC OpenStack Driver
http://www.cisco.com/c/en/us/td/docs/switches/datacenter/aci/apic/sw/1-x/api/openstack/b_Cisco_APIC_OpenStack_Driver_Install_Guide/b_Cisco_APIC_OpenStack_Driver_Install_Guide_chapter_00.html

OpenStack (下面简称:O.S)是生成VM的一个工具组件,自带了虚拟交换机,要把多个 OpenStack 的Compute Node 互联起来,使用物理网络的Router 取代 O.S的软件Router。大家都在研究。

思科ACI也不例外。可以在O.S 上安装 ACI -APIC 的驱动程序,是的O.S 的配置,自动和APIC 配置相对应,做到一体化的管理和配置。

http://www.cisco.com/c/en/us/td/docs/switches/datacenter/aci/apic/sw/1-x/api/openstack/b_Cisco_APIC_OpenStack_Driver_Install_Guide.pdf

PDF version of 配置文档。

Installing the Cisco APIC OpenStack Driver, 先要安装 APIC O.S driver.

OpenStack integration uses two separate ML2 drivers to integrate with portions of the network:

Open virtual switch (open vSwitch, or OVS) driver—You can integrate with Cisco ACI using the OVS version included with most OpenStack distributions. This example uses an OVS driver in OpenStack neutron to select a VLAN tag for network and configure the tag on an OVS port on a hypervisor when virtual machines are instantiated.
This tag serves as an identifier for the Cisco ACI fabric. Cisco ACI does not require modifications to the OVS driver or the OVS itself.

Cisco APIC driver—The Cisco APIC driver transparently maps Neutron resources to the Cisco APIC application network profile configuration. The driver dynamically adds endpoint group (EPG) mappings as each virtual machine is instantiated on a network.

把O.S Neutron 生成的Object 和思科ACI里面的Object对应起来。

思科ACI-APIC driver for O.S 支持3种平台:

OpenStack Icehouse with Ubuntu 14.04

Red Hat OSP 5 (Red Hat Enterprise Linux 7)

Mirantis OpenStack 5

Each computing node contains an Open vSwitch. -- 每个计算节点上有一个虚拟交换机组件。an Open vSwitch.

使用思科ACI dirver 是有限制的:

The following OpenStack features are not currently supported:
Floating IP addresses -- 不支持浮动IP, 就是NAT。一般来说在数据中心内部不需要 NAT. 统一到 DMZ 区去做?请高手指点。

The Cisco APIC driver supports up to 4000 Neutron networks.
那就是只支持VLAN 模式?不支持 VxLAN ??

pip install apicapi
pip install apic-icehouse
apt-get install lldpd

装完要配置。老一套:Configuring the Cisco APIC Driver
There are three configuration files that need to be modified: neutron.conf, ml2_conf.ini, and ml2_cisco_conf.ini.

修改3个配置文件。

http://www.cisco.com/c/en/us/td/docs/switches/datacenter/aci/apic/sw/1-x/api/openstack/b_Cisco_APIC_OpenStack_Driver_Install_Guide.pdf

之后如何使用呢?Youtube 上有视频。
https://www.youtube.com/watch?v=pWMXTb237Vk
https://www.youtube.com/watch?v=pQXysWvCPRQ

思科ACI-与OpenStack的集成_第1张图片
O.S批处理命令
思科ACI和O.S

使用ACI和O.S 的好处:

  1. ACI policy model
  2. Physical + Virtua Servers
  3. Tunnels privided by Fabric (GRE tunntel etc).
  4. Service Chaining
  5. Telemetry
    health
    visibility
    troubleshooting

学以致用。

你可能感兴趣的:(思科ACI-与OpenStack的集成)