-
Notifications
You must be signed in to change notification settings - Fork 897
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CloudNetwork, NetworkPort and SecurityGroup belong to a ResourceGroup
With this commit we model a `belongs_to` relationship to a ResourceGroup for CloudNetwork, NetworkPort and SecurityGroup models. A ResourceGroup now has a `has_many` relationship to these network entities. This mirrors the existing relationship between ResourceGroup and VMs. When a resource group is deleted, references to the associated resources are nullified. Signed-off-by: Manca Bizjak <[email protected]>
- Loading branch information
1 parent
6ab0b2b
commit e9e72f7
Showing
5 changed files
with
23 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters