diff options
author | John Estabrook <jestabro@vyos.io> | 2021-11-22 13:37:39 -0600 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2021-11-22 14:05:58 -0600 |
commit | fb2dc58d91bd93ba3aaa63d46e49e6609c18d46f (patch) | |
tree | bf7d719ff601bee2af34e566ca29748b2bc03efe /src/services/api/graphql/recipes/templates/create_interface_ethernet.tmpl | |
parent | 6de15a4162224dbf2d911bce0a9d4eaa396071a3 (diff) | |
download | vyos-1x-fb2dc58d91bd93ba3aaa63d46e49e6609c18d46f.tar.gz vyos-1x-fb2dc58d91bd93ba3aaa63d46e49e6609c18d46f.zip |
graphql: T3993: normalize naming conventions
Diffstat (limited to 'src/services/api/graphql/recipes/templates/create_interface_ethernet.tmpl')
-rw-r--r-- | src/services/api/graphql/recipes/templates/create_interface_ethernet.tmpl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/services/api/graphql/recipes/templates/create_interface_ethernet.tmpl b/src/services/api/graphql/recipes/templates/create_interface_ethernet.tmpl new file mode 100644 index 000000000..d9d7ed691 --- /dev/null +++ b/src/services/api/graphql/recipes/templates/create_interface_ethernet.tmpl @@ -0,0 +1,5 @@ +{% if replace %} +delete interfaces ethernet {{ interface }} address +{% endif %} +set interfaces ethernet {{ interface }} address {{ address }} +set interfaces ethernet {{ interface }} description {{ description }} |