Skip to content

Commit bcdcaea

Browse files
committed
check for facility type before doing reservation id lookup
1 parent 07328b5 commit bcdcaea

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

fabric_cf/orchestrator/core/orchestrator_slice_wrapper.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,8 @@ def modify(self, *, new_slice_graph: ABCASMPropertyGraph) -> Tuple[TopologyDiff,
578578

579579
# Remove nodes
580580
for x in topology_diff.removed.nodes:
581-
self.computed_remove_reservations.append(x.reservation_info.reservation_id)
581+
if x.type != NodeType.Facility:
582+
self.computed_remove_reservations.append(x.reservation_info.reservation_id)
582583

583584
# Remove services
584585
for x in topology_diff.removed.services:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ dependencies = [
2828
"PyYAML",
2929
"fabric_fss_utils==1.6.0",
3030
"fabric-message-bus==1.7.0",
31-
"fabric-fim==1.8.1",
31+
"fabric-fim==1.8.2",
3232
"fabrictestbed==1.8.2",
3333
"ansible"
3434
]

0 commit comments

Comments
 (0)