(RFE) Add ability to enable/disable Spanning Tree Protocol on OVS bridges using TripleO templates

Bug #1858010 reported by Brendan Shephard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Triaged
Medium
Brent Eagles

Bug Description

Description
===========
There is currently no THT argument to enable / disable Spanning Tree in OvS. I'm raising this as an RFE to add the functionality to the default THTs.

Expected result
===============
Add an argument similar to:
SpanningTreeProtocol: {True,False}
SpanningTreeBridgeName: {br-int,br-ex,br-tun,etc}

Actual result
=============
Currently no argument exists.

Environment
===========
1. Train

Logs & Configs
==============

The functionality can be achieved with a Heat template similar to this one:

heat_template_version: 2014-10-16

description: >
  Enable or Disable Spanning Tree Protocol

parameters:
  servers:
    type: json
  stp_value:
    type: string
  bridge_value:
    type: string
  DeployIdentifier:
    type: string

resources:
  CustomExtraConfig:
    type: OS::Heat::SoftwareConfig
    properties:
      group: script
      config:
        str_replace:
          template: |
            #!/bin/sh
            sudo ovs-vsctl set bridge _BRIDGE_VALUE_ stp_enable=_STP_VALUE_
          params:
            _STP_VALUE_: {get_param: stp_value}
            _BRIDGE_VALUE_: {get_param: bridge_value}

  CustomExtraDeployments:
    type: OS::Heat::SoftwareDeploymentGroup
    properties:
      servers: {get_param: servers}
      config: {get_resource: CustomExtraConfig}
      actions: ['CREATE','UPDATE']
      input_values:
        deploy_identifier: {get_param: DeployIdentifier}

Env File:
resource_registry:
  OS::TripleO::NodeExtraConfigPost: /home/stack/stp-test.yaml

parameter_defaults:
  stp_value: "false"
  bridge_value: "br-int"

Revision history for this message
wes hayutin (weshayutin) wrote :

@Carlos please help me direct this to the right location.
Thank you

tags: added: networking
Changed in tripleo:
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Carlos Goncalves (cgoncalves)
milestone: none → ussuri-3
Brent Eagles (beagles)
Changed in tripleo:
assignee: Carlos Goncalves (cgoncalves) → Brent Eagles (beagles)
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-3 → ussuri-rc3
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-rc3 → victoria-1
Changed in tripleo:
milestone: victoria-1 → victoria-3
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.