Skip to content

Commit

Permalink
Expose public ip in AmlComputeNodeInfo (#35965)
Browse files Browse the repository at this point in the history
* expose public ip in aml compute node

AmlComputeNodeInfo should expose the attribute "public_ip_address", otherwise is not possible to connect through ssh with only the information provided in the class

* Update CHANGELOG.md
  • Loading branch information
emepetres authored Jun 27, 2024
1 parent 7068b4b commit a4dddb0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sdk/ml/azure-ai-ml/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

### Features Added

Expose `public_ip_address` in `AmlComputeNodeInfo`, to get the public ip address with the ssh port when calling `ml_client.compute.list_nodes`

### Bugs Fixed
- InputTypes exported in constants module

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class AmlComputeNodeInfo:
def __init__(self) -> None:
self.node_id = None
self.private_ip_address = None
self.public_ip_address = None
self.port = None
self.node_state = None
self.run_id: Optional[str] = None
Expand Down

0 comments on commit a4dddb0

Please sign in to comment.