From af0907f12f7d0617e1a42c484561707f798b5a36 Mon Sep 17 00:00:00 2001 From: Vadim Kuznetsov Date: Thu, 29 Aug 2019 12:22:00 -0400 Subject: [PATCH] Enable amphora nova flavor extra_specs to allow fine tune amphora instances Change-Id: I011662ad85bc3ac2a9f405e5e0df0af1e050544f --- defaults/main.yml | 1 + tasks/octavia_flavor_create.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/defaults/main.yml b/defaults/main.yml index 39100610..12a29d45 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -268,6 +268,7 @@ octavia_amp_flavor_name: "m1.amphora" octavia_amp_ram: 1024 octavia_amp_vcpu: 1 octavia_amp_disk: 20 +#octavia_amp_extra_specs: # spare pool - increase to speed up load balancer creation and fail over octavia_spare_amphora_pool_size: 1 diff --git a/tasks/octavia_flavor_create.yml b/tasks/octavia_flavor_create.yml index 0a6c3e1a..11b6c6f8 100644 --- a/tasks/octavia_flavor_create.yml +++ b/tasks/octavia_flavor_create.yml @@ -39,6 +39,7 @@ ram: "{{ octavia_amp_ram }}" vcpus: "{{ octavia_amp_vcpu }}" disk: "{{ octavia_amp_disk }}" + extra_specs: "{{ octavia_amp_extra_specs | default(omit) }}" is_public: False interface: admin verify: "{{ not keystone_service_adminuri_insecure }}"