Commit 3480aed
authored
Feature: Port forwarding (#376)
* temp: used sdk branch need to be repalce
* Refactor: refactor show instances for better code maintenance and using new sdk logic
* Feat: aleph instance port_forwarding ... with unit test
* feat: new help string for Port Forwarder
* Refactor: simplify network parts of instances to use sdk logic
* Fix: instance commands to use new logic from sdk
* Fix :instances unit test
* fix: only get_crns_list should not be call in case it's gpu
* feat: better mocks for crns list
* fix: ports import have change
* fix: unit test
* fix: test_port_forwarder.py
* fix: linting issue
* fix: linting issue
* fix: remove useless mocked parts and fix instance creations for gpu
* fix: unit test and improve a bit coverage
* feature: new test for display feat
* fix: mypy issue type error in test
* test: sanitize url / gpu search in list / fetch crn info
* fix: using mock_crn_list instead of new mock
* fix: lint format issue
* fix: utils was renamed to instance
* Fix: fetch_crn_info
* Fix: unit test with latest sdk change1 parent c444fd7 commit 3480aed
File tree
12 files changed
+2569
-507
lines changed- src/aleph_client/commands
- instance
- tests/unit
12 files changed
+2569
-507
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
| 34 | + | |
| 35 | + | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
Large diffs are not rendered by default.
0 commit comments