summaryrefslogtreecommitdiff
path: root/src/services/api/graphql/recipes
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2021-11-22 13:37:39 -0600
committerJohn Estabrook <jestabro@vyos.io>2021-11-22 14:05:58 -0600
commitfb2dc58d91bd93ba3aaa63d46e49e6609c18d46f (patch)
treebf7d719ff601bee2af34e566ca29748b2bc03efe /src/services/api/graphql/recipes
parent6de15a4162224dbf2d911bce0a9d4eaa396071a3 (diff)
downloadvyos-1x-fb2dc58d91bd93ba3aaa63d46e49e6609c18d46f.tar.gz
vyos-1x-fb2dc58d91bd93ba3aaa63d46e49e6609c18d46f.zip
graphql: T3993: normalize naming conventions
Diffstat (limited to 'src/services/api/graphql/recipes')
-rw-r--r--src/services/api/graphql/recipes/create_dhcp_server.py (renamed from src/services/api/graphql/recipes/dhcp_server.py)2
-rw-r--r--src/services/api/graphql/recipes/create_interface_ethernet.py (renamed from src/services/api/graphql/recipes/interface_ethernet.py)2
-rw-r--r--src/services/api/graphql/recipes/templates/create_dhcp_server.tmpl (renamed from src/services/api/graphql/recipes/templates/dhcp_server.tmpl)0
-rw-r--r--src/services/api/graphql/recipes/templates/create_interface_ethernet.tmpl (renamed from src/services/api/graphql/recipes/templates/interface_ethernet.tmpl)0
4 files changed, 2 insertions, 2 deletions
diff --git a/src/services/api/graphql/recipes/dhcp_server.py b/src/services/api/graphql/recipes/create_dhcp_server.py
index 3edb3028e..ac6f15209 100644
--- a/src/services/api/graphql/recipes/dhcp_server.py
+++ b/src/services/api/graphql/recipes/create_dhcp_server.py
@@ -1,7 +1,7 @@
from . recipe import Recipe
-class DhcpServer(Recipe):
+class CreateDhcpServer(Recipe):
def __init__(self, session, command_file):
super().__init__(session, command_file)
diff --git a/src/services/api/graphql/recipes/interface_ethernet.py b/src/services/api/graphql/recipes/create_interface_ethernet.py
index f88f5924f..aafb4d55c 100644
--- a/src/services/api/graphql/recipes/interface_ethernet.py
+++ b/src/services/api/graphql/recipes/create_interface_ethernet.py
@@ -1,7 +1,7 @@
from . recipe import Recipe
-class InterfaceEthernet(Recipe):
+class CreateInterfaceEthernet(Recipe):
def __init__(self, session, command_file):
super().__init__(session, command_file)
diff --git a/src/services/api/graphql/recipes/templates/dhcp_server.tmpl b/src/services/api/graphql/recipes/templates/create_dhcp_server.tmpl
index 70de43183..70de43183 100644
--- a/src/services/api/graphql/recipes/templates/dhcp_server.tmpl
+++ b/src/services/api/graphql/recipes/templates/create_dhcp_server.tmpl
diff --git a/src/services/api/graphql/recipes/templates/interface_ethernet.tmpl b/src/services/api/graphql/recipes/templates/create_interface_ethernet.tmpl
index d9d7ed691..d9d7ed691 100644
--- a/src/services/api/graphql/recipes/templates/interface_ethernet.tmpl
+++ b/src/services/api/graphql/recipes/templates/create_interface_ethernet.tmpl