From bc587e623df9ed988819fc85304bf467e4b31ed9 Mon Sep 17 00:00:00 2001 From: Komal Thareja Date: Sun, 22 Sep 2024 21:58:12 -0400 Subject: [PATCH] update changelog --- CHANGELOG.md | 4 ++++ fabrictestbed_extensions/fablib/slice.py | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b48765b1..acf62875 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - FabNet user specified subnets (Issue [#361](https://github.com/fabric-testbed/fabrictestbed-extensions/issues/361)) - Renew Slice leaves the slivers in ActiveTicketed State (Issue [#364](https://github.com/fabric-testbed/fabrictestbed-extensions/issues/364)) - get_management_os_interface and get_dataplane_os_interfaces doesn't take into account IPv6 addresses. (Issue [#362](https://github.com/fabric-testbed/fabrictestbed-extensions/issues/362)) +- Disable post boot config for renew (Issue [#373](https://github.com/fabric-testbed/fabrictestbed-extensions/issues/373)) +- slice.renew() should pass **kwargs through to slice.submit() (Issue [#374](https://github.com/fabric-testbed/fabrictestbed-extensions/issues/374)) +- node.execute() retry parameter is off-by-one (and/or misnamed) (Issue [#375](https://github.com/fabric-testbed/fabrictestbed-extensions/issues/375)) + ## [1.7.3] - 08/05/2024 ### Fixed diff --git a/fabrictestbed_extensions/fablib/slice.py b/fabrictestbed_extensions/fablib/slice.py index 37582b10..9e82733c 100644 --- a/fabrictestbed_extensions/fablib/slice.py +++ b/fabrictestbed_extensions/fablib/slice.py @@ -1610,7 +1610,7 @@ def delete(self): self.topology = None - def renew(self, end_date: str = None, days: int = None): + def renew(self, end_date: str = None, days: int = None, **kwargs): """ Renews the FABRIC slice's lease to the new end date. @@ -1632,7 +1632,7 @@ def renew(self, end_date: str = None, days: int = None): end = datetime.strptime(end_date, "%Y-%m-%d %H:%M:%S %z") days = (end - datetime.now(timezone.utc)).days - self.submit(lease_in_days=days, post_boot_config=False) + self.submit(lease_in_days=days, post_boot_config=False, **kwargs) def build_error_exception_string(self) -> str: """ @@ -2154,6 +2154,7 @@ def submit( lease_start_time: datetime = None, lease_in_days: int = None, validate: bool = False, + **kwargs, ) -> str: """ Submits a slice request to FABRIC.