chef/cookbooks/neutron/templates/default/opflex-agent-ovs.conf.erb
{
"log": {
"level": "debug2"
},
"opflex": {
"domain": "comp/prov-OpenStack/ctrlr-[<%= @opflex_apic_domain_name %>]-<%= @opflex_apic_domain_name %>/sw-InsiemeLSOid",
"name": "<%= @hostname %>",
"peers": [
{"hostname": "<%= @opflex_peer_ip %>", "port": "<%= @opflex_peer_port %>"}
],
"ssl": {
"mode": "enabled",
"ca-store": "/etc/ssl/certs/"
},
"inspector": {
"enabled": true,
"socket-name": "/var/run/opflex-agent-ovs-inspect.sock"
},
"notif": {
"enabled": true,
"socket-name": "/var/run/opflex-agent-ovs-notif.sock",
// "socket-owner": "root",
"socket-group": "<%= @socketgroup %>",
"socket-permissions": "770"
}
},
"endpoint-sources": {
"filesystem": ["/var/lib/opflex-agent-ovs/endpoints"]
},
"service-sources": {
"filesystem": ["/var/lib/opflex-agent-ovs/services"]
},
"renderers": {
"stitched-mode": {
"int-bridge-name": "<%= @opflex_int_bridge %>",
"access-bridge-name": "<%= @opflex_access_bridge %>",
"encap": {
"vxlan" : {
"encap-iface": "<%= @opflex_vxlan_encap_iface %>",
"uplink-iface": "<%= @opflex_vxlan_uplink_iface %>",
"uplink-vlan": <%= @opflex_vxlan_uplink_vlan %>,
"remote-ip": "<%= @opflex_vxlan_remote_ip %>",
"remote-port": <%= @opflex_vxlan_remote_port %>
}
},
"forwarding": {
"virtual-router": {
"enabled": true,
"mac": "00:22:bd:f8:19:ff",
"ipv6": {
"router-advertisement": false
}
},
"virtual-dhcp": {
"enabled": true,
"mac": "00:22:bd:f8:19:ff"
}
},
"flowid-cache-dir": "/var/lib/opflex-agent-ovs/ids",
"mcast-group-file": "/var/lib/opflex-agent-ovs/mcast/opflex-groups.json"
}
}
}