Open zxwing opened 7 years ago
查询IPsec connection
org.zstack.ipsec.APIQueryIPSecConnectionMsg
QueryIPSecConnection name=ipsec1
返回结果:
{ "inventories": [ { "authKey": "test", "authMode": "psk", "createDate": "Nov 11, 2016 4:58:04 PM", "description": "test", "ikeAuthAlgorithm": "sha1", "ikeDhGroup": 2, "ikeEncryptionAlgorithm": "aes-128", "l3NetworkUuid": "fbbc1e6519a14e5696a6d271bce9d8f6", "lastOpDate": "Nov 11, 2016 4:58:04 PM", "name": "ipsec1", "peerAddress": "172.20.51.150", "peerCidrs": [ { "cidr": "10.0.15.0/24", "connectionUuid": "5470eaffb87747a4af70c0359ae134ad", "createDate": "Nov 11, 2016 4:58:04 PM", "lastOpDate": "Nov 11, 2016 4:58:04 PM", "uuid": "413a423b88af486c89034e4e2bc77850" } ], "policyAuthAlgorithm": "sha1", "policyEncryptionAlgorithm": "aes-128", "policyMode": "tunnel", "transformProtocol": "esp", "uuid": "5470eaffb87747a4af70c0359ae134ad", "vipUuid": "0af328f53d3d4b11aebbc3b0f560b849" } ], "success": true }
QueryIPSecConnection [Query Conditions:] peerCidrs. __systemTag__= __userTag__= authKey= authMode= createDate= description= groupBy= ikeAuthAlgorithm= ikeDhGroup= ikeEncryptionAlgorithm= l3NetworkUuid= lastOpDate= name= peerAddress= pfs= policyAuthAlgorithm= policyEncryptionAlgorithm= policyMode= systemTags= transformProtocol= userTags= uuid= vipUuid= [Parameters:] count= fields= limit= replyWithCount= sortBy= sortDirection= start= timeout=
描述
查询IPsec connection
API
org.zstack.ipsec.APIQueryIPSecConnectionMsg
举例(Example)
返回结果:
参数(Parameters)
备注
Feature_link