From 100bff34dcf5193a3aa166a5804a62ba16399d09 Mon Sep 17 00:00:00 2001 From: Doug Goldstein Date: Wed, 18 Dec 2024 12:18:15 -0600 Subject: [PATCH] fix ip --- .../neutron_understack/l3_service_cisco_asa.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/neutron-understack/neutron_understack/l3_service_cisco_asa.py b/python/neutron-understack/neutron_understack/l3_service_cisco_asa.py index c1bec6da..6852d084 100644 --- a/python/neutron-understack/neutron_understack/l3_service_cisco_asa.py +++ b/python/neutron-understack/neutron_understack/l3_service_cisco_asa.py @@ -132,7 +132,7 @@ def _process_floatingip_update(self, resource, event, trigger, payload): if asa_mgmt and asa_inf and inside_ip_addr and float_ip_addr: cmd = ( - f"object+network+OBJ-$inside_ip/host+{inside_ip_addr}/nat+({asa_inside_inf},{asa_outside_inf})+static+{float_ip_addr}" + f"object+network+OBJ-{inside_ip_addr}/host+{inside_ip_addr}/nat+({asa_inside_inf},{asa_outside_inf})+static+{float_ip_addr}" if assoc_disassoc else f"no+object+network+OBJ-{inside_ip_addr}" )