Package com.cloud.hypervisor.hyperv.resource

Examples of com.cloud.hypervisor.hyperv.resource.HypervDirectConnectResource


            params.putAll(details);

            params.put("router.aggregation.command.each.timeout", _configDao.getValue(Config.RouterAggregationCommandEachTimeout.toString()));

            HypervDirectConnectResource resource = new HypervDirectConnectResource();
            resource.configure(agentIp, params);

            // Assert
            // TODO: test by using bogus URL and bogus virtual path in URL
            ReadyCommand ping = new ReadyCommand();
            Answer pingAns = resource.executeRequest(ping);
            if (pingAns == null || !pingAns.getResult()) {
                String errMsg = "Agent not running, or no route to agent on at " + uri;
                s_logger.debug(errMsg);
                throw new DiscoveryException(errMsg);
            }
View Full Code Here


            details.put("password", password);
            details.put("cluster.guid", cluster.getGuid());

            params.putAll(details);

            HypervDirectConnectResource resource =
                    new HypervDirectConnectResource();
            resource.configure(agentIp, params);

            // Assert
            // TODO: test by using bogus URL and bogus virtual path in URL
            ReadyCommand ping = new ReadyCommand();
            Answer pingAns = resource.executeRequest(ping);
            if (pingAns == null || !pingAns.getResult()) {
                String errMsg =
                        "Agent not running, or no route to agent on at "
                                + uri;
                s_logger.debug(errMsg);
View Full Code Here

TOP

Related Classes of com.cloud.hypervisor.hyperv.resource.HypervDirectConnectResource

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.