Jump to: navigation, search

DevstackCiscoDFA


The script that supports cisco DFA mechanism driver installation in the devstack implements the following:

1. cisco_dfa is the name of mechanism driver. The user can specify the name in Q_ML2_PLUGIN_MECHANISM_DRIVERS.
2. lib/neutron_plugins/cisco (when cisco_dfa is enabled):
Add new section, i.e. DCNM, and parameters to the Q_PLUGIN_EXTRA_CONF_FILES.
(the file for cisco would be ml2_conf_cisco.ini)
The DCNM section will have the following parameters:

[DCNM]
ip=1.2.3.4
user=username
password=mypassword
gateway_mac=00:00:DE:AD:BE:EF


A set of new macro should be defined for each parameter which can be set in localrc.

3. Changes in keystone.conf
When cisco_dfa is enabled these optional parameters should be set in keystone.conf:

notification_topics = <cisco_dfa_notifcation_topics_name> 
notification_driver = messaging
rpc_backend=rabbit
control_exchange = <cisco_dfa_exchange_name>


3. Add new parameter to the [ovs] section in Q_PLUGIN_CONF_FILE
(For plugin the config file is ml2_conf.ini)

[ovs]
uplink_mappings = <physical interface>:<physnet1>
Example:
uplink_mappings = eth1:physnet1

4. Add new [mech_driver_agent] section in Q_PLUGIN_CONF_FILE
(For plugin the config file is ml2_conf.ini)
This is for supporting RPC for mechanism driver in agent side.

[mech_driver_agent]
mech_driver = <mechdriver name>:<mechdriver topic>:<agent's topic table name>
Example:
mech_driver = cisco_dfa:q-mechdrv-plugin:dfa


5 ./lib/neutron, lib/neutron_plugins/ml2:
Add new parameters to [agent] section in Q_PLUGIN_CONF_FILE (ml2_conf.ini) for vdp support:

[agent]
vdp_802_1_qbg = <True> 
host_overlay = <False>

6. Add new [ml2_type_overlay] section to the Q_PLUGIN_CONF_FILE (ml2_conf.ini). 
This introduces new parameter for network overlay segment range on each compute node.

[ml2_type_overlay]
network_overlay_segment_ranges = <ethd:12300:12500>

7. Add new [VDP] section to the Q_PLUGIN_CONF_FILE (ml2_conf.ini).
This introduces new parameters for VDP. 

[VDP]
mgrid2 = 0
typeid = 0
typedriver = 0
vsciidfmt = 5
hints = none
filter = 0


8. /lib/neutron_plugins/cisco_dfa, lib/neutron_thirdparty/cisco_dfa :
These are new files that should be added to support installation and running a package/process that cisco-dfa requires to operate.
In this case lldpad.