Skip to content

Commit 2f70be0

Browse files
Releasing version 2.125.2
Releasing version 2.125.2
2 parents ca5dd13 + 7592d88 commit 2f70be0

40 files changed

+2445
-178
lines changed

CHANGELOG.rst

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,25 @@ Change Log
33
All notable changes to this project will be documented in this file.
44

55
The format is based on `Keep a Changelog <http://keepachangelog.com/>`_.
6+
====================
7+
2.125.2 - 2024-04-09
8+
====================
9+
10+
Added
11+
-----
12+
13+
* Support for calling Oracle Cloud Infrastructure services in the ap-dcc-gazipur-1 region
14+
* Support for the DNS-based backend health check in the Network Load Balancer service
15+
* Support for Fail Open in the Network Load Balancer service
16+
* Support for adding and updating Instant failover in the Network Load Balancer service
17+
* Support for adding and updating source type and resource category for resource types in the Stack Monitoring service
18+
* Support for searching resources based on resource category, source type, multiple compartments, multiple lifecycle states in the Stack Monitoring service
19+
* Support for filtering listed resources based on lifecycle status in the Stack Monitoring service
20+
* Support for creating tasks with new config parameters in the Stack Monitoring service
21+
* Support for Composite Resource Principal integration in the Data Flow service
22+
23+
24+
625
====================
726
2.125.1 - 2024-04-02
827
====================

docs/api/network_load_balancer.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ Network Load Balancer
3333
oci.network_load_balancer.models.CreateBackendSetDetails
3434
oci.network_load_balancer.models.CreateListenerDetails
3535
oci.network_load_balancer.models.CreateNetworkLoadBalancerDetails
36+
oci.network_load_balancer.models.DnsHealthCheckerDetails
3637
oci.network_load_balancer.models.HealthCheckResult
3738
oci.network_load_balancer.models.HealthChecker
3839
oci.network_load_balancer.models.HealthCheckerDetails
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
DnsHealthCheckerDetails
2+
=======================
3+
4+
.. currentmodule:: oci.network_load_balancer.models
5+
6+
.. autoclass:: DnsHealthCheckerDetails
7+
:show-inheritance:
8+
:special-members: __init__
9+
:members:
10+
:undoc-members:
11+
:inherited-members:

examples/showoci/CHANGELOG.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on `Keep a Changelog <http://keepachangelog.com/>`_.
66

7+
=====================
8+
24.04.09 - 24.04.09
9+
=====================
10+
* Exclude GENAI until the service deployed on all regions to avoid process hung
11+
12+
=====================
13+
24.04.02 - 24.04.02
14+
=====================
15+
* Added is_symmetric_hash_enabled flag for network load balancers
16+
717
=====================
818
24.04.02 - 24.04.02
919
=====================

examples/showoci/showoci.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
import os
129129
import time
130130

131-
version = "24.04.02"
131+
version = "24.04.09"
132132

133133
##########################################################################
134134
# check OCI version

examples/showoci/showoci_data.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121

2222
class ShowOCIData(object):
23-
version = "24.04.02"
23+
version = "24.04.09"
2424

2525
############################################
2626
# ShowOCIService - Service object to query
@@ -3875,6 +3875,8 @@ def __get_load_balancer_network_details(self, load_balance_obj):
38753875
data['time_created'] = lb['time_created']
38763876
data['time_updated'] = lb['time_updated']
38773877
data['is_preserve_source_destination'] = lb['is_preserve_source_destination']
3878+
data['nlb_ip_version'] = lb['nlb_ip_version']
3879+
data['is_symmetric_hash_enabled'] = lb['is_symmetric_hash_enabled']
38783880
data['is_private'] = lb['is_private']
38793881
data['ips'] = lb['ip_addresses']
38803882
data['nsg_ids'] = lb['nsg_ids']

examples/showoci/showoci_output.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323

2424
class ShowOCIOutput(object):
25-
version = "24.04.02"
25+
version = "24.04.09"
2626

2727
##########################################################################
2828
# spaces for align
@@ -1047,9 +1047,12 @@ def __print_load_balancer_details(self, load_balance_obj):
10471047
def __print_load_balancer_network_details(self, load_balance_obj):
10481048
try:
10491049
lb = load_balance_obj
1050+
sym = lb['is_symmetric_hash_enabled'] if lb['is_symmetric_hash_enabled'] else "False"
1051+
prsv = lb['is_preserve_source_destination'] if lb['is_preserve_source_destination'] else "False"
10501052
print(self.taba + "Name : " + lb['name'])
10511053
print(self.tabs + "Status : " + lb['status'])
10521054
print(self.tabs + "Subnet : " + lb['subnet_name'])
1055+
print(self.tabs + "Flags : is_symmetric_hash_enabled = " + sym + ", is_preserve_source_destination = " + prsv)
10531056

10541057
if 'nsg_names' in lb:
10551058
if lb['nsg_names']:
@@ -7858,6 +7861,8 @@ def __csv_load_balancer_details(self, region_name, load_balance_obj):
78587861
'shape': lb['shape_name'],
78597862
'type': ("Private" if lb['is_private'] else "Public"),
78607863
'is_preserve_source_destination': "",
7864+
'nlb_ip_version': "",
7865+
'is_symmetric_hash_enabled': "",
78617866
'ip_addresses': str(', '.join(x for x in lb['ips'])),
78627867
'listeners': str(', '.join(x['desc'] for x in lb['listeners'])),
78637868
'log_errors': log_errors,
@@ -7936,6 +7941,8 @@ def __csv_network_load_balancer_main(self, region_name, network_load_balancers):
79367941
'time_updated': lb['time_updated'],
79377942
'type': ("Private" if lb['is_private'] else "Public"),
79387943
'is_preserve_source_destination': lb['is_preserve_source_destination'],
7944+
'nlb_ip_version': lb['nlb_ip_version'],
7945+
'is_symmetric_hash_enabled': lb['is_symmetric_hash_enabled'],
79397946
'subnets': lb['subnet_name'],
79407947
'nsg_names': lb['nsg_names'],
79417948
'ip_addresses': str(', '.join(x for x in lb['ips'])),

examples/showoci/showoci_service.py

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
# class ShowOCIService
4040
##########################################################################
4141
class ShowOCIService(object):
42-
version = "24.04.02"
43-
oci_compatible_version = "2.119.1"
42+
version = "24.04.09"
43+
oci_compatible_version = "2.125.0"
4444
thread_lock = threading.Lock()
4545

4646
##########################################################################
@@ -684,6 +684,11 @@ def generate_signer_from_delegation_token(self):
684684
# get signer from delegation token
685685
self.signer = oci.auth.signers.InstancePrincipalsDelegationTokenSigner(delegation_token=delegation_token)
686686

687+
print('**********************************************************************')
688+
print('* Cloud Shell has 20 minutes timeout, this process may not complete! *')
689+
print('* Please use dedicated VM if hung *')
690+
print('**********************************************************************')
691+
687692
except KeyError:
688693
print('**********************************************************************')
689694
print('* Key Error obtaining delegation_token_file')
@@ -7545,6 +7550,8 @@ def __load_load_balancers_network(self, network_load_balancer, compartments):
75457550
'time_updated': self.get_value(arr.time_updated)[0:16],
75467551
'is_private': self.get_value(arr.is_private),
75477552
'is_preserve_source_destination': self.get_value(arr.is_preserve_source_destination),
7553+
'nlb_ip_version': self.get_value(arr.nlb_ip_version),
7554+
'is_symmetric_hash_enabled': self.get_value(arr.is_symmetric_hash_enabled),
75487555
'subnet_id': self.get_value(arr.subnet_id),
75497556
'subnet_name': "" if arr.subnet_id is None else self.get_network_subnet(arr.subnet_id, True),
75507557
'status': str(status),
@@ -15202,7 +15209,7 @@ def __load_section_native_data_ai_main(self):
1520215209
oda_client = self.__create_client(oci.oda.OdaClient, key=self.EXCLUDE_ODA)
1520315210
bds_client = self.__create_client(oci.bds.BdsClient, key=self.EXCLUDE_BDS)
1520415211
di_client = self.__create_client(oci.data_integration.DataIntegrationClient, key=self.EXCLUDE_DI)
15205-
genai_client = self.__create_client(oci.generative_ai.GenerativeAiClient, key=self.EXCLUDE_GENAI)
15212+
# genai_client = self.__create_client(oci.generative_ai.GenerativeAiClient, key=self.EXCLUDE_GENAI)
1520615213

1520715214
# reference to compartments
1520815215
compartments = self.get_compartments()
@@ -15244,7 +15251,7 @@ def __load_section_native_data_ai_main(self):
1524415251
data_ai[self.C_DATA_AI_ODA] += self.__load_data_ai_oda(oda_client, compartments)
1524515252
data_ai[self.C_DATA_AI_BDS] += self.__load_data_ai_bds(bds_client, compartments)
1524615253
data_ai[self.C_DATA_AI_DI] += self.__load_data_ai_data_integration(di_client, compartments)
15247-
data_ai[self.C_DATA_AI_GENAI] += self.__load_data_ai_data_genai(genai_client, compartments)
15254+
# data_ai[self.C_DATA_AI_GENAI] += self.__load_data_ai_data_genai(genai_client, compartments)
1524815255

1524915256
##########################
1525015257
# if parallel execution
@@ -15265,7 +15272,7 @@ def __load_section_native_data_ai_main(self):
1526515272
future_DATA_AI_ODA = executor.submit(self.__load_data_ai_oda, oda_client, compartments)
1526615273
future_DATA_AI_BDS = executor.submit(self.__load_data_ai_bds, bds_client, compartments)
1526715274
future_DATA_AI_DI = executor.submit(self.__load_data_ai_data_integration, di_client, compartments)
15268-
future_DATA_AI_GENAI = executor.submit(self.__load_data_ai_data_genai, genai_client, compartments)
15275+
# future_DATA_AI_GENAI = executor.submit(self.__load_data_ai_data_genai, genai_client, compartments)
1526915276

1527015277
paas = self.data[self.C_PAAS_NATIVE]
1527115278
paas[self.C_PAAS_NATIVE_OCVS] += next(as_completed([future_PAAS_NATIVE_OCVS])).result()
@@ -15283,7 +15290,7 @@ def __load_section_native_data_ai_main(self):
1528315290
data_ai[self.C_DATA_AI_ODA] += next(as_completed([future_DATA_AI_ODA])).result()
1528415291
data_ai[self.C_DATA_AI_BDS] += next(as_completed([future_DATA_AI_BDS])).result()
1528515292
data_ai[self.C_DATA_AI_DI] += next(as_completed([future_DATA_AI_DI])).result()
15286-
data_ai[self.C_DATA_AI_GENAI] += next(as_completed([future_DATA_AI_GENAI])).result()
15293+
# data_ai[self.C_DATA_AI_GENAI] += next(as_completed([future_DATA_AI_GENAI])).result()
1528715294

1528815295
self.__load_print_section_time(section_start_time)
1528915296
print("")

examples/showoci/step_by_step_howto.md

Lines changed: 0 additions & 122 deletions
This file was deleted.

examples/showrewards/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ optional arguments:
8585

8686
## Below example of reports from demo tenancy (random info generated)
8787

88+
```
8889
########################################################################################################################
8990
# Running Show Rewards #
9091
########################################################################################################################

0 commit comments

Comments
 (0)