feat(network): implement peer discovery features and UI integration
CI / changes (push) Successful in 6s
CI / commitlint (push) Skipped
CI / openapi (push) Successful in 28s
CI / web (push) Successful in 52s
CI / go (push) Successful in 2m22s
CI / bird2 (push) Successful in 15s
CI / release (push) Successful in 4m36s
CI / changes (push) Successful in 6s
CI / commitlint (push) Skipped
CI / openapi (push) Successful in 28s
CI / web (push) Successful in 52s
CI / go (push) Successful in 2m22s
CI / bird2 (push) Successful in 15s
CI / release (push) Successful in 4m36s
Added functionality for peer discovery, including new API endpoints for listing, approving, and rejecting discovered peers. Updated the network queries and settings to support peer discovery configurations. Enhanced the UI to display discovered peers and integrated related settings in the tenant settings component. Updated OpenAPI documentation to reflect the new endpoints and parameters. This improves the network management capabilities by allowing dynamic peer discovery and management.
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
# tags: dynamic, discovery, bgp
|
||||
# Dynamic BGP discovery quarantine listener (neighbor range + import/export none).
|
||||
|
||||
router id 192.0.2.1;
|
||||
|
||||
protocol device {
|
||||
}
|
||||
|
||||
protocol direct {
|
||||
ipv4;
|
||||
ipv6;
|
||||
}
|
||||
|
||||
filter evobgp_export_v4 {
|
||||
if net ~ [ 203.0.113.0/24 ] then accept;
|
||||
reject;
|
||||
}
|
||||
|
||||
filter evobgp_export_v6 {
|
||||
reject;
|
||||
}
|
||||
|
||||
template bgp bgp_template {
|
||||
local as 65001;
|
||||
ipv4 {
|
||||
import none;
|
||||
export filter evobgp_export_v4;
|
||||
};
|
||||
hold time 90;
|
||||
keepalive time 30;
|
||||
}
|
||||
|
||||
template bgp bgp_template_v6 {
|
||||
local as 65001;
|
||||
ipv6 {
|
||||
import none;
|
||||
export filter evobgp_export_v6;
|
||||
};
|
||||
hold time 90;
|
||||
keepalive time 30;
|
||||
}
|
||||
|
||||
protocol bgp evobgp_discover_v4 from bgp_template {
|
||||
neighbor range 198.51.100.0/24 external;
|
||||
dynamic name "evobgp_dyn_";
|
||||
dynamic name digits 4;
|
||||
multihop;
|
||||
passive;
|
||||
ipv4 {
|
||||
import none;
|
||||
export none;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user