Skip to content

feat: add partial setup zone #94

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
1cc9adf
feat: add partial setup zone
arjunchauhanibm Jan 22, 2024
c6b62cc
Empty-Commit
arjunchauhanibm Jan 22, 2024
0151169
Empty-Commit
arjunchauhanibm Jan 22, 2024
3fee652
feat: directlink - dedicated vlan mapping
sridhargk Mar 9, 2024
29fb678
fix: udating dependency versions (#95)
jkalandaibm Mar 8, 2024
9bc8739
feat: directlink provider updated to latest spec
sridhargk Mar 12, 2024
a00c914
feat: direct link changes build release
sridhargk Mar 14, 2024
53dd42e
Update version 0.24.0 -> 0.25.0
semantic-release-bot Mar 14, 2024
f5c0b71
chore(release): 0.25.0 release notes
semantic-release-bot Mar 14, 2024
2f1d464
chore(deps): bump tar and npm (#100)
dependabot[bot] Apr 23, 2024
39b241d
Update codeql-analysis.yml (#102)
jkalandaibm May 1, 2024
35f8a9f
Create codeql.yml - new (#103)
jkalandaibm May 1, 2024
e51c9e1
Fix CodeQL analysis (#110)
jkalandaibm Jun 12, 2024
c2a3658
chore(deps): bump braces from 3.0.2 to 3.0.3 (#111)
dependabot[bot] Jun 12, 2024
f8355fe
feat: Added the new connection type - Redundant GRE (#105)
jkalandaibm Jun 12, 2024
7bdb926
Update version 0.25.0 -> 0.26.0
semantic-release-bot Jun 12, 2024
ffb6828
chore(release): 0.26.0 release notes
semantic-release-bot Jun 12, 2024
effba2f
fix: fixing the PGP mongodb reference issue (#112)
jkalandaibm Jun 14, 2024
2198e67
Update version 0.26.0 -> 0.26.1
semantic-release-bot Jun 14, 2024
31b7f22
chore(release): 0.26.1 release notes
semantic-release-bot Jun 14, 2024
ea86020
fix: Another possible fix for travis failure (#114)
jkalandaibm Jun 17, 2024
671c5c6
Update version 0.26.1 -> 0.26.2
semantic-release-bot Jun 17, 2024
efa2f6e
chore(release): 0.26.2 release notes
semantic-release-bot Jun 17, 2024
278a25e
skipping some test cases
arjunchauhanibm Jul 16, 2024
e6179b4
skipping integration test
arjunchauhanibm Jul 16, 2024
3224086
to trigger build
arjunchauhanibm Jul 16, 2024
9ea4e80
Empty-Commit
arjunchauhanibm Jul 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.24.0
current_version = 0.26.2
commit = True
message = Update version {current_version} -> {new_version}

Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,20 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [ 'python' ]
include:
- language: python
build-mode: none
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -50,7 +52,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -64,4 +66,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
92 changes: 92 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
schedule:
- cron: '39 19 * * 4'

jobs:
analyze:
name: Analyze (${{ matrix.language }})
# Runner size impacts CodeQL analysis time. To learn more, please see:
# - https://gh.io/recommended-hardware-resources-for-running-codeql
# - https://gh.io/supported-runners-and-hardware-resources
# - https://gh.io/using-larger-runners (GitHub.com only)
# Consider using larger runners or machines with greater resources for possible analysis time improvements.
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
permissions:
# required for all workflows
security-events: write

# required to fetch internal or private CodeQL packs
packages: read

# only required for workflows in private repositories
actions: read
contents: read

strategy:
fail-fast: false
matrix:
include:
- language: python
build-mode: none
# CodeQL supports the following values keywords for 'language': 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift'
# Use `c-cpp` to analyze code written in C, C++ or both
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
# Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
# To learn more about changing the languages that are analyzed or customizing the build mode for your analysis,
# see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning.
# If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
steps:
- name: Checkout repository
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.

# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality

# If the analyze step fails for one of the languages you are analyzing with
# "We were unable to automatically build your code", modify the matrix above
# to set the build mode to "manual" for that language. Then modify this step
# to build your code.
# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
- if: matrix.build-mode == 'manual'
run: |
echo 'If you are using a "manual" build mode for one or more of the' \
'languages you are analyzing, replace this with the commands to build' \
'your code, for example:'
echo ' make bootstrap'
echo ' make release'
exit 1

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
13 changes: 8 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ notifications:

matrix:
include:
- python: 3.7
- python: 3.9
before_script:
- >-
[ -z "${TRAVIS_TAG}" ] && [ "${TRAVIS_PULL_REQUEST}" == "false" ]
Expand All @@ -19,8 +19,8 @@ matrix:
&& openssl aes-256-cbc -K $encrypted_fc092b9428d6_key -iv $encrypted_fc092b9428d6_iv -in cis.env.enc -out cis.env -d || true
&& openssl aes-256-cbc -K $encrypted_89a9eb4f9417_key -iv $encrypted_89a9eb4f9417_iv -in dns.env.enc -out dns.env -d || true
- python: 3.8
- python: 3.9
- python: 3.10
- python: 3.11

before_install:
- sudo apt-get update
Expand All @@ -29,12 +29,15 @@ before_install:
- echo -e "machine github.ibm.com\n login $GH_TOKEN" > ~/.netrc

install:
- sudo rm /etc/apt/sources.list.d/mongodb-4.4.list
- wget -O- https://pgp.mongodb.com/server-4.4.asc | sudo gpg --dearmor -o /usr/share/keyrings/mongodb-4.4.gpg
- echo "deb [signed-by=/usr/share/keyrings/mongodb-4.4.gpg] http://repo.mongodb.org/apt/ubuntu $(lsb_release -cs)/mongodb-org/4.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-4.4.list
- pip install tox-travis

script: tox

before_deploy:
- nvm install 18
- nvm install 20
- npm install npm@latest -g
- npm install @semantic-release/changelog
- npm install @semantic-release/exec
Expand All @@ -47,7 +50,7 @@ deploy:
script: npx semantic-release
skip_cleanup: true
on:
python: '3.7'
python: '3.9'
branch: master
- provider: pypi
setuptools_version: "60.8.2"
Expand All @@ -56,5 +59,5 @@ deploy:
repository: https://upload.pypi.org/legacy
skip_cleanup: true
on:
python: '3.7'
python: '3.9'
tags: true
36 changes: 36 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,39 @@
## [0.26.2](https://github.com/IBM/networking-python-sdk/compare/v0.26.1...v0.26.2) (2024-06-17)


### Bug Fixes

* Another possible fix for travis failure ([#114](https://github.com/IBM/networking-python-sdk/issues/114)) ([d18c6e5](https://github.com/IBM/networking-python-sdk/commit/d18c6e53ddd08324a2f5990a88207cde6e394ea7))

## [0.26.1](https://github.com/IBM/networking-python-sdk/compare/v0.26.0...v0.26.1) (2024-06-14)


### Bug Fixes

* fixing the PGP mongodb reference issue ([#112](https://github.com/IBM/networking-python-sdk/issues/112)) ([10e6007](https://github.com/IBM/networking-python-sdk/commit/10e6007a083fb4b0a5c49ff10f64432ddee624e7))

# [0.26.0](https://github.com/IBM/networking-python-sdk/compare/v0.25.0...v0.26.0) (2024-06-12)


### Features

* Added the new connection type - Redundant GRE ([#105](https://github.com/IBM/networking-python-sdk/issues/105)) ([5e6e23a](https://github.com/IBM/networking-python-sdk/commit/5e6e23a83ce70dfc3003fbc23dcfb904edec8cf4))

# [0.25.0](https://github.com/IBM/networking-python-sdk/compare/v0.24.0...v0.25.0) (2024-03-14)


### Bug Fixes

* udating dependency versions ([#95](https://github.com/IBM/networking-python-sdk/issues/95)) ([9cfd59b](https://github.com/IBM/networking-python-sdk/commit/9cfd59b99e7b3896fdd3df72597de19c77fc12ee))


### Features

* direct link changes build release ([2ed3b18](https://github.com/IBM/networking-python-sdk/commit/2ed3b1893701da168ac54a9f2ec49549c44752d7))
* directlink - dedicated vlan mapping ([1cb591a](https://github.com/IBM/networking-python-sdk/commit/1cb591a5ba79a3fb03dfceb3926ac476e29491a7))
* directlink provider updated to latest spec ([0bd2ad1](https://github.com/IBM/networking-python-sdk/commit/0bd2ad1a99b74021ffd6281f7f8047821cea5e95))
* Updating the list of reserved ASN numbers ([#92](https://github.com/IBM/networking-python-sdk/issues/92)) ([b5ca185](https://github.com/IBM/networking-python-sdk/commit/b5ca185a4a2faa7dc692a7992ad3d2ad85e9808b))

# [0.24.0](https://github.com/IBM/networking-python-sdk/compare/v0.23.2...v0.24.0) (2023-09-12)


Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)

# IBM Cloud Networking Services Python SDK Version 0.24.0
# IBM Cloud Networking Services Python SDK Version 0.26.2

Python client library to interact with various [IBM Cloud Networking Service APIs](https://cloud.ibm.com/apidocs?category=network).

Expand All @@ -22,7 +22,7 @@ Python client library to interact with various [IBM Cloud Networking Service API
npx markdown-toc -i README.md
-->

<!-- toc -->
<! -- toc -->

- [Overview](#overview)
- [Prerequisites](#prerequisites)
Expand Down Expand Up @@ -99,13 +99,13 @@ IBM Cloud services:
To install, use `pip` or `easy_install`:

```bash
pip install --upgrade "ibm-cloud-networking-services==0.24.0"
pip install --upgrade "ibm-cloud-networking-services==0.26.2"
```

or

```bash
easy_install --upgrade "ibm-cloud-networking-servies==0.24.0"
easy_install --upgrade "ibm-cloud-networking-servies==0.26.2"
```

## Using the SDK
Expand Down
5 changes: 5 additions & 0 deletions dl.env.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ export DL_SERVICES_APIKEY="<IAM-API-KEY>"
export DL_SERVICES_LOCATION_NAME=dal09
export DL_SERVICES_LOCATION_LONG_NAME='Dallas 09'
export DL_SERVICES_SERVICE_URL=https://directlink.test.cloud.ibm.com/v1
export DL_PROVIDER_SERVICES_URL_V2=https://directlink.test.cloud.ibm.com/provider/v2
export DL_PROVIDER_SERVICES_APIKEY="<IAM-API-KEY>"
export DL_PROVIDER_SERVICES_CUSTOMER_ACCT_ID="<UUID>"
export DL_SERVICES_IAM_URL=https://iam.test.cloud.ibm.com/identity/token
export DL_SERVICES_GW_NAME=SDK-PY-DL-gateway
export DL_PROVIDER_SERVICES_GW_NAME=SDK-PVDR-PY-DL-gw
export DL_PROVIDER_SERVICES_UPDATED_GW_NAME=SDK-PVDR-PY-DL-gw-updated
export DL_SERVICES_CONN_NAME=SDK-PY-DL-vc
export DL_SERVICES_AUTHENTICATION_KEY=crn:v1:public:is:us-south:a/3b1bd7fa2bc3406ea70ba4ade8aa3f1b::vpc:r134-1680db5a-7672-41af-89fb-bbbc94ac6964
Loading