remove unet and ospf config files
This commit is contained in:
@@ -1,28 +0,0 @@
|
||||
function unet_is_valid_network_v4() {
|
||||
return net ~ [
|
||||
10.50.0.0/16+,
|
||||
10.88.0.0/16+,
|
||||
10.21.0.0/16+,
|
||||
10.188.0.0/16+
|
||||
];
|
||||
}
|
||||
|
||||
function unet_is_valid_network_v4_anynet() {
|
||||
return net ~ [
|
||||
172.20.21.0/26+,
|
||||
44.32.191.0/24+
|
||||
];
|
||||
}
|
||||
|
||||
function unet_is_valid_network_v4_allnet(){
|
||||
if !unet_is_valid_network_v4_anynet() && !unet_is_valid_network_v4() then return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
function unet_is_voalid_net_v6(){
|
||||
return net ~ [
|
||||
2406:840:e600::/44{44,56},
|
||||
2a14:7580:9600::/40{40,56}
|
||||
];
|
||||
}
|
||||
@@ -1,9 +1,5 @@
|
||||
ipv4 table inet4;
|
||||
ipv6 table inet6;
|
||||
ipv4 table unet4;
|
||||
ipv6 table unet6;
|
||||
ipv4 table ospf4;
|
||||
ipv6 table ospf6;
|
||||
|
||||
protocol pipe inet6_sync {
|
||||
table inet6;
|
||||
@@ -23,39 +19,4 @@ protocol pipe inet4_sync {
|
||||
if bgp_large_community ~ [(LOCAL_ASN, 3,*)] then reject;
|
||||
accept;
|
||||
};
|
||||
}
|
||||
|
||||
protocol pipe unet4_sync {
|
||||
table unet4;
|
||||
peer table master4;
|
||||
export filter {
|
||||
if bgp_large_community ~ [(UNET_ASN, 3,*)] then reject;
|
||||
accept;
|
||||
};
|
||||
}
|
||||
protocol pipe unet6_sync {
|
||||
table unet6;
|
||||
peer table master6;
|
||||
export filter {
|
||||
if bgp_large_community ~ [(UNET_ASN, 3,*)] then reject;
|
||||
accept;
|
||||
};
|
||||
}
|
||||
|
||||
protocol pipe ospf4_sync {
|
||||
table ospf4;
|
||||
peer table master4;
|
||||
export filter {
|
||||
if bgp_large_community ~ [(UNET_ASN, 3,*)] then reject;
|
||||
accept;
|
||||
};
|
||||
}
|
||||
|
||||
protocol pipe ospf6_sync {
|
||||
table ospf6;
|
||||
peer table master6;
|
||||
export filter {
|
||||
if bgp_large_community ~ [(UNET_ASN, 3,*)] then reject;
|
||||
accept;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user