Configuration options

Networking-odl uses the following configuration options in the Neutron server configuration, which is typically /etc/neutron/neutron.conf.

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:integer
Default:10

(V2 driver) Sync thread timeout in seconds.

retry_count
Type:integer
Default:5

(V2 driver) Number of times to retry a row before failing.

maintenance_interval
Type:integer
Default:300

(V2 driver) Journal maintenance operations interval in seconds.

completed_rows_retention
Type:integer
Default:600

(V2 driver) Time to keep completed rows in seconds.Completed rows retention will be checked every maintenance_interval by the cleanup thread.To disable completed rows deletion value should be -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

(V2 driver) 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

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.