Skip to content

Commit 9dafde8

Browse files
ibm_cloud_networking_services
1 parent f4b1225 commit 9dafde8

File tree

108 files changed

+34649
-893
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+34649
-893
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ current_version = 0.0.1
33
commit = True
44
message = Update version {current_version} -> {new_version}
55

6-
[bumpversion:file:mysdk/version.py]
6+
[bumpversion:file:ibm_cloud_networking_services/version.py]
77
search = __version__ = '{current_version}'
88
replace = __version__ = '{new_version}'
99

.releaserc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
"@semantic-release/release-notes-generator",
66
"@semantic-release/changelog",
77
[
8-
"@semantic-release/exec",
8+
"@semantic-release/exec",
99
{
1010
"prepareCmd": "bump2version --allow-dirty --current-version ${lastRelease.version} --new-version ${nextRelease.version} patch"
1111
}
1212
],
1313
[
14-
"@semantic-release/git",
14+
"@semantic-release/git",
1515
{
1616
"message": "chore(release): ${nextRelease.version} release notes\n\n${nextRelease.notes}"
1717
}

.travis.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ notifications:
1717
# - python: 3.8
1818

1919
before_install:
20-
- npm install npm@latest -g
21-
- sudo apt-get update
22-
- sudo apt-get install pandoc
23-
- pip install pypandoc
20+
- npm install npm@latest -g
21+
- sudo apt-get update
22+
- sudo apt-get install pandoc
23+
- pip install pypandoc
2424
# - '[ "${TRAVIS_PULL_REQUEST}" == "false" ] && openssl aes-256-cbc -K $my_key -iv $my_iv -in myservice.env.enc -out myservice.env -d || true'
2525

2626
install:
27-
- pip install tox-travis
27+
- pip install tox-travis
2828

2929
script: tox
3030

@@ -39,12 +39,11 @@ jobs:
3939
- python: "3.7"
4040
- python: "3.8"
4141
- stage: Run system test with template
42-
script:
42+
script:
4343
- git clone [email protected]:CloudEngineering/sdkgen-systest.git
4444
- cd sdkgen-systest
4545
- ./install_scripts/install_deps_ubuntu.sh
4646
- ./setup_and_generate.sh -l ibm-python -t $TRAVIS_BRANCH
47-
4847
# To enable semantic-release, uncomment these sections.
4948
# before_deploy:
5049
# - pip install bump2version
@@ -53,7 +52,7 @@ jobs:
5352
# - npm install @semantic-release/exec
5453
# - npm install @semantic-release/git
5554
# - npm install @semantic-release/github
56-
#
55+
#
5756
# deploy:
5857
# - provider: script
5958
# script: npx semantic-release

README.md

Lines changed: 47 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
[![Build Status](https://travis.ibm.com/CloudEngineering/python-sdk-template.svg?token=eW5FVD71iyte6tTby8gr&branch=master)](https://travis.ibm.com/CloudEngineering/python-sdk-template)
22
[![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)
3-
# IBM Cloud MySDK Python SDK Version 0.0.1
43

5-
Python client library to interact with various [IBM Cloud MySDK Service APIs](https://cloud.ibm.com/apidocs?category=<service-category>).
4+
# IBM Cloud Networking Services Python SDK Version 0.0.1
5+
6+
Python client library to interact with various [IBM Cloud Networking Service APIs](https://cloud.ibm.com/apidocs?category=network).
67

78
Disclaimer: this SDK is being released initially as a **pre-release** version.
89
Changes might occur which impact applications that use this SDK.
@@ -35,36 +36,68 @@ Changes might occur which impact applications that use this SDK.
3536

3637
## Overview
3738

38-
The IBM Cloud MySDK Python SDK allows developers to programmatically interact with the following
39+
The IBM Cloud Networking Services Python SDK allows developers to programmatically interact with the following
3940
IBM Cloud services:
4041

41-
Service Name | Imported Class Name
42-
--- | ---
43-
[Example Service](https://cloud.ibm.com/apidocs/example-service) | ExampleServiceV1
42+
| CIS Service Name | Imported Class Name |
43+
| ---------------------------------------------------------------------------------------------- | --------------------------- |
44+
| [CIS: Cache](https://cloud.ibm.com/apidocs/cis/cache) | CachingApiV1 |
45+
| [CIS: IP](https://cloud.ibm.com/apidocs/cis/ip) | CisIpApiV1 |
46+
| [CIS: Custom Pages](https://cloud.ibm.com/apidocs/cis) | CustomPagesV1 |
47+
| [CIS: DNS Records Bulk](https://cloud.ibm.com/apidocs/cis/dnsrecords) | DnsRecordBulkV1 |
48+
| [CIS: DNS Records](https://cloud.ibm.com/apidocs/cis/dnsrecords) | DnsRecordsV1 |
49+
| [CIS: Firewall Access Rules](https://cloud.ibm.com/apidocs/cis/firewall-access-rule) | FirewallAccessRulesV1 |
50+
| [CIS: Security Level Settings](https://cloud.ibm.com/apidocs/cis/security-level-settings) | FirewallApiV1 |
51+
| [CIS: GLB Events](https://cloud.ibm.com/apidocs/cis/glb-events) | GlobalLoadBalancerEventsV1 |
52+
| [CIS: GLB Monitor](https://cloud.ibm.com/apidocs/cis/glb-monitor) | GlobalLoadBalancerMonitorV1 |
53+
| [CIS: GLB Pools](https://cloud.ibm.com/apidocs/cis/glb-pool) | GlobalLoadBalancerPoolsV0 |
54+
| [CIS: GLB Service](https://cloud.ibm.com/apidocs/cis/glb) | GlobalLoadBalancerV1 |
55+
| [CIS: Page Rules](https://cloud.ibm.com/apidocs/cis/page-rules) | PageRuleApiV1 |
56+
| [CIS: Range Application](https://cloud.ibm.com/apidocs/cis/range) | RangeApplicationsV1 |
57+
| [CIS: Routing](https://cloud.ibm.com/apidocs/cis/routing) | RoutingV1 |
58+
| [CIS: Security Events](https://cloud.ibm.com/apidocs/cis) | SecurityEventsApiV1 |
59+
| [CIS: SSL/TLS](https://cloud.ibm.com/apidocs/cis/tls) | SslCertificateApiV1 |
60+
| [CIS: User Agent Blocking Rules](https://cloud.ibm.com/apidocs/cis/user-agent-rules) | UserAgentBlockingRulesV1 |
61+
| [CIS: WAF Settings](https://cloud.ibm.com/apidocs/cis/waf) | WafApiV1 |
62+
| [CIS: WAF Rule Groups](https://cloud.ibm.com/apidocs/cis/waf-groups) | WafRuleGroupsApiV1 |
63+
| [CIS: WAF Rule Packages](https://cloud.ibm.com/apidocs/cis/waf-packages) | WafRulePackagesApiV1 |
64+
| [CIS: WAF Rules](https://cloud.ibm.com/apidocs/cis/waf-rules) | WafRulesApiV1 |
65+
| [CIS: Zone Firewall Access Rules](https://cloud.ibm.com/apidocs/cis/zone-firewall-access-rule) | ZoneFirewallAccessRulesV1 |
66+
| [CIS: Zone Lockdown](https://cloud.ibm.com/apidocs/cis/zone-lockdown) | ZoneLockdownV1 |
67+
| [CIS: Zone Rate Limits](https://cloud.ibm.com/apidocs/cis) | ZoneRateLimitsV1 |
68+
| [CIS: Zone Settings](https://cloud.ibm.com/apidocs/cis/zonesettings) | ZonesSettingsV1 |
69+
| [CIS: Zones](https://cloud.ibm.com/apidocs/cis/zones) | ZonesV1 |
70+
71+
| PDNS Service Name | Imported Class Name |
72+
| -------------------------------------------------------------------------------- | ------------------------------ |
73+
| [PDNS: Zones API](https://cloud.ibm.com/apidocs/dns-svcs) | DnsZonesV1 |
74+
| [PDNS: Resource Records API](https://cloud.ibm.com/apidocs/dns-svcs) | ResourceRecordsV1 |
75+
| [PDNS: Permitted Networks for Zones API](https://cloud.ibm.com/apidocs/dns-svcs) | PermittedNetworksForDnsZonesV1 |
4476

4577
## Prerequisites
4678

4779
[ibm-cloud-onboarding]: https://cloud.ibm.com/registration
4880

49-
* An [IBM Cloud][ibm-cloud-onboarding] account.
50-
* An IAM API key to allow the SDK to access your account. Create one [here](https://cloud.ibm.com/iam/apikeys).
51-
* Python 3.5.3 or above.
81+
- An [IBM Cloud][ibm-cloud-onboarding] account.
82+
- An IAM API key to allow the SDK to access your account. Create one [here](https://cloud.ibm.com/iam/apikeys).
83+
- Python 3.5.3 or above.
5284

5385
## Installation
5486

5587
To install, use `pip` or `easy_install`:
5688

5789
```bash
58-
pip install --upgrade "mysdk>=0.0.1"
90+
pip install --upgrade "ibm-networking-services>=0.0.1"
5991
```
6092

6193
or
6294

6395
```bash
64-
easy_install --upgrade "mysdk>=0.0.1"
96+
easy_install --upgrade "ibm-networking-servies>=0.0.1"
6597
```
6698

6799
## Using the SDK
100+
68101
For general SDK usage information, please see [this link](https://github.com/IBM/ibm-cloud-sdk-common/blob/master/README.md)
69102

70103
## Questions
@@ -74,14 +107,17 @@ please ask a question
74107
[Stack Overflow](http://stackoverflow.com/questions/ask?tags=ibm-cloud).
75108

76109
## Issues
110+
77111
If you encounter an issue with the project, you are welcome to submit a
78112
[bug report](<github-repo-url>/issues).
79113
Before that, please search for similar issues. It's possible that someone has already reported the problem.
80114

81115
## Open source @ IBM
116+
82117
Find more open source projects on the [IBM Github Page](http://ibm.github.io/)
83118

84119
## Contributing
120+
85121
See [CONTRIBUTING](CONTRIBUTING.md).
86122

87123
## License

0 commit comments

Comments
 (0)