1# Copyright 2017 VMware, Inc. All Rights Reserved.
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#	http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License
14
15*** Settings ***
16Documentation  Test 11-04 - Configure
17Resource  ../../resources/Util.robot
18Suite Setup  Install VIC with version to Test Server  v1.3.1
19Suite Teardown  Clean up VIC Appliance And Local Binary
20
21*** Test Cases ***
22Configure VCH with new vic-machine
23    ${ret}=  Run  bin/vic-machine-linux configure --target %{TEST_URL} --user %{TEST_USERNAME} --password=%{TEST_PASSWORD} --compute-resource=%{TEST_RESOURCE} --name %{VCH-NAME} --http-proxy http://proxy.vmware.com:3128
24    Should Not Contain  ${ret}  Completed successfully
25    Should Contain  ${ret}  configure failed
26