Skip to content

Commit

Permalink
Merge pull request #4 from ansible/support_new_modules
Browse files Browse the repository at this point in the history
new variable support
  • Loading branch information
justjais authored Aug 22, 2018
2 parents ab047c0 + 3df8519 commit b31e102
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion flaskapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ class NetworkView(object):
order = None
replacement = None
text = None
zone_format = None
grid_primary = None
grid_secondaries = None
ns_group = None

def __init__(self, uid=None, isdefault=False, name=None, viewtype='network', network=None, comment=None):
# `ZG5zLm5ldHdvcmskMS4wLjAuMC8yNC8w` == `dns.network$1.0.0.0/24/0`
Expand Down Expand Up @@ -222,7 +226,11 @@ def to_dict(self, fields=[]):
'weight': self.weight,
'order': self.order,
'replacement': self.replacement,
'text': self.text
'text': self.text,
'zone_format': self.zone_format,
'grid_primary': self.grid_primary,
'grid_secondaries': self.grid_secondaries,
'ns_group': self.ns_group
}
if fields:
for x in fields:
Expand Down

0 comments on commit b31e102

Please sign in to comment.