Giter VIP home page Giter VIP logo

octavia-scripts's Introduction

Octavia Scripts

Generate Production Grade Certificates for Octavia

The following script can be used to generated production grade certificates for Octavia based on the upstream docs. Usage:

export CA_PASS=production-grade-password # required
export CA_BITS=4096                      # optional (default value)
export CA_COUNTRY=UK                     # optional (default value)
export CA_STATE=England                  # optional (default value)
export CA_LOCATION=Bristol               # optional (default value)
export CA_PATH=production                # optional (default value)
./generate-certs.sh

It is fully compatible with the certificates expected by Train+ releases of Kayobe and Kolla-Ansible.

In the case of Kayobe, copy the certs inside production/etc/octavia/certs/ to kayobe-config/etc/kayobe/kolla/config/octavia/.

Update octavia.conf with network, security group and flavor ID:

export OCTAVIA_CONF=/path/to/kayobe-config/etc/kayobe/kolla/config/octavia.conf
export OCTAVIA_MGMT_SUBNET=172.16.158.0/24
export OCTAVIA_MGMT_SUBNET_START=172.16.158.120
export OCTAVIA_MGMT_SUBNET_END=172.16.158.220
./octavia-conf.sh

Test Octavia Deployment

To be confident that Octavia is deployed correctly, you can run the following script (you will need to export some parameters to suit your environment):

export LB_NAME=demo-lb
export LB_FIP=10.60.253.77
export SERVER_FIP=10.60.253.41
export SERVER_IMAGE=CentOS7
export SERVER_FLAVOR=general.v1.small
export SERVER_KEYNAME=wendy
export SERVER_NET=p3-internal
export SERVER_SUBNET=p3-internal
./test-lbaas.sh

octavia-scripts's People

Contributors

brtkwr avatar

Stargazers

Jakub Darmach avatar Piotr Parczewski avatar

Watchers

James Cloos avatar  avatar Mark Goddard avatar Stig Telfer avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.