You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add support for VPCs
* Drop debug statement
* Clean up
* Revert
* oops
* Add docs
* Add reorder test
* Add reorder test
* make format
* oops
* Fix VPCSubnet docs
* Address feedback
* Use `asdict` to convert dataclass objects to dicts (#324)
* test: additional integration tests for vpc (#335)
## 📝 Description
- Extending test coverage for VPC
## ✔️ How to Test
1. Setup API token for alpha/beta environment and export it
LINODE_TOKEN=mytoken
2. get cacert.pem (e.g. wget https://certurl.com/cacert.pem)
3. make slight modification to `def get_client()` in conftest.py
e.g. `client = LinodeClient(token,
base_url='https://api.dev.linode.com/v4beta',
ca_path='/Users/ykim/linode/ykim/linode_api4-python/cacert.pem')`
4. run test `pytest test/integration/models/test_vpc.py`
## 📷 Preview
**If applicable, include a screenshot or code snippet of this change.
Otherwise, please remove this section.**
---------
Co-authored-by: Zhiwei Liang <121905282+zliang-akamai@users.noreply.github.com>
Co-authored-by: Zhiwei Liang <zliang@akamai.com>
* Add `vpc_nat_1_1` to IPAddress (#342)
## 📝 Description
This change is adding `vpc_nat_1_1` to the IPAddress for VPC. If a
public IPv4 address is NAT 1:1 mapped to a private VPC IP, this field is
returned VPC IP together with the VPC and subnet ids.
Also trying to merge two commits from dev to proj/vpc to update the
feature branch. The actual change is focusing on
3206ab8.
## ✔️ How to Test
Build unit test to make sure that we can retrieve this field from
IPAddress object:
`tox`
---------
Co-authored-by: Zhiwei Liang <121905282+zliang-akamai@users.noreply.github.com>
* implementation
* fixing tests
* json_object
* Support list deserialise in `JSONObject`
* cleaning up code
* make format
* Replace `get_client` with `test_linode_client` (#346)
* fix: Handle `null` values in `JSONObject` fields (#344)
## 📝 Description
**What does this PR do and why is this change necessary?**
Handle null values for `JSONObject` fields
## ✔️ How to Test
**What are the steps to reproduce the issue or verify the changes?**
`pytest test/integration/models/test_networking.py`
---------
Co-authored-by: Lena Garber <lgarber@akamai.com>
Co-authored-by: Lena Garber <114949949+lgarber-akamai@users.noreply.github.com>
Co-authored-by: Youjung Kim <126618609+ykim-1@users.noreply.github.com>
Co-authored-by: Ye Chen <127243817+yec-akamai@users.noreply.github.com>
Co-authored-by: Ania Misiorek <amisiore@akamai.com>
Co-authored-by: Ania Misiorek <139170033+amisiorek-akamai@users.noreply.github.com>
Co-authored-by: Jacob Riddle <87780794+jriddle-linode@users.noreply.github.com>
0 commit comments