[nova][neutron][openstacksdk] Any API way to tell the difference for openstack ports created manually or automatically?

Slawek Kaplonski skaplons at redhat.com
Thu Jan 5 09:08:17 UTC 2023


Hi,

Dnia czwartek, 5 stycznia 2023 03:54:25 CET hai wu pisze:
> I could not find any API way to tell the difference between openstack
> ports created automatically when a new instance got created, and
> openstack ports manually created for port reservation purposes.
> 
> There's 'preserve_on_delete' attribute in the openstack database for
> each vm instance, and if it is set to 'true', then the port was
> manually created, if not, then it was automatically created. But
> there's no API to retrieve this.
> 
> Am I missing something?
> 
> Hai
> 
> 

You are no missing anything. There is no way to check that using API (both Neutron nor Nova).

-- 
Slawek Kaplonski
Principal Software Engineer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.openstack.org/pipermail/openstack-discuss/attachments/20230105/9c42279f/attachment.sig>


More information about the openstack-discuss mailing list