Exemple #1
0
        /// <summary>
        /// Copies test values from the application's properties.
        /// </summary>
        private void Setup()
        {
            _apiKey     = Properties.Settings.Default.User;
            _secretKey  = Properties.Settings.Default.Password;
            _serviceUri = new Uri(Properties.Settings.Default.URL);

            _proxy  = new CloudStackAPIProxy(_serviceUri.ToString(), _apiKey, _secretKey);
            _client = new CloudStackAPIClient(_proxy);

            _templateId        = Properties.Settings.Default.TemplateId;
            _networkId         = Properties.Settings.Default.SubnetId;
            _serviceOfferingId = Properties.Settings.Default.ServiceOfferingId;

            this._deployStopped = Properties.Settings.Default.DeployStopped;
            _zoneId             = Properties.Settings.Default.ZoneId;
        }
        /// <summary>
        /// Copies test values from the application's properties.
        /// </summary>
        private void Setup()
        {
            _apiKey = Properties.Settings.Default.User;
            _secretKey = Properties.Settings.Default.Password;
            _serviceUri = new Uri(Properties.Settings.Default.URL);

            _proxy = new CloudStackAPIProxy(_serviceUri.ToString(), _apiKey, _secretKey);
            _client = new CloudStackAPIClient(_proxy);

            _templateId = Properties.Settings.Default.TemplateId;
            _networkId = Properties.Settings.Default.SubnetId;
            _serviceOfferingId = Properties.Settings.Default.ServiceOfferingId;

            this._deployStopped = Properties.Settings.Default.DeployStopped;
            _zoneId = Properties.Settings.Default.ZoneId;
        }