Capture port deleted event associated to HM ServiceMonitor
When the port associated to a VM is deleted, if a ServiceMonitor
row is associated to that port an OVN SB event is triggered
in order to communicate that the ServiceMonitor entry is been
deleted. That event would allow us to update the status of
member/pool/LB according to the event.
This patch suscribes the driver agent to the DELETE events
for table ServiceMonitor on the OVN SB DB in order to
update the operating_status when the VM port is deleted.
Reviewed: https:/ /review. opendev. org/c/openstack /ovn-octavia- provider/ +/857365 /opendev. org/openstack/ ovn-octavia- provider/ commit/ 30db5c88cefd153 983c0193cdf2501 61fd10640c
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 30db5c88cefd153 983c0193cdf2501 61fd10640c
Author: Fernando Royo <email address hidden>
Date: Tue Sep 13 14:09:14 2022 +0200
Capture port deleted event associated to HM ServiceMonitor
When the port associated to a VM is deleted, if a ServiceMonitor
row is associated to that port an OVN SB event is triggered
in order to communicate that the ServiceMonitor entry is been
deleted. That event would allow us to update the status of
member/pool/LB according to the event.
This patch suscribes the driver agent to the DELETE events
for table ServiceMonitor on the OVN SB DB in order to
update the operating_status when the VM port is deleted.
Closes-Bug: #1989460 96f5c5848734854 551c842db1e
Change-Id: I9f8c5668c260a8