Add some javadoc to Cumulus VS data structures
@@ -12,14 +12,20 @@ public class BgpL2vpnEvpnAddressFamily implements Serializable {
private boolean _advertiseDefaultGw;
private @Nullable BgpL2VpnEvpnIpv4Unicast _advertiseIpv4Unicast;
+ /** Whether to generate type 3 VTEP reachability advertisements for all defined VNIs */
public boolean getAdvertiseAllVni() {
return _advertiseAllVni;
}
+ /**
+ * Whether to generate a type 2 route for the IP address of the SVI associated with a defined VNI
+ */
public boolean getAdvertiseDefaultGw() {
return _advertiseDefaultGw;
}
+ /** If not {@code null}, redistribute IPv4 routes into EVPN address family as type 5 routes */
+ @Nullable
public BgpL2VpnEvpnIpv4Unicast getAdvertiseIpv4Unicast() {
return _advertiseIpv4Unicast;
}
