Skip to content

Conversation

@deepaksibm
Copy link
Contributor

New Features

  1. VPC DNS Sharing Feature (Select availability feature)
  2. health state in vpn gateway/connection. vpn servers
  3. NUMA count and profile status

@deepaksibm deepaksibm requested review from astha-jain and sumitkumartiwari and removed request for astha-jain and sumitkumartiwari November 10, 2023 12:27
Signed-off-by: Deepak Selvakumar <77007253+deepaksibm@users.noreply.github.com>
@deepaksibm
Copy link
Contributor Author

make test-examples
================================================================= short test summary info ==================================================================
SKIPPED [1] examples/test_vpc_v1_examples.py:1877: mock
SKIPPED [1] examples/test_vpc_v1_examples.py:1897: mock
SKIPPED [1] examples/test_vpc_v1_examples.py:1917: mock
SKIPPED [1] examples/test_vpc_v1_examples.py:1937: mock
SKIPPED [1] examples/test_vpc_v1_examples.py:3580: mock
SKIPPED [1] examples/test_vpc_v1_examples.py:6294: mock
SKIPPED [1] examples/test_vpc_v1_examples.py:6542: mock
SKIPPED [1] examples/test_vpc_v1_examples.py:6562: mock
SKIPPED [1] examples/test_vpc_v1_examples.py:7419: mock
SKIPPED [1] examples/test_vpc_v1_examples.py:7479: mock error
SKIPPED [1] examples/test_vpc_v1_examples.py:7685: mock
============================================================= 328 passed, 11 skipped in 1.60s ==============================================================




============================================================= 321 passed, 10 skipped in 1.34s ==============================================================


@deepaksibm
Copy link
Contributor Author

from ibm_vpc import VpcV1
from ibm_cloud_sdk_core.authenticators import IAMAuthenticator
from ibm_cloud_sdk_core import ApiException

authenticator = IAMAuthenticator("APIKEY")
service = VpcV1('2019-09-24', authenticator=authenticator)

#  Listing VPCs
print("List VPCs")
try:
    vpcs = service.list_vpcs()
    print(vpcs)
except ApiException as e:
  print("List VPC failed with status code " + str(e.code) + ": " + e.message)
# for vpc in vpcs:
#     print(vpc['id'], "\t",  vpc['name'])

#  Listing Subnets
print("List Subnets")
try:
    subnets = service.list_subnets()
    print(subnets)
except ApiException as e:
  print("List subnets failed with status code " + str(e.code) + ": " + e.message)
# for subnet in subnets:
#     print(subnet['id'], "\t",  subnet['name'])

Copy link
Member

@sumitkumartiwari sumitkumartiwari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sumitkumartiwari sumitkumartiwari merged commit 881a378 into master Nov 14, 2023
ibm-vpc pushed a commit that referenced this pull request Nov 16, 2023
# [0.20.0](v0.19.1...v0.20.0) (2023-11-16)

### Features

* **release:** Update SDK to use API released on 2023-11-07 ([#58](#58)) ([881a378](881a378))
* **release:** Update SDK to use API released on 2023-11-07 ([#59](#59)) ([7727ca6](7727ca6))
* **release:** Update SDK to use API released on 2023-11-07 travis ([#60](#60)) ([60f0fee](60f0fee))
@ibm-vpc
Copy link
Collaborator

ibm-vpc commented Nov 16, 2023

🎉 This PR is included in version 0.20.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants