|
@@ -5,8 +5,15 @@ import httpx
|
|
|
import asyncio
|
|
import asyncio
|
|
|
|
|
|
|
|
ip = "192.168.31.201"
|
|
ip = "192.168.31.201"
|
|
|
-port_list = ['58001', '58002', '58003', '58004', '58005', '58006', '58007', '58008', '58009', '58010']
|
|
|
|
|
-# port_list = ['32001', '32002', '32003', '32004', '32005', '32006', '32007', '32008', '32009', '32010', '32011', '32012']
|
|
|
|
|
|
|
+
|
|
|
|
|
+select_port_list = 0
|
|
|
|
|
+
|
|
|
|
|
+port_group_list = [
|
|
|
|
|
+ ['58001', '58002', '58003', '58004', '58005', '58006', '58007', '58008', '58009', '58010'],
|
|
|
|
|
+ ['32001', '32002', '32003', '32004', '32005', '32006', '32007', '32008', '32009', '32010', '32011', '32012']
|
|
|
|
|
+]
|
|
|
|
|
+
|
|
|
|
|
+port_list = port_group_list[select_port_list]
|
|
|
|
|
|
|
|
|
|
|
|
|
async def patch_config(base_port):
|
|
async def patch_config(base_port):
|