@@ -3876,7 +3876,7 @@ async fn test_multicast_group_id_recycling() -> TestResult {
3876
3876
3877
3877
switch. client . multicast_group_delete ( & group_ip1) . await ?;
3878
3878
3879
- let group_ip2 = IpAddr :: V4 ( Ipv4Addr :: new ( 224 , 0 , 0 , 100 ) ) ;
3879
+ let group_ip2 = IpAddr :: V4 ( Ipv4Addr :: new ( 224 , 0 , 1 , 100 ) ) ;
3880
3880
let external_create2 = types:: MulticastGroupCreateExternalEntry {
3881
3881
group_ip : group_ip2,
3882
3882
tag : Some ( "recycling_test_2" . to_string ( ) ) ,
@@ -3900,7 +3900,7 @@ async fn test_multicast_group_id_recycling() -> TestResult {
3900
3900
"Second group should have underlay group ID"
3901
3901
) ;
3902
3902
3903
- let group_ip3 = IpAddr :: V4 ( Ipv4Addr :: new ( 224 , 0 , 0 , 101 ) ) ;
3903
+ let group_ip3 = IpAddr :: V4 ( Ipv4Addr :: new ( 224 , 0 , 1 , 101 ) ) ;
3904
3904
let external_create3 = types:: MulticastGroupCreateExternalEntry {
3905
3905
group_ip : group_ip3,
3906
3906
tag : Some ( "recycling_test_3" . to_string ( ) ) ,
@@ -3953,15 +3953,15 @@ async fn test_multicast_group_id_reuse() -> TestResult {
3953
3953
let mut deleted_underlay_ids = Vec :: new ( ) ;
3954
3954
3955
3955
for i in 0 ..5 {
3956
- let group_ip = IpAddr :: V4 ( Ipv4Addr :: new ( 224 , 0 , 0 , 50 + i) ) ;
3956
+ let group_ip = IpAddr :: V4 ( Ipv4Addr :: new ( 224 , 0 , 1 , 50 + i) ) ;
3957
3957
let nat_target = create_nat_target_ipv4 ( ) ;
3958
3958
let external_create = types:: MulticastGroupCreateExternalEntry {
3959
3959
group_ip,
3960
3960
tag : Some ( format ! ( "id_reuse_test_{}" , i) ) ,
3961
3961
nat_target,
3962
3962
vlan_id : Some ( 10 ) ,
3963
3963
sources : None ,
3964
- } ;
3964
+ } ;
3965
3965
3966
3966
let created_group = switch
3967
3967
. client
@@ -3979,7 +3979,7 @@ async fn test_multicast_group_id_reuse() -> TestResult {
3979
3979
switch. client . multicast_group_delete ( & group_ip) . await ?;
3980
3980
}
3981
3981
3982
- let new_group_ip = IpAddr :: V4 ( Ipv4Addr :: new ( 224 , 0 , 0 , 200 ) ) ;
3982
+ let new_group_ip = IpAddr :: V4 ( Ipv4Addr :: new ( 224 , 0 , 1 , 200 ) ) ;
3983
3983
let nat_target = create_nat_target_ipv4 ( ) ;
3984
3984
let new_external_create = types:: MulticastGroupCreateExternalEntry {
3985
3985
group_ip : new_group_ip,
@@ -4045,15 +4045,15 @@ async fn test_multicast_group_id_pool_exhaustion_recovery() -> TestResult {
4045
4045
let num_groups = 10 ;
4046
4046
4047
4047
for i in 0 ..num_groups {
4048
- let group_ip = IpAddr :: V4 ( Ipv4Addr :: new ( 224 , 0 , 1 , i as u8 ) ) ;
4048
+ let group_ip = IpAddr :: V4 ( Ipv4Addr :: new ( 224 , 0 , 2 , 10 + i as u8 ) ) ;
4049
4049
let nat_target = create_nat_target_ipv4 ( ) ;
4050
4050
let external_create = types:: MulticastGroupCreateExternalEntry {
4051
4051
group_ip,
4052
4052
tag : Some ( format ! ( "pool_test_{}" , i) ) ,
4053
4053
nat_target,
4054
4054
vlan_id : Some ( 10 ) ,
4055
4055
sources : None ,
4056
- } ;
4056
+ } ;
4057
4057
4058
4058
let created_group = switch
4059
4059
. client
@@ -4078,15 +4078,15 @@ async fn test_multicast_group_id_pool_exhaustion_recovery() -> TestResult {
4078
4078
4079
4079
let mut new_groups = Vec :: new ( ) ;
4080
4080
for i in 0 ..num_groups / 2 {
4081
- let group_ip = IpAddr :: V4 ( Ipv4Addr :: new ( 224 , 0 , 2 , i as u8 ) ) ;
4081
+ let group_ip = IpAddr :: V4 ( Ipv4Addr :: new ( 224 , 0 , 3 , 10 + i as u8 ) ) ;
4082
4082
let nat_target = create_nat_target_ipv4 ( ) ;
4083
4083
let external_create = types:: MulticastGroupCreateExternalEntry {
4084
4084
group_ip,
4085
4085
tag : Some ( format ! ( "pool_recovery_test_{}" , i) ) ,
4086
4086
nat_target,
4087
4087
vlan_id : Some ( 10 ) ,
4088
4088
sources : None ,
4089
- } ;
4089
+ } ;
4090
4090
4091
4091
let created_group = switch
4092
4092
. client
0 commit comments