trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dra...@apache.org
Subject [trafficserver] branch master updated: removes unused public ip option from microserver code
Date Fri, 08 Dec 2017 15:10:56 GMT
This is an automated email from the ASF dual-hosted git repository.

dragon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new 5b06302  removes unused public ip option from microserver code
5b06302 is described below

commit 5b06302c59ce43a4eede88e1e7251a7ffbaf965a
Author: Derek Dagit <derekd@oath.com>
AuthorDate: Fri Dec 1 15:44:35 2017 -0600

    removes unused public ip option from microserver code
---
 tests/gold_tests/autest-site/microserver.test.ext | 6 +++---
 tests/tools/microServer/uWServer.py               | 6 ------
 2 files changed, 3 insertions(+), 9 deletions(-)

diff --git a/tests/gold_tests/autest-site/microserver.test.ext b/tests/gold_tests/autest-site/microserver.test.ext
index 206a983..1ca1cb4 100644
--- a/tests/gold_tests/autest-site/microserver.test.ext
+++ b/tests/gold_tests/autest-site/microserver.test.ext
@@ -103,7 +103,7 @@ def makeHeader(self, requestString, **kwargs):
     return headerStr
 
 
-def MakeOriginServer(obj, name, port=False, ip=False, delay=False, public_ip=False, ssl=False,
options={}):
+def MakeOriginServer(obj, name, port=False, ip=False, delay=False, ssl=False, options={}):
     server_path = os.path.join(obj.Variables.AtsTestToolsDir, 'microServer/uWServer.py')
     data_dir = os.path.join(obj.RunDirectory, name)
     # create Process
@@ -114,8 +114,8 @@ def MakeOriginServer(obj, name, port=False, ip=False, delay=False, public_ip=Fal
         ip = '127.0.0.1'
     if (delay == False):
         delay = 0
-    command = "python3 {0} --data-dir {1} --port {2} --ip_address {3} --delay {4} --public
{5} -m test --ssl {6}".format(
-        server_path, data_dir, port, ip, delay, public_ip, ssl)
+    command = "python3 {0} --data-dir {1} --port {2} --ip_address {3} --delay {4} -m test
--ssl {5}".format(
+        server_path, data_dir, port, ip, delay, ssl)
     for flag, value in options.items():
         command += " {} {}".format(flag, value)
 
diff --git a/tests/tools/microServer/uWServer.py b/tests/tools/microServer/uWServer.py
index 9cc5845..97aaaec 100644
--- a/tests/tools/microServer/uWServer.py
+++ b/tests/tools/microServer/uWServer.py
@@ -605,12 +605,6 @@ def main():
                         help="Directory with data file"
                         )
 
-    parser.add_argument("--public", "-P",
-                        type=_bool,
-                        default=False,
-                        help="Bind server to public IP 0.0.0.0 vs private IP of 127.0.0.1"
-                        )
-
     parser.add_argument("--ip_address", "-ip",
                         type=str,
                         default='',

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <commits@trafficserver.apache.org>'].

Mime
View raw message