1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
|
{
"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"
// }
// }
// ]
// }
}
}
|