blob: c5c40ac96157230fbbf9926913475ed5af1d906b [file] [log] [blame]
#!/bin/bash
#
# Copyright (c) 2016-2017 Nest Labs, Inc.
# All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#
# @file
# Sample code for manually running happy WdmNext tests
#
#Enable case and make tests hit frontdoor
#generate case certificate
#python weave-provisioning-tool.py export-key-files --db 'simulator-weave-provisioning-db.sqlite' --outdir /tmp/ --start 18B430AA00070100 --end 18B430AA0007010A
#export CASE=1
#export USE_SERVICE_DIR=1
#export weave_service_address='frontdoor.integration.nestlabs.com'
export weave_service_address='tunnel01.weave01.iad02.integration.nestlabs.com'
export happy_dns='8.8.8.8 172.16.255.1 172.16.255.153 172.16.255.53'
python wdmNext/test_weave_wdm_next_service_mutual_subscribe_01.py
#python tunnel/test_weave_tunnel_01.py