0% found this document useful (0 votes)
15 views6 pages

Aci Installation Guide Openstack Osp 16 1 - Openvswitch - Only

This document outlines the steps to deploy OpenStack 16.1 using the Openvswitch plugin without Opflex, emphasizing the need for a physical domain and host-link information. It details the preparation of the undercloud, the deployment process including configuration of roles and services, and the creation of necessary YAML files for deployment. Additionally, it specifies parameters and settings required for successful deployment while noting that SNAT and floating IPs are not supported in this configuration.

Uploaded by

blackmak626
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views6 pages

Aci Installation Guide Openstack Osp 16 1 - Openvswitch - Only

This document outlines the steps to deploy OpenStack 16.1 using the Openvswitch plugin without Opflex, emphasizing the need for a physical domain and host-link information. It details the preparation of the undercloud, the deployment process including configuration of roles and services, and the creation of necessary YAML files for deployment. Additionally, it specifies parameters and settings required for successful deployment while noting that SNAT and floating IPs are not supported in this configuration.

Uploaded by

blackmak626
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

APPENDIX X

Deploying with Openvswitch without Opflex


This section describes configuring Openstack 16.1 with openvswitch plugin only. When deploying using
openvswitch without opflex agent, only ACI mechanism and extension driver will be used. Please keep in
mind that l3 connectivity is provided by ACI, which means SNAT and floating IPs will not be supported.

Before you begin


To deploy with openvswitch plugin only, ensure that the plug-in requires following assets:
• A physical domain (physdom) with the correct VLAN pool.
• Host-link information (which compute node fabric Ethernet interface is connected to which leaf switch
port)

Cisco ACI Installation Guide for Red Hat OpenStack Using the OpenStack Platform 16.1 Director
55
Reference Information
Deploying with TLS

Procedure

Before deploying OpenStack Platform Overcloud, make sure you have one Physical Domain (physdom)
created per each physnet required. Add pdom_ prefix to the name of physical domain created. For
example,for physnet1 create pdom_physnet1, and attach the right VLAN pool.
You must also set NeutronNetworkVLANRanges and enable the third-party mechanism drivers using
ACIMechanismDrivers parameter, make sure that the apic_aim is the last mechanism in the list.

Prepare the undercloud for openvswitch installation

Follow steps 1-4 in section “Prepare Undercloud for Cisco ACI with OpFlex Orchestration” to install the ACI packages
and build openstack ACI containers

Deploy overcloud
Step 1 Copy the /usr/share/openstack-tripleo-heat-templates/roles_data.yaml file to a
private location.
Example:
cp /usr/share/openstack-tripleo-heat-templates/roles_data.yaml
/home/stack/templates/aci_roles_data.yaml

Step 2 Edit the local copy of roles_data.yaml(aci_roles_data.yaml) to add CiscoAciAIM and


CiscoAciLldp service to the controller role and CiscoAciLldp service to the compute role.
a) Under the controller role, add the following lines:
- OS::TripleO::Services::CiscoAciAIM
- OS::TripleO::Services::CiscoAciLldp

b) Under the compute role, add the following line:


- OS::TripleO::Services::CiscoAciLldp

Step 3 Create a yaml file, e.g. “neutron-ovs-only.yaml” with below resources.


Example:

resource_registry:
OS::TripleO::ControllerExtraConfigPre: /opt/ciscoaci-tripleo-heat-templates//nodepre.yaml
OS::TripleO::Docker::NeutronMl2PluginBase: /opt/ciscoaci-tripleo-heat-
templates/deployment/neutron/neutron-ml2-ciscoaci.yaml
OS::TripleO::Services::NeutronServer: /usr/share/openstack-tripleo-heat-
templates/deployment/neutron/neutron-api-container-puppet.yaml
OS::TripleO::Services::NeutronApi: /usr/share/openstack-tripleo-heat-
templates/deployment/neutron/neutron-api-container-puppet.yaml
OS::TripleO::Services::NeutronCorePlugin: /usr/share/openstack-tripleo-heat-
templates/deployment/neutron/neutron-plugin-ml2-container-puppet.yaml
OS::TripleO::Services::NeutronMetadataAgent: /usr/share/openstack-tripleo-heat-
templates/deployment/neutron/neutron-metadata-container-puppet.yaml
OS::TripleO::Services::NeutronOvsAgent: /usr/share/openstack-tripleo-heat-
templates/deployment/neutron/neutron-ovs-agent-container-puppet.yaml
OS::TripleO::Services::NeutronDhcpAgent: /usr/share/openstack-tripleo-heat-
templates/deployment/neutron/neutron-dhcp-container-puppet.yaml
OS::TripleO::Services::CiscoAciAIM: /opt/ciscoaci-tripleo-heat-
templates/deployment/aciaim/cisco-aciaim-container-puppet.yaml
OS::TripleO::Services::NeutronL3Agent: OS::Heat::None

OS::TripleO::ComputeExtraConfigPre: /opt/ciscoaci-tripleo-heat-templates//nodepre.yaml
OS::TripleO::Services::ComputeNeutronOvsAgent: /usr/share/openstack-tripleo-heat-
templates/deployment/neutron/neutron-ovs-agent-container-puppet.yaml

Cisco ACI Installation Guide for Red Hat OpenStack Using the OpenStack Platform 16.1 Director
56
Reference Information
Reference Information
OS::TripleO::Services::CiscoAciLldp: /opt/ciscoaci-tripleo-heat-
templates/deployment/lldp/cisco_lldp.yaml

# Disable OVN services


OS::TripleO::Services::OVNController: OS::Heat::None
OS::TripleO::Services::OVNDBs: OS::Heat::None
OS::TripleO::Services::OVNMetadataAgent: OS::Heat::None
OS::TripleO::Services::CiscoAciOpflexAgent: OS::Heat::None
OS::TripleO::Network::Ports::OVNDBsVipPort: /usr/share/openstack-tripleo-heat-
templates/network/ports/noop.yaml

parameter_defaults:

NeutronPluginExtensions: 'apic_aim,qos,port_security,dns'

NeutronTypeDrivers: 'vlan,flat,gre'
NeutronNetworkType: 'vlan'
NeutronServicePlugins: 'router,qos,segments,trunk,port_forwarding'
NeutronVniRanges: ['1:65536', ]
KernelIpNonLocalBind: 0

EC2MetadataIp: 10.10.250.67
ControlPlaneDefaultRoute: 10.10.250.67
DockerInsecureRegistryAddress: ["ndirector16.ctlplane.localdomain:8787",
"10.10.250.67:8787"]
NeutronCorePlugin: 'ml2plus'
NeutronPluginMl2PuppetTags: 'neutron_plugin_ml2,neutron_plugin_cisco_aci'
NeutronServicePlugins: 'group_policy,ncp,apic_aim_l3'
NeutronEnableIsolatedMetadata: true
NeutronEnableForceMetadata: true
EnablePackageInstall: true
ACIScopeNames: true
ACIYumRepo: http://10.10.250.67:8787/v2/__acirepo
ACIApicHosts: 10.105.1.10
ACIApicUsername: admin
ACIApicPassword: cisco123
ACIApicSystemId: osp16_cert
ACIApicEntityProfile: OSP10
ACIApicInfraVlan: 4093
ACIApicInfraSubnetGateway: 10.0.0.30
ACIApicInfraAnycastAddr: 10.0.0.32
ACIOpflexUplinkInterface: ens8
ACIOptimizedMetadata: false
HeatEnginePluginDirs:
/usr/lib64/heat,/usr/lib/heat,/usr/local/lib/heat,/usr/local/lib64/heat,/usr/lib/python2.7/sit
e-packages/gbpautomation/heat
NeutronGlobalPhysnetMtu: 9000
NtpServer: ['10.105.1.22']
NeutronPluginMl2PuppetTags:
'neutron_plugin_ml2,neutron_plugin_cisco_aci,neutron_sfc_service_config'
AciExternalRoutedDomain: 'demo'
ACIMechanismDrivers: openvswitch,apic_aim
AciOpenvswitch: true
NeutronBridgeMappings: 'physnet1:br-ex'
NeutronTunnelTypes: ''
NeutronOVSFirewallDriver:
'neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver'
NeutronEnableDVR: false
NeutronNetworkVLANRanges: physnet1:400:499

Step 4. You can now deploy the overcloud by including the above files in your deployment command.

openstack overcloud deploy --no-cleanup --templates /home/stack/tripleo-heat-templates -r


/home/stack/templates/custom_roles_data.yaml -e /home/stack/tripleo-heat-
templates/environments/network-isolation.yaml -e /home/stack/templates/network-
environment.yaml -e /home/stack/templates/containers-prepare-parameter.yaml -e
/home/stack/templates/ciscoaci_containers.yaml -e /home/stack/templates/neutron-ovs.yaml -e
/home/stack/templates/rhsm.yaml

Cisco ACI Installation Guide for Red Hat OpenStack Using the OpenStack Platform 16.1 Director
57
Reference Information
Reference Information

Cisco ACI Installation Guide for Red Hat OpenStack Using the OpenStack Platform 16.1 Director
66

You might also like