I think I got it. Looking at your code in nova side, If you boot a server w/o sg, it still add an entry only with "name", and it'd fail if you happen to have multiple SGs with name "default" (which is unlikely) . I was thinking the fact that it'd fail is a problem, but you don't think so. I still feel like the name field + tenant_id should be unique constrained to simplify things, but I think I understand how it is now.
Hi Aaron,
I think I got it. Looking at your code in nova side, If you boot a server w/o sg, it still add an entry only with "name", and it'd fail if you happen to have multiple SGs with name "default" (which is unlikely) . I was thinking the fact that it'd fail is a problem, but you don't think so. I still feel like the name field + tenant_id should be unique constrained to simplify things, but I think I understand how it is now.
Thanks again for the explanations :-)