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-24 13:33:45 -0600
commit97022cea7fe4bb56919bcaa85568afac2420aba7 (patch)
treedc2f4e697bb4cdd6cf16ba4f391bf5a5419a84a4 /src/services/api/graphql/recipes
parent715b3c05b6f6bed436c7651d8a7897e8c120329b (diff)
downloadvyos-1x-97022cea7fe4bb56919bcaa85568afac2420aba7.tar.gz
vyos-1x-97022cea7fe4bb56919bcaa85568afac2420aba7.zip
graphql: T3993: normalize naming conventions
(cherry picked from commit fb2dc58d91bd93ba3aaa63d46e49e6609c18d46f)
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