# openstackclient.network.v2.dynamic_routing package

## Submodules

## openstackclient.network.v2.dynamic_routing.bgp_dragent module

class openstackclient.network.v2.dynamic_routing.bgp_dragent.AddBgpSpeakerToDRAgent(app: _app.App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `Command`

  Add a BGP speaker to a dynamic routing agent

  get_parser(prog_name: str) → ArgumentParser

    Return an `argparse.ArgumentParser`.

  log = <Logger openstackclient.network.v2.dynamic_routing.bgp_dragent.AddBgpSpeakerToDRAgent (WARNING)>
  take_action(parsed_args: Namespace) → None

    Override to do something useful.

    The returned value will be returned by the program.

class openstackclient.network.v2.dynamic_routing.bgp_dragent.ListDRAgent(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `Lister`

  List dynamic routing agents

  get_parser(prog_name: str) → ArgumentParser

    Return an `argparse.ArgumentParser`.

  list_columns = ['id', 'host', 'admin_state_up', 'alive']
  log = <Logger openstackclient.network.v2.dynamic_routing.bgp_dragent.ListDRAgent (WARNING)>
  resource = 'agent'
  take_action(parsed_args: Namespace) → tuple[Sequence[str], Iterable[Any]]

    Run command.

    Return a tuple containing the column names and an iterable containing the data to be listed.

  unknown_parts_flag = False

class openstackclient.network.v2.dynamic_routing.bgp_dragent.RemoveBgpSpeakerFromDRAgent(app: _app.App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `Command`

  Removes a BGP speaker from a dynamic routing agent

  get_parser(prog_name: str) → ArgumentParser

    Return an `argparse.ArgumentParser`.

  log = <Logger openstackclient.network.v2.dynamic_routing.bgp_dragent.RemoveBgpSpeakerFromDRAgent (WARNING)>
  take_action(parsed_args: Namespace) → None

    Override to do something useful.

    The returned value will be returned by the program.

## openstackclient.network.v2.dynamic_routing.bgp_peer module

class openstackclient.network.v2.dynamic_routing.bgp_peer.CreateBgpPeer(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `ShowOne`

  get_parser(prog_name: str) → ArgumentParser

    Return an `argparse.ArgumentParser`.

  log = <Logger openstackclient.network.v2.dynamic_routing.bgp_peer.CreateBgpPeer (WARNING)>
  take_action(parsed_args: Namespace) → tuple[Sequence[str], Iterable[Any]]

    Run command.

    Return a tuple containing the column names and an iterable containing the data to be listed.

class openstackclient.network.v2.dynamic_routing.bgp_peer.DeleteBgpPeer(app: _app.App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `Command`

  get_parser(prog_name: str) → ArgumentParser

    Return an `argparse.ArgumentParser`.

  log = <Logger openstackclient.network.v2.dynamic_routing.bgp_peer.DeleteBgpPeer (WARNING)>
  take_action(parsed_args: Namespace) → None

    Override to do something useful.

    The returned value will be returned by the program.

class openstackclient.network.v2.dynamic_routing.bgp_peer.ListBgpPeer(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `Lister`

  log = <Logger openstackclient.network.v2.dynamic_routing.bgp_peer.ListBgpPeer (WARNING)>
  take_action(parsed_args: Namespace) → tuple[Sequence[str], Iterable[Any]]

    Run command.

    Return a tuple containing the column names and an iterable containing the data to be listed.

class openstackclient.network.v2.dynamic_routing.bgp_peer.SetBgpPeer(app: _app.App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `Command`

  get_parser(prog_name: str) → ArgumentParser

    Return an `argparse.ArgumentParser`.

  log = <Logger openstackclient.network.v2.dynamic_routing.bgp_peer.SetBgpPeer (WARNING)>
  take_action(parsed_args: Namespace) → None

    Override to do something useful.

    The returned value will be returned by the program.

class openstackclient.network.v2.dynamic_routing.bgp_peer.ShowBgpPeer(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `ShowOne`

  get_parser(prog_name: str) → ArgumentParser

    Return an `argparse.ArgumentParser`.

  log = <Logger openstackclient.network.v2.dynamic_routing.bgp_peer.ShowBgpPeer (WARNING)>
  take_action(parsed_args: Namespace) → tuple[Sequence[str], Iterable[Any]]

    Run command.

    Return a tuple containing the column names and an iterable containing the data to be listed.

## openstackclient.network.v2.dynamic_routing.bgp_speaker module

class openstackclient.network.v2.dynamic_routing.bgp_speaker.AddNetworkToSpeaker(app: _app.App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `Command`

  get_parser(prog_name: str) → ArgumentParser

    Return an `argparse.ArgumentParser`.

  log = <Logger openstackclient.network.v2.dynamic_routing.bgp_speaker.AddNetworkToSpeaker (WARNING)>
  take_action(parsed_args: Namespace) → None

    Override to do something useful.

    The returned value will be returned by the program.

class openstackclient.network.v2.dynamic_routing.bgp_speaker.AddPeerToSpeaker(app: _app.App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `Command`

  get_parser(prog_name: str) → ArgumentParser

    Return an `argparse.ArgumentParser`.

  log = <Logger openstackclient.network.v2.dynamic_routing.bgp_speaker.AddPeerToSpeaker (WARNING)>
  take_action(parsed_args: Namespace) → None

    Override to do something useful.

    The returned value will be returned by the program.

class openstackclient.network.v2.dynamic_routing.bgp_speaker.CreateBgpSpeaker(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `ShowOne`

  get_parser(prog_name: str) → ArgumentParser

    Return an `argparse.ArgumentParser`.

  log = <Logger openstackclient.network.v2.dynamic_routing.bgp_speaker.CreateBgpSpeaker (WARNING)>
  take_action(parsed_args: Namespace) → tuple[Sequence[str], Iterable[Any]]

    Run command.

    Return a tuple containing the column names and an iterable containing the data to be listed.

class openstackclient.network.v2.dynamic_routing.bgp_speaker.DeleteBgpSpeaker(app: _app.App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `Command`

  get_parser(prog_name: str) → ArgumentParser

    Return an `argparse.ArgumentParser`.

  log = <Logger openstackclient.network.v2.dynamic_routing.bgp_speaker.DeleteBgpSpeaker (WARNING)>
  take_action(parsed_args: Namespace) → None

    Override to do something useful.

    The returned value will be returned by the program.

class openstackclient.network.v2.dynamic_routing.bgp_speaker.ListBgpSpeaker(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `Lister`

  get_parser(prog_name: str) → ArgumentParser

    Return an `argparse.ArgumentParser`.

  log = <Logger openstackclient.network.v2.dynamic_routing.bgp_speaker.ListBgpSpeaker (WARNING)>
  take_action(parsed_args: Namespace) → tuple[Sequence[str], Iterable[Any]]

    Run command.

    Return a tuple containing the column names and an iterable containing the data to be listed.

class openstackclient.network.v2.dynamic_routing.bgp_speaker.ListRoutesAdvertisedBySpeaker(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `Lister`

  get_parser(prog_name: str) → ArgumentParser

    Return an `argparse.ArgumentParser`.

  log = <Logger openstackclient.network.v2.dynamic_routing.bgp_speaker.ListRoutesAdvertisedBySpeaker (WARNING)>
  take_action(parsed_args: Namespace) → tuple[Sequence[str], Iterable[Any]]

    Run command.

    Return a tuple containing the column names and an iterable containing the data to be listed.

class openstackclient.network.v2.dynamic_routing.bgp_speaker.RemoveNetworkFromSpeaker(app: _app.App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `Command`

  get_parser(prog_name: str) → ArgumentParser

    Return an `argparse.ArgumentParser`.

  log = <Logger openstackclient.network.v2.dynamic_routing.bgp_speaker.RemoveNetworkFromSpeaker (WARNING)>
  take_action(parsed_args: Namespace) → None

    Override to do something useful.

    The returned value will be returned by the program.

class openstackclient.network.v2.dynamic_routing.bgp_speaker.RemovePeerFromSpeaker(app: _app.App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `Command`

  get_parser(prog_name: str) → ArgumentParser

    Return an `argparse.ArgumentParser`.

  log = <Logger openstackclient.network.v2.dynamic_routing.bgp_speaker.RemovePeerFromSpeaker (WARNING)>
  take_action(parsed_args: Namespace) → None

    Override to do something useful.

    The returned value will be returned by the program.

class openstackclient.network.v2.dynamic_routing.bgp_speaker.SetBgpSpeaker(app: _app.App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `Command`

  get_parser(prog_name: str) → ArgumentParser

    Return an `argparse.ArgumentParser`.

  log = <Logger openstackclient.network.v2.dynamic_routing.bgp_speaker.SetBgpSpeaker (WARNING)>
  take_action(parsed_args: Namespace) → None

    Override to do something useful.

    The returned value will be returned by the program.

class openstackclient.network.v2.dynamic_routing.bgp_speaker.ShowBgpSpeaker(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `ShowOne`

  get_parser(prog_name: str) → ArgumentParser

    Return an `argparse.ArgumentParser`.

  log = <Logger openstackclient.network.v2.dynamic_routing.bgp_speaker.ShowBgpSpeaker (WARNING)>
  take_action(parsed_args: Namespace) → tuple[Sequence[str], Iterable[Any]]

    Run command.

    Return a tuple containing the column names and an iterable containing the data to be listed.

openstackclient.network.v2.dynamic_routing.bgp_speaker.add_common_arguments(parser: ArgumentParser) → None

## Module contents

this page last updated: 2026-07-15 15:33:41

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.