Ask Your Question
0

Can security groups can be set to auto-expired ( or have expiry settings)?

asked 2019-06-12 03:34:54 -0500

philbong_borces gravatar image

The security group will be used as a temporary security group for a temporary or experimental project so as not to clutter the cluster with lots of un inventoried groups.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2019-06-12 05:21:25 -0500

updated 2019-06-12 05:22:36 -0500

Short answer: No.

The best way to find out about features of OpenStack objects is checking the API, in my opinion. If security group expiration were built into the concept, it should be possible to set the expiration time via API. This is not the case, as you can see here: https://developer.openstack.org/api-r....

Now, a feature might be implemented as a separate object type, such as a hypothetic secgroup-expiration-time object, which could have its own API, but that is unlikely for a concept as simple as that (again, in my opinion).

I wonder though: If you auto-expire an object, how can you be certain that it won't be needed right after it disappeared? And why only security groups and not other objects?

Neutron does have a clutter management tool. An administrator can remove all Neutron resources of a project with the neutron purge command. It deletes everything that this project owns and is supposed to be used when the project itself is removed.

edit flag offensive delete link more

Comments

Hello Bernd, I really appreciate your quick reply. I'm going to read the link and understand it as best as i can. I will get back to you soon.

thank you,

philbong

philbong_borces gravatar imagephilbong_borces ( 2019-06-13 09:16:08 -0500 )edit

Hello Bernd, Your Question: I wonder though: If you auto-expire an object, how can you be certain that it won't be needed right after it disappeared? And why only security groups and not other objects?

Ans:This will be a part of our experiment as of the moment as we move forward w/ current projects

philbong_borces gravatar imagephilbong_borces ( 2019-06-13 19:19:54 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2019-06-12 03:34:54 -0500

Seen: 20 times

Last updated: Jun 12