Last active
July 9, 2019 18:28
-
-
Save xuhang57/26d54e88d5111eb2e59a797fa18bbc8a to your computer and use it in GitHub Desktop.
Octavia (Load Balancer project in OpenStack) tests
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
# Create a load balancer | |
openstack loadbalancer create --name lb1 --vip-subnet-id <SubnetName("public")> | |
# Create a listener | |
openstack loadbalancer listener create lb1 --protocol HTTP --protocol-port 80 --name listener1 | |
# Create a pool | |
openstack loadbalancer pool create --lb-algorithm ROUND_ROBIN --listener listener1 --protocol HTTP --name pool1 | |
# Create a health monitor | |
openstack loadbalancer healthmonitor create --delay 5 --max-retries 4 --timeout 10 --type HTTP --url-path /healthcheck pool1 | |
# Create members | |
openstack loadbalancer member create --subnet-id <SubnetName("public")> --address <FIP Address> --protocol-port 80 pool1 | |
openstack loadbalancer member create --subnet-id <SubnetName("public")> --address <FIP Address> --protocol-port 80 pool1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment