Fixed typo with cli-json

This commit is contained in:
Logan Lipke
2020-07-30 10:05:26 -07:00
parent dcec9e535f
commit 28da5fe190
10 changed files with 10 additions and 10 deletions

View File

@@ -88,7 +88,7 @@ class GenTest(LFCliBase):
self.cx_profile.stop_cx() self.cx_profile.stop_cx()
for sta_name in self.sta_list: for sta_name in self.sta_list:
data = LFUtils.portDownRequest(1, sta_name) data = LFUtils.portDownRequest(1, sta_name)
url = "json-cli/set_port" url = "cli-json/set_port"
self.json_post(url, data) self.json_post(url, data)
def build(self): def build(self):

View File

@@ -136,7 +136,7 @@ class IPV4L4(LFCliBase):
self.cx_profile.stop_cx() self.cx_profile.stop_cx()
for sta_name in self.sta_list: for sta_name in self.sta_list:
data = LFUtils.portDownRequest(1, sta_name) data = LFUtils.portDownRequest(1, sta_name)
url = "json-cli/set_port" url = "cli-json/set_port"
self.json_post(url, data) self.json_post(url, data)
def cleanup(self, sta_list): def cleanup(self, sta_list):

View File

@@ -114,7 +114,7 @@ class IPV4L4(LFCliBase):
self.cx_profile.stop_cx() self.cx_profile.stop_cx()
for sta_name in self.sta_list: for sta_name in self.sta_list:
data = LFUtils.portDownRequest(1, sta_name) data = LFUtils.portDownRequest(1, sta_name)
url = "json-cli/set_port" url = "cli-json/set_port"
self.json_post(url, data) self.json_post(url, data)
def cleanup(self, sta_list): def cleanup(self, sta_list):

View File

@@ -125,7 +125,7 @@ class IPV4VariableTime(LFCliBase):
self.cx_profile.stop_cx() self.cx_profile.stop_cx()
for sta_name in self.sta_list: for sta_name in self.sta_list:
data = LFUtils.portDownRequest(1, sta_name) data = LFUtils.portDownRequest(1, sta_name)
url = "json-cli/set_port" url = "cli-json/set_port"
self.json_post(url, data) self.json_post(url, data)
def cleanup(self, sta_list): def cleanup(self, sta_list):

View File

@@ -97,7 +97,7 @@ class IPv6Test(LFCliBase):
# Bring stations down # Bring stations down
for sta_name in self.sta_list: for sta_name in self.sta_list:
data = LFUtils.portDownRequest(1, sta_name) data = LFUtils.portDownRequest(1, sta_name)
url = "json-cli/set_port" url = "cli-json/set_port"
# print(sta_name) # print(sta_name)
self.json_post(url, data) self.json_post(url, data)

View File

@@ -126,7 +126,7 @@ class IPV6VariableTime(LFCliBase):
self.cx_profile.stop_cx() self.cx_profile.stop_cx()
for sta_name in self.sta_list: for sta_name in self.sta_list:
data = LFUtils.portDownRequest(1, sta_name) data = LFUtils.portDownRequest(1, sta_name)
url = "json-cli/set_port" url = "cli-json/set_port"
self.json_post(url, data) self.json_post(url, data)
def cleanup(self, sta_list): def cleanup(self, sta_list):

View File

@@ -92,7 +92,7 @@ class IPv4Test(LFCliBase):
# Bring stations down # Bring stations down
for sta_name in self.sta_list: for sta_name in self.sta_list:
data = LFUtils.portDownRequest(1, sta_name) data = LFUtils.portDownRequest(1, sta_name)
url = "json-cli/set_port" url = "cli-json/set_port"
# print(sta_name) # print(sta_name)
self.json_post(url, data) self.json_post(url, data)

View File

@@ -92,7 +92,7 @@ class IPv4Test(LFCliBase):
# Bring stations down # Bring stations down
for sta_name in self.sta_list: for sta_name in self.sta_list:
data = LFUtils.portDownRequest(1, sta_name) data = LFUtils.portDownRequest(1, sta_name)
url = "json-cli/set_port" url = "cli-json/set_port"
# print(sta_name) # print(sta_name)
self.json_post(url, data) self.json_post(url, data)

View File

@@ -92,7 +92,7 @@ class IPv4Test(LFCliBase):
# Bring stations down # Bring stations down
for sta_name in self.sta_list: for sta_name in self.sta_list:
data = LFUtils.portDownRequest(1, sta_name) data = LFUtils.portDownRequest(1, sta_name)
url = "json-cli/set_port" url = "cli-json/set_port"
# print(sta_name) # print(sta_name)
self.json_post(url, data) self.json_post(url, data)

View File

@@ -92,7 +92,7 @@ class IPv4Test(LFCliBase):
# Bring stations down # Bring stations down
for sta_name in self.sta_list: for sta_name in self.sta_list:
data = LFUtils.portDownRequest(1, sta_name) data = LFUtils.portDownRequest(1, sta_name)
url = "json-cli/set_port" url = "cli-json/set_port"
# print(sta_name) # print(sta_name)
self.json_post(url, data) self.json_post(url, data)