[Openstack] How to disable specific network interfaces on overcloud nodes using YAML files?

Solution Verified - Updated -

Issue

  • How to disable a network interfaces on overcloud nodes usin YAML files
  • The interfaces should be created but should not be active
  • For example - Currently have in the compute.yaml :
              - type: interface
                name: enp2s0f0
                mtu: 9000
                use_dhcp: false
                defroute: false

              - type: interface
                name: enp2s0f1
                mtu: 9000
                use_dhcp: false
                defroute: false

How do we disable one of these interfaces ?

Environment

  • Red Hat OpenStack Platform

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content