-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update the AWS Image ID and Add nlb test env for more CSPs
- Loading branch information
1 parent
13d8c26
commit e7e87a1
Showing
45 changed files
with
174 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
api-runtime/rest-runtime/test/0.full-liststatus-test/1.aws-test.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
export CONN_CONFIG=aws-ohio-config | ||
export IMAGE_NAME=ami-090717c950a5c34d3 | ||
export IMAGE_NAME=ami-00978328f54e31526 | ||
export SPEC_NAME=t3.micro | ||
|
||
./full_test.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
export CONN_CONFIG=aws-ohio-config | ||
export IMAGE_NAME=ami-090717c950a5c34d3 | ||
export IMAGE_NAME=ami-00978328f54e31526 | ||
export SPEC_NAME=t3.micro | ||
|
||
./full_test.sh |
2 changes: 1 addition & 1 deletion
2
api-runtime/rest-runtime/test/2.full-suspend-test/1.aws-test.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
export CONN_CONFIG=aws-ohio-config | ||
export IMAGE_NAME=ami-090717c950a5c34d3 | ||
export IMAGE_NAME=ami-00978328f54e31526 | ||
export SPEC_NAME=t3.micro | ||
|
||
./full_test.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
export CONN_CONFIG=aws-ohio-config | ||
export IMAGE_NAME=ami-090717c950a5c34d3 | ||
export IMAGE_NAME=ami-00978328f54e31526 | ||
export SPEC_NAME=t3.micro | ||
|
||
./full_test.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
export CONN_CONFIG=aws-ohio-config | ||
export IMAGE_NAME=ami-090717c950a5c34d3 | ||
export IMAGE_NAME=ami-00978328f54e31526 | ||
export SPEC_NAME=t3.micro | ||
|
||
./full_test.sh |
2 changes: 1 addition & 1 deletion
2
api-runtime/rest-runtime/test/99.only-vm-create-test/1.aws-test.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
export CONN_CONFIG=aws-ohio-config | ||
export IMAGE_NAME=ami-090717c950a5c34d3 | ||
export IMAGE_NAME=ami-00978328f54e31526 | ||
export SPEC_NAME=t3.micro | ||
|
||
./full_test.sh |
2 changes: 1 addition & 1 deletion
2
api-runtime/rest-runtime/test/99.only-vm-delete-test/1.aws-test.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
export CONN_CONFIG=aws-ohio-config | ||
export IMAGE_NAME=ami-090717c950a5c34d3 | ||
export IMAGE_NAME=ami-00978328f54e31526 | ||
export SPEC_NAME=t3.micro | ||
|
||
./full_test.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
export CONN_CONFIG=aws-ohio-config | ||
export IMAGE_NAME=ami-090717c950a5c34d3 | ||
export IMAGE_NAME=ami-00978328f54e31526 | ||
export SPEC_NAME=t3.micro | ||
|
||
./vpc-test.sh |
2 changes: 1 addition & 1 deletion
2
api-runtime/rest-runtime/test/each-test/1.aws-2.securitygroup-icmp.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
export CONN_CONFIG=aws-ohio-config | ||
export IMAGE_NAME=ami-090717c950a5c34d3 | ||
export IMAGE_NAME=ami-00978328f54e31526 | ||
export SPEC_NAME=t3.micro | ||
|
||
./securitygroup-icmp-test.sh |
2 changes: 1 addition & 1 deletion
2
api-runtime/rest-runtime/test/each-test/1.aws-2.securitygroup.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
export CONN_CONFIG=aws-ohio-config | ||
export IMAGE_NAME=ami-090717c950a5c34d3 | ||
export IMAGE_NAME=ami-00978328f54e31526 | ||
export SPEC_NAME=t3.micro | ||
|
||
./securitygroup-test.sh |
2 changes: 1 addition & 1 deletion
2
api-runtime/rest-runtime/test/each-test/1.aws-4.1.vm-rootdisk.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
export CONN_CONFIG=aws-ohio-config | ||
export IMAGE_NAME=ami-090717c950a5c34d3 | ||
export IMAGE_NAME=ami-00978328f54e31526 | ||
export SPEC_NAME=t3.micro | ||
|
||
./aws-vm-rootdisk-test.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
export CONN_CONFIG=aws-ohio-config | ||
export IMAGE_NAME=ami-090717c950a5c34d3 | ||
export IMAGE_NAME=ami-00978328f54e31526 | ||
export SPEC_NAME=t3.micro | ||
|
||
./vm-test.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
export GATEWAY_HOST=1.2.3.4 | ||
export CONN_CONFIG=aws-ohio-config | ||
export IMAGE_NAME=ami-090717c950a5c34d3 | ||
export IMAGE_NAME=ami-00978328f54e31526 | ||
export SPEC_NAME=t3.micro | ||
|
||
./gateway_full_test.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
export CONN_CONFIG=aws-ohio-config | ||
export IMAGE_NAME=ami-090717c950a5c34d3 | ||
export IMAGE_NAME=ami-00978328f54e31526 | ||
export SPEC_NAME=t3.micro | ||
|
||
./full_test.sh |
2 changes: 1 addition & 1 deletion
2
api-runtime/rest-runtime/test/full-test/clear-tools/1.aws-delete.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
export CONN_CONFIG=aws-ohio-config | ||
export IMAGE_NAME=ami-090717c950a5c34d3 | ||
export IMAGE_NAME=ami-00978328f54e31526 | ||
export SPEC_NAME=t3.micro | ||
|
||
./all_delete.sh |
2 changes: 1 addition & 1 deletion
2
api-runtime/rest-runtime/test/full-test/clear-tools/1.aws-except_vm-delete.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
export CONN_CONFIG=aws-ohio-config | ||
export IMAGE_NAME=ami-090717c950a5c34d3 | ||
export IMAGE_NAME=ami-00978328f54e31526 | ||
export SPEC_NAME=t3.micro | ||
|
||
./except_vm_delete.sh |
2 changes: 1 addition & 1 deletion
2
api-runtime/rest-runtime/test/image-test/1.aws-get-test-for-gateway.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
export GATEWAY_HOST=1.2.3.4 | ||
export CONN_CONFIG=aws-ohio-config | ||
export IMAGE_NAME=ami-090717c950a5c34d3 | ||
export IMAGE_NAME=ami-00978328f54e31526 | ||
|
||
./gateway-image-get-test.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export CONN_CONFIG=aws-ohio-config | ||
export IMAGE_NAME=ami-090717c950a5c34d3 | ||
export IMAGE_NAME=ami-00978328f54e31526 | ||
|
||
./image-get-test.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
export CONN_CONFIG=aws-ohio-config | ||
export IMAGE_NAME=ami-090717c950a5c34d3 | ||
export IMAGE_NAME=ami-00978328f54e31526 | ||
export SPEC_NAME=t3.micro | ||
|
||
./parallel_test.sh $1 |
2 changes: 1 addition & 1 deletion
2
api-runtime/rest-runtime/test/parallel-test/clear-tools/1.aws-delete.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
export CONN_CONFIG=aws-ohio-config | ||
export IMAGE_NAME=ami-090717c950a5c34d3 | ||
export IMAGE_NAME=ami-00978328f54e31526 | ||
export SPEC_NAME=t3.micro | ||
|
||
./all_delete.sh $1 |
2 changes: 1 addition & 1 deletion
2
api-runtime/rest-runtime/test/parallel-test/clear-tools/1.aws-execpt_vm_delete.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
export CONN_CONFIG=aws-ohio-config | ||
export IMAGE_NAME=ami-090717c950a5c34d3 | ||
export IMAGE_NAME=ami-00978328f54e31526 | ||
export SPEC_NAME=t3.micro | ||
|
||
./except_vm_delete.sh |
2 changes: 1 addition & 1 deletion
2
api-runtime/rest-runtime/test/spec-test/1.aws-get-test-for-gateway.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
export GATEWAY_HOST=1.2.3.4 | ||
export CONN_CONFIG=aws-ohio-config | ||
export IMAGE_NAME=ami-090717c950a5c34d3 | ||
export IMAGE_NAME=ami-00978328f54e31526 | ||
export SPEC_NAME=t3.micro | ||
|
||
./gateway-spec-get-test.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
export CONN_CONFIG=aws-ohio-config | ||
export IMAGE_NAME=ami-090717c950a5c34d3 | ||
export IMAGE_NAME=ami-00978328f54e31526 | ||
export SPEC_NAME=t3.micro | ||
|
||
./spec-get-test.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
CONN_CONFIG=aws-oregon-config | ||
IMAGE_NAME=ami-090717c950a5c34d3 | ||
IMAGE_NAME=ami-00978328f54e31526 | ||
SPEC_NAME=t2.micro |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
CONN_CONFIG=aws-oregon-config | ||
IMAGE_NAME=ami-090717c950a5c34d3 | ||
IMAGE_NAME=ami-00978328f54e31526 | ||
SPEC_NAME=t2.micro |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,4 +10,4 @@ fi | |
|
||
source $1/setup.env | ||
|
||
./common/teardown-nlb-test.sh | ||
./common/teardown-nlb-test.sh $1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export CONN_CONFIG=alibaba-beijing-config | ||
export IMAGE_NAME=ubuntu_18_04_x64_20G_alibase_20220322.vhd | ||
export SPEC_NAME=ecs.t5-lc1m2.small | ||
|
||
export SLEEP=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
export CONN_CONFIG=aws-ohio-config | ||
export IMAGE_NAME=ami-090717c950a5c34d3 | ||
export IMAGE_NAME=ami-00978328f54e31526 | ||
export SPEC_NAME=t2.micro | ||
|
||
export SLEEP=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
export CONN_CONFIG=cloudit-config01 | ||
export IMAGE_NAME=ee441331-0872-49c3-886c-1873a6e32e09 | ||
export SPEC_NAME=small-2 | ||
|
||
export VPC_CIDR=10.0.0.0/16 | ||
export SUBNET_CIDR=10.0.8.0/22 | ||
|
||
export SLEEP=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
|
||
echo "####################################################################" | ||
echo "## NLB Test Scripts for CB-Spider - 2022.06." | ||
echo "## NLB: CreateNLB " | ||
echo "####################################################################" | ||
|
||
echo "" | ||
|
||
|
||
echo "#####---------- CreateNLB ----------####" | ||
curl -sX POST http://localhost:1024/spider/nlb -H 'Content-Type: application/json' -d \ | ||
'{ | ||
"ConnectionName": "'${CONN_CONFIG}'", | ||
"ReqInfo": { | ||
"Name": "spider-nlb-01", | ||
"VPCName": "vpc-01", | ||
"Type": "PUBLIC", | ||
"Scope": "REGION", | ||
"Listener": { | ||
"Protocol" : "TCP", | ||
"Port" : "22" | ||
}, | ||
"VMGroup": { | ||
"Protocol" : "TCP", | ||
"Port" : "22", | ||
"VMs" : ["vm-01", "vm-02"] | ||
}, | ||
"HealthChecker": { | ||
"Protocol" : "TCP", | ||
"Port" : "22", | ||
"Interval" : "10", | ||
"Timeout" : "9", | ||
"Threshold" : "3" | ||
} | ||
} | ||
}' | json_pp | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
|
||
echo "####################################################################" | ||
echo "## NLB Test Scripts for CB-Spider - 2022.06." | ||
echo "## NLB: CreateNLB " | ||
echo "####################################################################" | ||
|
||
echo "" | ||
|
||
|
||
echo "#####---------- CreateNLB ----------####" | ||
curl -sX POST http://localhost:1024/spider/nlb -H 'Content-Type: application/json' -d \ | ||
'{ | ||
"ConnectionName": "'${CONN_CONFIG}'", | ||
"ReqInfo": { | ||
"Name": "spider-nlb-01", | ||
"VPCName": "vpc-01", | ||
"Type": "PUBLIC", | ||
"Scope": "REGION", | ||
"Listener": { | ||
"Protocol" : "TCP", | ||
"Port" : "80" | ||
}, | ||
"VMGroup": { | ||
"Protocol" : "TCP", | ||
"Port" : "80", | ||
"VMs" : ["vm-01", "vm-02"] | ||
}, | ||
"HealthChecker": { | ||
"Protocol" : "TCP", | ||
"Port" : "80", | ||
"Interval" : "10", | ||
"Timeout" : "9", | ||
"Threshold" : "3" | ||
} | ||
} | ||
}' | json_pp | ||
|
Oops, something went wrong.