From 197167072be64fc22e9ff78f875208fe12f80bb0 Mon Sep 17 00:00:00 2001 From: Komal Thareja Date: Sun, 3 Mar 2024 18:38:41 -0500 Subject: [PATCH 1/2] update changelog, run sort and black --- CHANGELOG.md | 2 +- .../editors/geo_topology_editor.py | 12 ++++++------ fabrictestbed_extensions/fablib/slice.py | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 570bb7e7..7a9bcf3f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## Unreleased +## [1.6.4] - 2024-03-05 ### Fixed - Reduce the time taken for the call node.get_ssh_command() (Issue [#280](https://github.com/fabric-testbed/fabrictestbed-extensions/issues/280)) diff --git a/fabrictestbed_extensions/editors/geo_topology_editor.py b/fabrictestbed_extensions/editors/geo_topology_editor.py index 8166adfb..85179f93 100644 --- a/fabrictestbed_extensions/editors/geo_topology_editor.py +++ b/fabrictestbed_extensions/editors/geo_topology_editor.py @@ -1460,9 +1460,9 @@ def load_node(self, node_name): self.current_node = node self.dashboards["node_dashboard"]["node_name_widget"].value = node_name - self.dashboards["node_dashboard"][ - "site_name_widget" - ].value = node.get_property(pname="site") + self.dashboards["node_dashboard"]["site_name_widget"].value = ( + node.get_property(pname="site") + ) self.dashboards["node_dashboard"]["core_slider"].value = int( self.get_capacity_value(node, "core") ) @@ -1475,9 +1475,9 @@ def load_node(self, node_name): self.dashboards["node_dashboard"]["image_widget"].value = node.get_property( pname="image_ref" ) - self.dashboards["node_dashboard"][ - "image_type_widget" - ].value = node.get_property(pname="image_type") + self.dashboards["node_dashboard"]["image_type_widget"].value = ( + node.get_property(pname="image_type") + ) # TODO: LOAD Components diff --git a/fabrictestbed_extensions/fablib/slice.py b/fabrictestbed_extensions/fablib/slice.py index 9af9cd57..0282d7d0 100644 --- a/fabrictestbed_extensions/fablib/slice.py +++ b/fabrictestbed_extensions/fablib/slice.py @@ -1200,9 +1200,9 @@ def get_notices(self) -> Dict[str, str]: notices[node.get_reservation_id()] = node.get_error_message() for network_service in self.get_network_services(): - notices[ - network_service.get_reservation_id() - ] = network_service.get_error_message() + notices[network_service.get_reservation_id()] = ( + network_service.get_error_message() + ) for component in self.get_components(): notices[component.get_reservation_id()] = component.get_error_message() From f1f906a2fb62de219c2d3c03b188edde760cec79 Mon Sep 17 00:00:00 2001 From: Komal Thareja Date: Sun, 3 Mar 2024 18:41:10 -0500 Subject: [PATCH 2/2] update changelog, run sort and black --- .../editors/geo_topology_editor.py | 12 ++++++------ fabrictestbed_extensions/fablib/slice.py | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/fabrictestbed_extensions/editors/geo_topology_editor.py b/fabrictestbed_extensions/editors/geo_topology_editor.py index 85179f93..8166adfb 100644 --- a/fabrictestbed_extensions/editors/geo_topology_editor.py +++ b/fabrictestbed_extensions/editors/geo_topology_editor.py @@ -1460,9 +1460,9 @@ def load_node(self, node_name): self.current_node = node self.dashboards["node_dashboard"]["node_name_widget"].value = node_name - self.dashboards["node_dashboard"]["site_name_widget"].value = ( - node.get_property(pname="site") - ) + self.dashboards["node_dashboard"][ + "site_name_widget" + ].value = node.get_property(pname="site") self.dashboards["node_dashboard"]["core_slider"].value = int( self.get_capacity_value(node, "core") ) @@ -1475,9 +1475,9 @@ def load_node(self, node_name): self.dashboards["node_dashboard"]["image_widget"].value = node.get_property( pname="image_ref" ) - self.dashboards["node_dashboard"]["image_type_widget"].value = ( - node.get_property(pname="image_type") - ) + self.dashboards["node_dashboard"][ + "image_type_widget" + ].value = node.get_property(pname="image_type") # TODO: LOAD Components diff --git a/fabrictestbed_extensions/fablib/slice.py b/fabrictestbed_extensions/fablib/slice.py index 0282d7d0..9af9cd57 100644 --- a/fabrictestbed_extensions/fablib/slice.py +++ b/fabrictestbed_extensions/fablib/slice.py @@ -1200,9 +1200,9 @@ def get_notices(self) -> Dict[str, str]: notices[node.get_reservation_id()] = node.get_error_message() for network_service in self.get_network_services(): - notices[network_service.get_reservation_id()] = ( - network_service.get_error_message() - ) + notices[ + network_service.get_reservation_id() + ] = network_service.get_error_message() for component in self.get_components(): notices[component.get_reservation_id()] = component.get_error_message()