Configuration Reference¶
This section provides configuration options for networking-odl, that needs to be set in addition to neutron configuration, for all other configuration examples like neutron.conf and ml2_conf.ini, neutron repo can be referred.
ml2_odl¶
- 
url¶ - Type
 string
- Default
 <None>
HTTP URL of OpenDaylight REST interface.
- 
username¶ - Type
 string
- Default
 <None>
HTTP username for authentication.
- 
password¶ - Type
 string
- Default
 <None>
HTTP password for authentication.
- 
timeout¶ - Type
 integer
- Default
 10
HTTP timeout in seconds.
- 
session_timeout¶ - Type
 integer
- Default
 30
Tomcat session timeout in minutes.
- 
sync_timeout¶ - Type
 floating point
- Default
 10
Sync thread timeout in seconds or fraction.
- 
retry_count¶ - Type
 integer
- Default
 5
Number of times to retry a row before failing.
- 
maintenance_interval¶ - Type
 integer
- Default
 300
Journal maintenance operations interval in seconds.
- 
completed_rows_retention¶ - Type
 integer
- Default
 0
Time to keep completed rows (in seconds).For performance reasons it’s not recommended to change this from the default value (0) which indicates completed rows aren’t kept.This value will be checked every maintenance_interval by the cleanup thread. To keep completed rows indefinitely, set the value to -1
- 
enable_lightweight_testing¶ - Type
 boolean
- Default
 False
Test without real ODL.
- 
port_binding_controller¶ - Type
 string
- Default
 pseudo-agentdb-binding
Name of the controller to be used for port binding.
- 
processing_timeout¶ - Type
 integer
- Default
 100
Time in seconds to wait before a processing row is marked back to pending.
- 
odl_hostconf_uri¶ - Type
 string
- Default
 /restconf/operational/neutron:neutron/hostconfigs
Path for ODL host configuration REST interface
- 
restconf_poll_interval¶ - Type
 integer
- Default
 30
Poll interval in seconds for getting ODL hostconfig
- 
enable_websocket_pseudo_agentdb¶ - Type
 boolean
- Default
 False
Enable websocket for pseudo-agent-port-binding.
- 
odl_features_retry_interval¶ - Type
 integer
- Default
 5
Wait this many seconds before retrying the odl features fetch
- 
odl_features¶ - Type
 list
- Default
 <None>
A list of features supported by ODL.
- 
odl_features_json¶ - Type
 string
- Default
 <None>
Features supported by ODL, in the json format returnedby ODL. Note: This config option takes precedence overodl_features.
- 
enable_dhcp_service¶ - Type
 boolean
- Default
 False
Enables the networking-odl driver to supply special neutron ports of “dhcp” type to OpenDaylight Controller for its use in providing DHCP Service.
Configuration Samples¶
This section provides sample configuration file ml2_conf_odl.ini