[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-7625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14146917#comment-14146917
 ] 

Jessica Wang commented on CLOUDSTACK-7625:
------------------------------------------

screenshots of UI change are attached.

API calls in the screenshots:

https://issues.citrite.net/i#browse/CS-19442



http://10.215.3.26:8080/client/api?command=createRemoteAccessVpn&response=json&sessionkey=j86M%2FWlXUFfHsvj4rcpj%2FPUM4aA%3D&publicipid=9784e132-7414-45e6-878f-82f081babb26&domainid=5adf2319-38a9-11e4-b948-d4ae52cb99a3&account=admin&_=1411592742041

    "createremoteaccessvpnresponse": {
        "id": "750d1c27-c38b-45cd-92aa-59be98834c83",
        "jobid": "23c7553d-5c7a-499b-a22f-710c906ccaf1"
    }
}

http://10.215.3.26:8080/client/api?command=queryAsyncJobResult&jobId=23c7553d-5c7a-499b-a22f-710c906ccaf1&response=json&sessionkey=j86M%2FWlXUFfHsvj4rcpj%2FPUM4aA%3D&_=1411592745244
{
    "queryasyncjobresultresponse": {
        "accountid": "da1a0149-38aa-11e4-b948-d4ae52cb99a3",
        "userid": "da1a0c8e-38aa-11e4-b948-d4ae52cb99a3",
        "cmd": 
"org.apache.cloudstack.api.command.user.vpn.CreateRemoteAccessVpnCmd",
        "jobstatus": 1,
        "jobprocstatus": 0,
        "jobresultcode": 0,
        "jobresulttype": "object",
        "jobresult": {
            "remoteaccessvpn": {
                "publicipid": "9784e132-7414-45e6-878f-82f081babb26",
                "publicip": "10.147.30.162",
                "iprange": "10.1.2.2-10.1.2.8",
                "presharedkey": "387sWNpGUWbJyd6aOWZDBOFS",
                "account": "admin",
                "domainid": "5adf2319-38a9-11e4-b948-d4ae52cb99a3",
                "domain": "ROOT",
                "state": "Added",
                "id": "750d1c27-c38b-45cd-92aa-59be98834c83",
                "fordisplay": true
            }
        },
        "jobinstancetype": "None",
        "created": "2014-09-24T13:05:41-0800",
        "jobid": "23c7553d-5c7a-499b-a22f-710c906ccaf1"
    }
}

> UI > IP Address page > EnableVPN > If createRemoteAccessVpn returns success, 
> but the newly created remoteaccessvpn object's state is not Running, treat it 
> as a failure.
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-7625
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7625
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: UI
>            Reporter: Jessica Wang
>            Assignee: Jessica Wang
>         Attachments: jessica1.PNG, jessica2.PNG, jessica3.PNG, jessica4.PNG
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to