diff options
author | John Estabrook <jestabro@vyos.io> | 2021-12-12 17:35:42 -0600 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2021-12-12 18:35:42 -0600 |
commit | 4b96a627a263a2ea977f38b4f5348faa91d6c40a (patch) | |
tree | dcba18fc07b451779e7273932202078a742a45fc /src/services/api/graphql/recipes/templates | |
parent | f488682eaae828e65614324ef715943e3fa37e69 (diff) | |
download | vyos-1x-4b96a627a263a2ea977f38b4f5348faa91d6c40a.tar.gz vyos-1x-4b96a627a263a2ea977f38b4f5348faa91d6c40a.zip |
graphql: T3993: add requests for firewall ipv6-address-group
(cherry picked from commit 92c4cc5e1248b3c7ffda03e23eeb21e2073ba7f0)
Diffstat (limited to 'src/services/api/graphql/recipes/templates')
3 files changed, 10 insertions, 0 deletions
diff --git a/src/services/api/graphql/recipes/templates/create_firewall_address_ipv_6_group.tmpl b/src/services/api/graphql/recipes/templates/create_firewall_address_ipv_6_group.tmpl new file mode 100644 index 000000000..e9b660722 --- /dev/null +++ b/src/services/api/graphql/recipes/templates/create_firewall_address_ipv_6_group.tmpl @@ -0,0 +1,4 @@ +set firewall group ipv6-address-group {{ name }} +{% for add in address %} +set firewall group ipv6-address-group {{ name }} address {{ add }} +{% endfor %} diff --git a/src/services/api/graphql/recipes/templates/remove_firewall_address_ipv_6_group_members.tmpl b/src/services/api/graphql/recipes/templates/remove_firewall_address_ipv_6_group_members.tmpl new file mode 100644 index 000000000..0efa0b226 --- /dev/null +++ b/src/services/api/graphql/recipes/templates/remove_firewall_address_ipv_6_group_members.tmpl @@ -0,0 +1,3 @@ +{% for add in address %} +delete firewall group ipv6-address-group {{ name }} address {{ add }} +{% endfor %} diff --git a/src/services/api/graphql/recipes/templates/update_firewall_address_ipv_6_group_members.tmpl b/src/services/api/graphql/recipes/templates/update_firewall_address_ipv_6_group_members.tmpl new file mode 100644 index 000000000..f98a5517c --- /dev/null +++ b/src/services/api/graphql/recipes/templates/update_firewall_address_ipv_6_group_members.tmpl @@ -0,0 +1,3 @@ +{% for add in address %} +set firewall group ipv6-address-group {{ name }} address {{ add }} +{% endfor %} |