此内容没有您所选择的语言版本。
Chapter 12. bgp
This chapter describes the commands under the bgp
command.
12.1. bgp dragent add speaker 复制链接链接已复制到粘贴板!
Usage:
openstack bgp dragent add speaker [-h] <agent-id> <bgp-speaker>
openstack bgp dragent add speaker [-h] <agent-id> <bgp-speaker>
Add a BGP speaker to a dynamic routing agent
Value | Summary |
---|---|
<agent-id> | Id of the dynamic routing agent |
<bgp-speaker> | Id or name of the bgp speaker |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
This command is provided by the python-neutronclient plugin.
12.2. bgp dragent remove speaker 复制链接链接已复制到粘贴板!
Usage:
openstack bgp dragent remove speaker [-h] <agent-id> <bgp-speaker>
openstack bgp dragent remove speaker [-h] <agent-id> <bgp-speaker>
Removes a BGP speaker from a dynamic routing agent
Value | Summary |
---|---|
<agent-id> | Id of the dynamic routing agent |
<bgp-speaker> | Id or name of the bgp speaker |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
This command is provided by the python-neutronclient plugin.
12.3. bgp peer delete 复制链接链接已复制到粘贴板!
Usage:
openstack bgp peer delete [-h] <bgp-peer>
openstack bgp peer delete [-h] <bgp-peer>
Delete a BGP peer
Value | Summary |
---|---|
<bgp-peer> | Bgp peer to delete (name or id) |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
This command is provided by the python-neutronclient plugin.
12.4. bgp peer list 复制链接链接已复制到粘贴板!
Usage:
List BGP peers
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
Value | Summary |
---|---|
-f {csv,json,table,value,yaml}, --format {csv,json,table,value,yaml} | the output format, defaults to table |
-c COLUMN, --column COLUMN | specify the column(s) to include, can be repeated |
--sort-column SORT_COLUMN | specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated |
Value | Summary |
---|---|
--max-width <integer> | Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
--fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
--print-empty | Print empty table if there is no data to show. |
Value | Summary |
---|---|
--noindent | Whether to disable indenting the json |
Value | Summary |
---|---|
--quote {all,minimal,none,nonnumeric} | when to include quotes, defaults to nonnumeric |
This command is provided by the python-neutronclient plugin.
12.5. bgp peer set 复制链接链接已复制到粘贴板!
Usage:
openstack bgp peer set [-h] [--name NAME] [--password <auth-password>] <bgp-peer>
openstack bgp peer set [-h] [--name NAME] [--password <auth-password>]
<bgp-peer>
Update a BGP peer
Value | Summary |
---|---|
<bgp-peer> | Bgp peer to update (name or id) |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
--name NAME | Updated name of the bgp peer |
--password <auth-password> | Updated authentication password |
This command is provided by the python-neutronclient plugin.
12.6. bgp peer show 复制链接链接已复制到粘贴板!
Usage:
Show information for a BGP peer
Value | Summary |
---|---|
<bgp-peer> | Bgp peer to display (name or id) |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
Value | Summary |
---|---|
-f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} | the output format, defaults to table |
-c COLUMN, --column COLUMN | specify the column(s) to include, can be repeated |
Value | Summary |
---|---|
--max-width <integer> | Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
--fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
--print-empty | Print empty table if there is no data to show. |
Value | Summary |
---|---|
--noindent | Whether to disable indenting the json |
Value | Summary |
---|---|
--prefix PREFIX | Add a prefix to all variable names |
This command is provided by the python-neutronclient plugin.
12.7. bgp speaker add network 复制链接链接已复制到粘贴板!
Usage:
openstack bgp speaker add network [-h] <bgp-speaker> <network>
openstack bgp speaker add network [-h] <bgp-speaker> <network>
Add a network to a BGP speaker
Value | Summary |
---|---|
<bgp-speaker> | Bgp speaker (name or id) |
<network> | Network to add (name or id) |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
This command is provided by the python-neutronclient plugin.
12.8. bgp speaker add peer 复制链接链接已复制到粘贴板!
Usage:
openstack bgp speaker add peer [-h] <bgp-speaker> <bgp-peer>
openstack bgp speaker add peer [-h] <bgp-speaker> <bgp-peer>
Add a peer to a BGP speaker
Value | Summary |
---|---|
<bgp-speaker> | Bgp speaker (name or id) |
<bgp-peer> | Bgp peer to add (name or id) |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
This command is provided by the python-neutronclient plugin.
12.9. bgp speaker create 复制链接链接已复制到粘贴板!
Usage:
Create a BGP speaker
Value | Summary |
---|---|
<name> | Name of the bgp speaker to create |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
--local-as <local-as> | Local AS number. (Integer in [1, 65535] is allowed.) |
--ip-version {4,6} | Ip version for the bgp speaker (default is 4) |
--advertise-floating-ip-host-routes | Enable the advertisement of floating IP host routes by the BGP speaker. (default) |
--no-advertise-floating-ip-host-routes | Disable the advertisement of floating IP host routes by the BGP speaker. |
--advertise-tenant-networks | Enable the advertisement of tenant network routes by the BGP speaker. (default) |
--no-advertise-tenant-networks | Disable the advertisement of tenant network routes by the BGP speaker. |
--project <project> | Owner’s project (name or id) |
--project-domain <project-domain> | Domain the project belongs to (name or ID). This can be used in case collisions between project names exist. |
Value | Summary |
---|---|
-f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} | the output format, defaults to table |
-c COLUMN, --column COLUMN | specify the column(s) to include, can be repeated |
Value | Summary |
---|---|
--max-width <integer> | Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
--fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
--print-empty | Print empty table if there is no data to show. |
Value | Summary |
---|---|
--noindent | Whether to disable indenting the json |
Value | Summary |
---|---|
--prefix PREFIX | Add a prefix to all variable names |
This command is provided by the python-neutronclient plugin.
12.10. bgp speaker delete 复制链接链接已复制到粘贴板!
Usage:
openstack bgp speaker delete [-h] <bgp-speaker>
openstack bgp speaker delete [-h] <bgp-speaker>
Delete a BGP speaker
Value | Summary |
---|---|
<bgp-speaker> | Bgp speaker to delete (name or id) |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
This command is provided by the python-neutronclient plugin.
12.11. bgp speaker list 复制链接链接已复制到粘贴板!
Usage:
List BGP speakers
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
--agent <agent-id> | List bgp speakers hosted by an agent (id only) |
Value | Summary |
---|---|
-f {csv,json,table,value,yaml}, --format {csv,json,table,value,yaml} | the output format, defaults to table |
-c COLUMN, --column COLUMN | specify the column(s) to include, can be repeated |
--sort-column SORT_COLUMN | specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated |
Value | Summary |
---|---|
--max-width <integer> | Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
--fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
--print-empty | Print empty table if there is no data to show. |
Value | Summary |
---|---|
--noindent | Whether to disable indenting the json |
Value | Summary |
---|---|
--quote {all,minimal,none,nonnumeric} | when to include quotes, defaults to nonnumeric |
This command is provided by the python-neutronclient plugin.
12.12. bgp speaker list advertised routes 复制链接链接已复制到粘贴板!
Usage:
List routes advertised
Value | Summary |
---|---|
<bgp-speaker> | Bgp speaker (name or id) |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
Value | Summary |
---|---|
-f {csv,json,table,value,yaml}, --format {csv,json,table,value,yaml} | the output format, defaults to table |
-c COLUMN, --column COLUMN | specify the column(s) to include, can be repeated |
--sort-column SORT_COLUMN | specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated |
Value | Summary |
---|---|
--max-width <integer> | Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
--fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
--print-empty | Print empty table if there is no data to show. |
Value | Summary |
---|---|
--noindent | Whether to disable indenting the json |
Value | Summary |
---|---|
--quote {all,minimal,none,nonnumeric} | when to include quotes, defaults to nonnumeric |
This command is provided by the python-neutronclient plugin.
12.13. bgp speaker remove network 复制链接链接已复制到粘贴板!
Usage:
openstack bgp speaker remove network [-h] <bgp-speaker> <network>
openstack bgp speaker remove network [-h] <bgp-speaker> <network>
Remove a network from a BGP speaker
Value | Summary |
---|---|
<bgp-speaker> | Bgp speaker (name or id) |
<network> | Network to remove (name or id) |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
This command is provided by the python-neutronclient plugin.
12.14. bgp speaker remove peer 复制链接链接已复制到粘贴板!
Usage:
openstack bgp speaker remove peer [-h] <bgp-speaker> <bgp-peer>
openstack bgp speaker remove peer [-h] <bgp-speaker> <bgp-peer>
Remove a peer from a BGP speaker
Value | Summary |
---|---|
<bgp-speaker> | Bgp speaker (name or id) |
<bgp-peer> | Bgp peer to remove (name or id) |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
This command is provided by the python-neutronclient plugin.
12.15. bgp speaker set 复制链接链接已复制到粘贴板!
Usage:
Set BGP speaker properties
Value | Summary |
---|---|
<bgp-speaker> | Bgp speaker to update (name or id) |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
--name NAME | Name of the bgp speaker to update |
--advertise-floating-ip-host-routes | Enable the advertisement of floating IP host routes by the BGP speaker. (default) |
--no-advertise-floating-ip-host-routes | Disable the advertisement of floating IP host routes by the BGP speaker. |
--advertise-tenant-networks | Enable the advertisement of tenant network routes by the BGP speaker. (default) |
--no-advertise-tenant-networks | Disable the advertisement of tenant network routes by the BGP speaker. |
This command is provided by the python-neutronclient plugin.
12.16. bgp speaker show 复制链接链接已复制到粘贴板!
Usage:
Show a BGP speaker
Value | Summary |
---|---|
<bgp-speaker> | Bgp speaker to display (name or id) |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
Value | Summary |
---|---|
-f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} | the output format, defaults to table |
-c COLUMN, --column COLUMN | specify the column(s) to include, can be repeated |
Value | Summary |
---|---|
--max-width <integer> | Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
--fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
--print-empty | Print empty table if there is no data to show. |
Value | Summary |
---|---|
--noindent | Whether to disable indenting the json |
Value | Summary |
---|---|
--prefix PREFIX | Add a prefix to all variable names |
This command is provided by the python-neutronclient plugin.
12.17. bgp speaker show dragents 复制链接链接已复制到粘贴板!
Usage:
List dynamic routing agents hosting a BGP speaker
Value | Summary |
---|---|
<bgp-speaker> | Id or name of the bgp speaker |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
Value | Summary |
---|---|
-f {csv,json,table,value,yaml}, --format {csv,json,table,value,yaml} | the output format, defaults to table |
-c COLUMN, --column COLUMN | specify the column(s) to include, can be repeated |
--sort-column SORT_COLUMN | specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated |
Value | Summary |
---|---|
--max-width <integer> | Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
--fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
--print-empty | Print empty table if there is no data to show. |
Value | Summary |
---|---|
--noindent | Whether to disable indenting the json |
Value | Summary |
---|---|
--quote {all,minimal,none,nonnumeric} | when to include quotes, defaults to nonnumeric |
This command is provided by the python-neutronclient plugin.