diff options
| author | Stefan Hanreich <s.hanreich@proxmox.com> | 2025-09-04 10:18:32 +0200 | 
|---|---|---|
| committer | Wolfgang Bumiller <w.bumiller@proxmox.com> | 2025-09-04 14:16:41 +0200 | 
| commit | ed013f92ce890b82d919ccb0aaf309e65973bfc8 (patch) | |
| tree | 42981bb02fd9b97c17df9dca5838ab6fc9420ac1 /src/PVE/Network/SDN/Controllers/BgpPlugin.pm | |
| parent | 97d62fbe1c4c29efb1def45ce844ad1994f00abb (diff) | |
api: controllers: update schema of endpoints
The possible properties returned by the controller endpoints were only
partly documented. Add all missing properties and update descriptions
for existing properties.
Update the descriptions of the schemas in the plugin to provide more
detailed information about the different configuration options.
Move all duplicate properties between the GET endpoints into its own
variable, so we can reuse them.
Signed-off-by: Stefan Hanreich <s.hanreich@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Tested-by: Dominik Csapak <d.csapak@proxmox.com>
Diffstat (limited to 'src/PVE/Network/SDN/Controllers/BgpPlugin.pm')
| -rw-r--r-- | src/PVE/Network/SDN/Controllers/BgpPlugin.pm | 7 | 
1 files changed, 5 insertions, 2 deletions
diff --git a/src/PVE/Network/SDN/Controllers/BgpPlugin.pm b/src/PVE/Network/SDN/Controllers/BgpPlugin.pm index 5f3fcb0..c84b384 100644 --- a/src/PVE/Network/SDN/Controllers/BgpPlugin.pm +++ b/src/PVE/Network/SDN/Controllers/BgpPlugin.pm @@ -22,18 +22,21 @@ sub properties {          'bgp-multipath-as-path-relax' => {              type => 'boolean',              optional => 1, +            description => +                'Consider different AS paths of equal length for multipath computation.',          },          ebgp => {              type => 'boolean',              optional => 1, -            description => "Enable ebgp. (remote-as external)", +            description => "Enable eBGP (remote-as external).",          },          'ebgp-multihop' => {              type => 'integer',              optional => 1, +            description => 'Set maximum amount of hops for eBGP peers.',          },          loopback => { -            description => "source loopback interface.", +            description => "Name of the loopback/dummy interface that provides the Router-IP.",              type => 'string',          },          node => get_standard_option('pve-node'),  | 
