Skip to content

Commit

Permalink
Merge pull request #390 from noironetworks/scope_constants
Browse files Browse the repository at this point in the history
Add scope constants
  • Loading branch information
tbachman authored Oct 13, 2023
2 parents 57d95a3 + 68af0d4 commit a94244a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions aim/api/resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,8 @@ class Subnet(AciResourceBase):

SCOPE_PRIVATE = 'private'
SCOPE_PUBLIC = 'public'
SCOPE_SHARED = 'shared'
SCOPE_PUBLIC_SHARED = 'public,shared'

def __init__(self, **kwargs):
super(Subnet, self).__init__({'scope': self.SCOPE_PUBLIC,
Expand Down

0 comments on commit a94244a

Please sign in to comment.