4949 CONST_PRIVATE_DNS_ZONE_NONE,
5050 CONST_PRIVATE_DNS_ZONE_SYSTEM,
5151 CONST_ROTATION_POLL_INTERVAL,
52+ CONST_SCALE_SET_PRIORITY_REGULAR,
5253 CONST_SECRET_ROTATION_ENABLED,
5354 CONST_VIRTUAL_MACHINE_SCALE_SETS,
5455 CONST_AVAILABILITY_SET,
@@ -507,7 +508,7 @@ def test_get_load_balancer_managed_outbound_ip_count(self):
507508 )
508509 load_balancer_profile_2 = self.models.load_balancer_models.ManagedClusterLoadBalancerProfile(
509510 managed_outbound_i_ps=self.models.load_balancer_models.ManagedClusterLoadBalancerProfileManagedOutboundIPs(
510- count=10, count_ipv6 =20
511+ count=10, count_i_pv6 =20
511512 ),
512513 outbound_i_ps=self.models.load_balancer_models.ManagedClusterLoadBalancerProfileOutboundIPs(
513514 public_i_ps=[
@@ -548,7 +549,7 @@ def test_get_load_balancer_managed_outbound_ipv6_count(self):
548549 self.assertEqual(ctx_1.get_load_balancer_managed_outbound_ipv6_count(), None)
549550 load_balancer_profile = self.models.load_balancer_models.ManagedClusterLoadBalancerProfile(
550551 managed_outbound_i_ps=self.models.load_balancer_models.ManagedClusterLoadBalancerProfileManagedOutboundIPs(
551- count_ipv6 =10
552+ count_i_pv6 =10
552553 )
553554 )
554555 network_profile = self.models.ContainerServiceNetworkProfile(
@@ -586,7 +587,7 @@ def test_get_load_balancer_managed_outbound_ipv6_count(self):
586587 )
587588 load_balancer_profile_3 = self.models.load_balancer_models.ManagedClusterLoadBalancerProfile(
588589 managed_outbound_i_ps=self.models.load_balancer_models.ManagedClusterLoadBalancerProfileManagedOutboundIPs(
589- count=10, count_ipv6 =20
590+ count=10, count_i_pv6 =20
590591 ),
591592 outbound_i_ps=self.models.load_balancer_models.ManagedClusterLoadBalancerProfileOutboundIPs(
592593 public_i_ps=[
@@ -4678,6 +4679,7 @@ def test_set_up_agentpool_profile(self):
46784679 gpu_instance_profile="test_gpu_instance_profile",
46794680 workload_runtime=CONST_WORKLOAD_RUNTIME_OCI_CONTAINER,
46804681 network_profile=self.models.AgentPoolNetworkProfile(),
4682+ scale_set_priority=CONST_SCALE_SET_PRIORITY_REGULAR,
46814683 )
46824684 ground_truth_mc_1 = self.models.ManagedCluster(location="test_location")
46834685 ground_truth_mc_1.agent_pool_profiles = [ground_truth_agentpool_profile_1]
@@ -4733,7 +4735,7 @@ def test_set_up_network_profile_preview(self):
47334735
47344736 load_balancer_profile_1 = self.models.load_balancer_models.ManagedClusterLoadBalancerProfile(
47354737 managed_outbound_i_ps=self.models.load_balancer_models.ManagedClusterLoadBalancerProfileManagedOutboundIPs(
4736- count_ipv6 =3,
4738+ count_i_pv6 =3,
47374739 ),
47384740 backend_pool_type=CONST_LOAD_BALANCER_BACKEND_POOL_TYPE_NODE_IP,
47394741 )
@@ -6123,6 +6125,7 @@ def test_construct_mc_profile_preview(self):
61236125 workload_runtime=CONST_WORKLOAD_RUNTIME_OCI_CONTAINER,
61246126 network_profile=self.models.AgentPoolNetworkProfile(),
61256127 security_profile=ground_truth_security_profile,
6128+ scale_set_priority=CONST_SCALE_SET_PRIORITY_REGULAR,
61266129 )
61276130 ssh_config_1 = self.models.ContainerServiceSshConfiguration(
61286131 public_keys=[self.models.ContainerServiceSshPublicKey(key_data=public_key)]
@@ -7079,7 +7082,7 @@ def test_update_load_balancer_profile(self):
70797082 network_profile=self.models.ContainerServiceNetworkProfile(
70807083 load_balancer_profile=self.models.load_balancer_models.ManagedClusterLoadBalancerProfile(
70817084 managed_outbound_i_ps=self.models.load_balancer_models.ManagedClusterLoadBalancerProfileManagedOutboundIPs(
7082- count=10, count_ipv6 =20
7085+ count=10, count_i_pv6 =20
70837086 ),
70847087 )
70857088 ),
@@ -7093,15 +7096,15 @@ def test_update_load_balancer_profile(self):
70937096 self.models.ContainerServiceNetworkProfile(
70947097 load_balancer_profile=self.models.load_balancer_models.ManagedClusterLoadBalancerProfile(
70957098 managed_outbound_i_ps=self.models.load_balancer_models.ManagedClusterLoadBalancerProfileManagedOutboundIPs(
7096- count=5, count_ipv6 =20
7099+ count=5, count_i_pv6 =20
70977100 ),
70987101 )
70997102 )
71007103 ),
71017104 )
71027105 self.assertEqual(dec_mc_4, ground_truth_mc_4)
71037106
7104- # custom value - managed outbound ip, count_ipv6 only
7107+ # custom value - managed outbound ip, count_i_pv6 only
71057108 dec_5 = AKSPreviewManagedClusterUpdateDecorator(
71067109 self.cmd,
71077110 self.client,
@@ -7119,7 +7122,7 @@ def test_update_load_balancer_profile(self):
71197122 network_profile=self.models.ContainerServiceNetworkProfile(
71207123 load_balancer_profile=self.models.load_balancer_models.ManagedClusterLoadBalancerProfile(
71217124 managed_outbound_i_ps=self.models.load_balancer_models.ManagedClusterLoadBalancerProfileManagedOutboundIPs(
7122- count=10, count_ipv6 =20
7125+ count=10, count_i_pv6 =20
71237126 ),
71247127 )
71257128 ),
@@ -7133,7 +7136,7 @@ def test_update_load_balancer_profile(self):
71337136 self.models.ContainerServiceNetworkProfile(
71347137 load_balancer_profile=self.models.load_balancer_models.ManagedClusterLoadBalancerProfile(
71357138 managed_outbound_i_ps=self.models.load_balancer_models.ManagedClusterLoadBalancerProfileManagedOutboundIPs(
7136- count=10, count_ipv6 =5
7139+ count=10, count_i_pv6 =5
71377140 ),
71387141 )
71397142 )
@@ -7159,7 +7162,7 @@ def test_update_load_balancer_profile(self):
71597162 network_profile=self.models.ContainerServiceNetworkProfile(
71607163 load_balancer_profile=self.models.load_balancer_models.ManagedClusterLoadBalancerProfile(
71617164 managed_outbound_i_ps=self.models.load_balancer_models.ManagedClusterLoadBalancerProfileManagedOutboundIPs(
7162- count=10, count_ipv6 =20
7165+ count=10, count_i_pv6 =20
71637166 ),
71647167 )
71657168 ),
@@ -7173,7 +7176,7 @@ def test_update_load_balancer_profile(self):
71737176 self.models.ContainerServiceNetworkProfile(
71747177 load_balancer_profile=self.models.load_balancer_models.ManagedClusterLoadBalancerProfile(
71757178 managed_outbound_i_ps=self.models.load_balancer_models.ManagedClusterLoadBalancerProfileManagedOutboundIPs(
7176- count=25, count_ipv6 =5
7179+ count=25, count_i_pv6 =5
71777180 ),
71787181 )
71797182 )
@@ -7198,7 +7201,7 @@ def test_update_load_balancer_profile(self):
71987201 network_profile=self.models.ContainerServiceNetworkProfile(
71997202 load_balancer_profile=self.models.load_balancer_models.ManagedClusterLoadBalancerProfile(
72007203 managed_outbound_i_ps=self.models.load_balancer_models.ManagedClusterLoadBalancerProfileManagedOutboundIPs(
7201- count=3, count_ipv6 =2
7204+ count=3, count_i_pv6 =2
72027205 )
72037206 )
72047207 ),
@@ -7260,7 +7263,7 @@ def test_update_load_balancer_profile(self):
72607263
72617264 ground_truth_load_balancer_profile_8 = self.models.load_balancer_models.ManagedClusterLoadBalancerProfile(
72627265 managed_outbound_i_ps=self.models.load_balancer_models.ManagedClusterLoadBalancerProfileManagedOutboundIPs(
7263- count=10, count_ipv6 =5
7266+ count=10, count_i_pv6 =5
72647267 ),
72657268 )
72667269 ground_truth_network_profile_8 = self.models.ContainerServiceNetworkProfile(
0 commit comments