Browse Source

replace config param.

[email protected] 4 years ago
parent
commit
de037f685e

+ 5 - 5
pyproject/AliyunTools/README.md

@@ -1,6 +1,6 @@
 # ECSCreater
 ## 创建
-- 地址:http://60.205.208.168:5000/createecs
+- 地址:http://127.0.0.1:5000/createecs
 - HTTP Method: POST
 - Parameter:
   - set_Region:cn-beijing      // 大区
@@ -11,7 +11,7 @@
 - response:返回创建的实例ID
 
 ## 获取实例信息,调用创建接口10s后调用
-- 地址:http://60.205.208.168:5000/describeinstances
+- 地址:http://127.0.0.1:5000/describeinstances
 - HTTP Method: POST
 - Parameter:
   - set_Region:cn-beijing      // 大区
@@ -19,7 +19,7 @@
 - response:  返回 实例ID,付费类型、公网地址、内网地址
 
 ## 释放实例
-- 地址:http://60.205.208.168:5000/releaseinstances
+- 地址:http://127.0.0.1:5000/releaseinstances
 - HTTP Method: POST
 - Parameter:
   -  set_Region:cn-beijing      // 大区
@@ -29,7 +29,7 @@
 
 # EIPChanger
 ##  根据内网ip获取实例id
-- 地址: http://60.205.208.168:5000/getinstanceid
+- 地址: http://127.0.0.1:5000/getinstanceid
 - HTTP Method: POST
 - Parameter:
   - privateip  // ECS内网ip
@@ -37,7 +37,7 @@
 - response:返回IP和实例ID键值对
 
 ## 根据内网IP更换EIP
-- 地址: http://60.205.208.168:5000/reseteip
+- 地址: http://127.0.0.1:5000/reseteip
 - HTTP Method: POST
 - Parameter:
   - privateip // ECS内网ip

+ 2 - 2
pyproject/AliyunTools/aliyun_eipaddress/config_hbgj.py

@@ -1,3 +1,3 @@
 class Config():
-    accessKeyId = "PFRBSWFK0NqaH8rxF6lnOA"
-    accessSecret = "Sb2xOHh0UTB1U2EzdVld6NjhrYUVhY22gAWHRn"
+    accessKeyId = "accessKeyId"
+    accessSecret = "accessSecret"

+ 1 - 1
pyproject/zabbixAPItools/jvmthread_graph_creater.py

@@ -14,7 +14,7 @@ class zabbixApi(object):
             "jsonrpc": "2.0",
             "method": "user.login",
             "params": {
-                "user": "duh",
+                "user": "user",
                 "password":"EPy++z@BUT3X"
             },
             "id": 1,