{ "plugins": { // Load vpp renderer plugin "renderer": ["libopflex_agent_renderer_vpp.so"] }, "renderers": { // vpp renderer configuration // "vpp": { // Put configuration specific to renderer plugin here. // "inspect-socket": "/usr/local/var/run/opflex-agent-vpp-inspect.sock", // "encap": { // "vxlan" : { // "encap-iface": "vpp_vxlan0", // // The name of the interface whose IP should be used // // as the source IP in encapsulated traffic. // "uplink-iface": "team0.4093", // // // The vlan tag, if any, used on the uplink interface. // // Set to zero or omit if the uplink is untagged. // "uplink-vlan": 4093, // // // The IP address used for the destination IP in // // the encapsulated traffic. This should be an // // anycast IP address understood by the upstream // // stiched-mode fabric. // "remote-ip": "10.0.0.32", // // // UDP port number of the encapsulated traffic. // "remote-port": 4789 // }, // // Encapsulate traffic with a locally-significant VLAN // // tag // "vlan" : { // "encap-iface": "team0", // // The name of the interface VPP will consume for uplink // "uplink-iface": "veth-uplink", // "uplink-iface": "BondEthernet0", // "uplink-slaves" : [ // "veth-uplink1", // "veth-uplink2" // ], // // The vlan tag, used on the uplink interface. // // for control traffic. // "uplink-vlan": 4093, // // The dhcp options // "dhcp-opt": [ // "opt-1", // "opt-2", // "opt-3" // ] // } // }, // "forwarding": { // // Configure the virtual distributed router // "virtual-router": { // // Enable virtual distributed router. Set to true // // to enable or false to disable. // // Default: true. // "enabled": true, // // // Override MAC address for virtual router. // // Default: "00:22:bd:f8:19:ff" // "mac": "00:22:bd:f8:19:ff", // // // Configure IPv6-related settings for the virtual // // router // "ipv6" : { // // Send router advertisement messages in // // response to router solicitation requests as // // well as unsolicited advertisements. This // // is not required in stitched mode since the // // hardware router will send them. // "router-advertisement": false // } // } // }, // // Cross connect interfaces // "x-connect" : [ // // pair consists of two interfaces. Each interface has name, optional VLAN and IP addresses // { // "east" : { // "iface" : "veth-uplink", // "vlan" : 2222, // "ip-address" : "10.0.0.10", // "tag-rewrite" : "pop" // }, // "west" : { // "iface" : "veth-storage-mgmt", // "vlan" : 3333, // "ip-address" : "10.0.0.20" // } // }, // { // "east" : { // "iface" : "BondEthernet0", // "vlan" : 2222, // "ip-address" : "10.0.0.10", // "tag-rewrite" : "pop" // }, // "west" : { // "iface" : "veth-storage", // "vlan" : 1111, // "ip-address" : "10.0.0.40" // } // } // ] // } } }