Christian Hopps
f7594b55c2
doc: updates to mgmtd conversion documentation
...
Signed-off-by: Christian Hopps <chopps@labn.net>
2024-01-26 12:34:23 -05:00
Donald Sharp
1ea73983fd
Merge pull request #15209 from opensourcerouting/fix/whitespaces
...
bgpd: Use single whitespace when displaying show bgp summary
2024-01-24 10:48:22 -05:00
Donald Sharp
8754a64da1
Merge pull request #15189 from opensourcerouting/fix/doc_label-table_json
...
doc: Add missing json keyword for `show debugging label-table`
2024-01-24 10:47:41 -05:00
Donatas Abraitis
b261464cc1
doc: Drop single whitespace from show bgp outputs
...
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2024-01-23 20:42:30 +02:00
Donald Sharp
01cb1fb82c
sharpd: Allow sharpd to listen to neighbor events
...
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2024-01-22 12:19:20 -05:00
Donatas Abraitis
20ec72d7ca
Merge pull request #15052 from louis-6wind/rpki-vrf-92
...
bgpd: add VRF support to RPKI
2024-01-22 16:16:34 +02:00
Donatas Abraitis
4494680404
doc: Add missing json keyword for show debugging label-table
...
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2024-01-21 23:16:38 +02:00
Donatas Abraitis
7041353fa9
Merge pull request #15125 from pguibert6WIND/srte_pcep_session_json
...
Dump PCEP session in json format
2024-01-21 21:33:35 +02:00
Donald Sharp
aa3a108672
doc: Update bgp unnumbered documentation
...
Mention the limitations of this type of peering
in bgp.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2024-01-19 13:37:36 -05:00
Donatas Abraitis
2844d093b5
Merge pull request #15168 from mjstapp/daemon_logs
...
lib,vtysh: add per-daemon log file config
2024-01-19 10:56:15 +02:00
Philippe Guibert
dba04c2f3c
pathd: add 'show sr-te pcep session json' support
...
Add support to dump sr-te pcep session in json output.
> ubuntu2204# show sr-te pcep session
> PCE q
> PCE IP 192.0.2.40 port 4189
> PCC IP 192.0.2.10 port 4189
> PCC MSD 10
> Session Status UP
> Precedence 10, best candidate
> Confidence normal
> Timer: KeepAlive config 30, pce-negotiated 70
> Timer: DeadTimer config 120, pce-negotiated 120
> Timer: PcRequest 30
> Timer: SessionTimeout Interval 30
> Timer: Delegation Timeout 10
> No TCP MD5 Auth
> PCE SR Version draft07
> Next PcReq ID 5
> Next PLSP ID 2
> Connected for 171 seconds, since 2023-10-28 09:36:44 UTC
> PCC Capabilities: [PCC Initiated LSPs] [Stateful PCE] [SR TE PST]
> PCE Capabilities: [Stateful PCE] [SR TE PST]
> PCEP Message Statistics
> Sent Rcvd
> Message Open: 2 1
> Message KeepAlive: 1 6
> Message PcReq: 4 0
> Message PcRep: 0 0
> Message Notify: 4 0
> Message Error: 0 5
> Message Close: 0 0
> Message Report: 5 0
> Message Update: 0 1
> Message Initiate: 0 0
> Message StartTls: 0 0
> Message Erroneous: 0 0
> Total: 16 13
> PCEP Sessions => Configured 1 ; Connected 1
> ubuntu2204# show sr-te pcep session json
> {
> "pcepSessions":[
> {
> "pceName":"q",
> "pceAddress":"192.0.2.40",
> "pcePort":4189,
> "pccAddress":"192.0.2.10",
> "pccPort":4189,
> "pccMsd":10,
> "sessionStatus":"UP",
> "bestMultiPce":true,
> "precedence":10,
> "confidence":"normal",
> "keepaliveConfig":30,
> "deadTimerConfig":120,
> "pccPcepRequestTimerConfig":30,
> "sessionTimeoutIntervalSec":30,
> "delegationTimeout":10,
> "tcpMd5Authentication":false,
> "draft07":true,
> "draft16AndRfc8408":false,
> "nextPcRequestId":5,
> "nextPLspId":2,
> "sessionKeepalivePceNegotiatedSec":70,
> "sessionDeadTimerPceNegotiatedSec":120,
> "sessionConnectionDurationSec":177,
> "sessionConnectionStartTimeUTC":"2023-10-28 09:36:44",
> "pccCapabilities":" [PCC Initiated LSPs] [Stateful PCE] [SR TE PST]",
> "pceCapabilities":" [Stateful PCE] [SR TE PST]",
> "messageStatisticsReceived":{
> "messageOpen":1,
> "messageKeepalive":6,
> "messagePcReq":0,
> "messagePcRep":0,
> "messageNotify":0,
> "messageError":5,
> "messageClose":0,
> "messageReport":0,
> "messageUpdate":1,
> "messageInitiate":0,
> "messageStartTls":0,
> "messageErroneous":0,
> "total":13
> },
> "messageStatisticsSent":{
> "messageOpen":2,
> "messageKeepalive":1,
> "messagePcReq":4,
> "messagePcRep":0,
> "messageNotify":4,
> "messageError":0,
> "messageClose":0,
> "messageReport":5,
> "messageUpdate":0,
> "messageInitiate":0,
> "messageStartTls":0,
> "messageErrneous":0,
> "total":16
> }
> }
> ],
> "pcepSessionsConfigured":1,
> "pcepSessionsConnected":1
> }
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
2024-01-18 22:04:05 +01:00
Mark Stapp
c7f7cf9610
doc: add doc for daemon-specific log cli
...
Add doc for the daemon-specific log file cli
Signed-off-by: Mark Stapp <mjs@labn.net>
2024-01-18 08:30:01 -05:00
Philippe Guibert
ba916133a3
doc: add information for per vrf rpki commands
...
Add documentation for per VRF RPKI commands
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
2024-01-18 13:23:41 +01:00
Louis Scalbert
45dd49e569
doc: remove rpki ssh local server public key
...
It is not used anymore.
Fixes: 2a5f5ec00f
("bgpd: Drop SSH public key for RPKI CLI option")
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
2024-01-18 13:23:40 +01:00
Louis Scalbert
1aa75f3fb7
doc: fix rpki ipv4 address family example
...
Fix RPKI IPv4 address family example.
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
2024-01-18 13:23:39 +01:00
Louis Scalbert
aca422dec5
doc: use documentation range in rpki manual
...
Use documentation range in rpki manual
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
2024-01-18 13:23:39 +01:00
Donatas Abraitis
18257b521a
Merge pull request #15160 from vjardin/doc_typo
...
doc: typo, fix end of line
2024-01-16 09:44:41 +02:00
Vincent Jardin
4654995915
doc: typo, fix end of line
...
Signed-off-by: Vincent Jardin <vjardin@free.fr>
2024-01-15 22:51:09 +01:00
Christian Hopps
f2bb687426
Merge pull request #15154 from idryzhov/mgmt-get-data
...
mgmtd get-data request expansion
2024-01-15 07:03:34 -05:00
Donatas Abraitis
563c2cd95c
Merge pull request #15034 from louis-6wind/topotest-rpki
...
bgpd, topotests: add bgp_rpki_topo1 and RPKI fixes
2024-01-15 11:26:43 +02:00
Donatas Abraitis
49cacc3184
Merge pull request #15150 from LabNConsulting/chopps/config-file-integrated
...
doc: update config file doc for integrated requirement
2024-01-15 08:43:44 +02:00
Igor Ryzhov
b507ad54b4
mgmtd: add option to specify netns as the vrf backend
...
mgmtd has to know if netns is used as the vrf backend to correctly
process interface names in northbound.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-01-14 20:00:22 +02:00
Christian Hopps
3b1998061c
doc: update config file doc for integrated requirement
...
Signed-off-by: Christian Hopps <chopps@labn.net>
2024-01-13 21:05:36 +00:00
Christian Hopps
a9dc7e9cc0
doc: mgmtd: update mgmtd conversion doc to be current.
...
Also change `be_client_xpaths` to `be_client_config_xpaths` referred in the doc
to make much clearer it's use (since there's a separate `be_client_oper_xpaths`.
Signed-off-by: Christian Hopps <chopps@labn.net>
2024-01-13 14:26:55 +00:00
Christian Hopps
20d0d475cb
Merge pull request #14542 from idryzhov/nb-op-cb-split
...
Add more northbound operation types
2024-01-12 06:07:57 -05:00
Donatas Abraitis
0f5a79af96
Merge pull request #15136 from idryzhov/ignore-cbs
...
lib, mgmtd: rename ignore_cbs to ignore_cfg_cbs
2024-01-12 11:56:59 +02:00
Igor Ryzhov
34721972ba
lib, mgmtd: rename ignore_cbs to ignore_cfg_cbs
...
Setting this variable to true makes NB ignore only configuration-related
callbacks. CLI-related callbacks are still loaded and executed, so
rename the variable to make it clearer.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-01-11 23:47:48 +02:00
Louis Scalbert
6edd9e4bea
doc: add show rpki configuration
...
Add documentation about the new "show rpki configuration" command.
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
2024-01-11 14:38:23 +01:00
Igor Ryzhov
3c2598a26f
mgmt, lib: differentiate DELETE and REMOVE operations
...
Currently, there's a single operation type which doesn't return error
if the object doesn't exists. To be compatible with NETCONF/RESTCONF,
we should support differentiate between DELETE (fails when object
doesn't exist) and REMOVE (doesn't fail if the object doesn't exist).
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-01-11 15:06:53 +02:00
Donatas Abraitis
79b992890f
doc: Fix documentation warning on the required version of libyang
...
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2024-01-11 09:23:41 +02:00
Donatas Abraitis
d3177d9f08
doc: Change the link to libyang for 2.1.x
...
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2024-01-11 09:22:54 +02:00
Russ White
6c8706802a
Merge pull request #15108 from opensourcerouting/fix/debug_bgp_updates_detail
...
bgpd: Add `debug bgp updates detail` command
2024-01-09 10:18:50 -05:00
Donald Sharp
956b6153fe
Merge pull request #15106 from opensourcerouting/fix/rename_thread_cli
...
vtysh: Add `show event ...` commands
2024-01-08 13:51:36 -05:00
Donatas Abraitis
7a474b8754
bgpd: Add debug bgp updates detail
command
...
When filtering with `debug bgp updates in x.x.x.x prefix-list plist`, we want
to filter out unnecessary messages like:
```
127.0.0.1(Unknown) rcvd UPDATE wlen 0 attrlen 20 alen 5
```
Such a line as above will be repeated for all the paths received and it's useless
without knowing the prefix (because NLRIs are not parsed yet).
But want to see only relevant ones:
```
127.0.0.1(Unknown) rcvd UPDATE w/ attr: nexthop 127.0.0.1, origin i, path 65002
127.0.0.1(Unknown) rcvd 10.255.255.1/32 IPv4 unicast
```
With `debug bgp updates detail` we can combine this to something like:
```
127.0.0.1(Unknown) rcvd UPDATE w/ attr: nexthop 127.0.0.1, origin i, path 65002
127.0.0.1(Unknown) rcvd UPDATE wlen 0 attrlen 20 alen 5
127.0.0.1(Unknown) rcvd 10.255.255.1/32 IPv4 unicast
```
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2024-01-07 16:17:11 +02:00
Donatas Abraitis
7e6b4f7990
doc: Rename Thread
to Event
in events example
...
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2024-01-07 14:43:38 +02:00
Donatas Abraitis
8c382a675e
doc: Rename show thread ...
to show event ...
...
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2024-01-07 14:14:56 +02:00
Christian Hopps
db3ac9d4f3
build: require libyang 2.1.128
...
Update building docs to reflect this as well.
Signed-off-by: Christian Hopps <chopps@labn.net>
2024-01-06 06:55:04 -05:00
Christian Hopps
d2661a3841
doc: add diagram of oper-state queries.
...
Signed-off-by: Christian Hopps <chopps@labn.net>
2024-01-04 05:36:14 +00:00
Russ White
54c2d327d3
Merge pull request #12261 from cscarpitta/srv6-encap-src-addr
...
zebra: Add the support of the Source Addr param of the SRv6 Encapsulation
2024-01-02 10:37:34 -05:00
Donald Sharp
da7668ff90
Merge pull request #15071 from LabNConsulting/chopps/building-cleanup
...
build: protobuf is required so update building docs
2024-01-02 10:07:10 -05:00
Philippe Guibert
784c93cc62
pathd: add dynamic candidate path metric [computed] keyword
...
Add the 'computed' keyword for a given metric.
> [..]
> metric te computed
When set by the PCC, the PCE must send back a computed metric
value in the PCResponse value.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
2024-01-02 12:07:49 +01:00
Christian Hopps
c00002d0d0
build: protobuf is required so update building docs
...
- recommend using libyang 2.1.128 but accept 2.0.0 for now.
- update ubuntu building doc to add GRPC section
- update ubuntu reference docker builds to match grpc doc change
Signed-off-by: Christian Hopps <chopps@labn.net>
2023-12-31 13:51:21 +00:00
Igor Ryzhov
4907ce966b
doc: add graphiz dependency for dev docs
...
There's a graph in cli.rst that needs graphviz to be built.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2023-12-22 16:08:43 +02:00
Donald Sharp
db4bdf7a3a
Merge pull request #15023 from opensourcerouting/fix/drop_redundant_vrf_name
...
bgpd: Drop redundant VRF name printing for `show bgp summary`
2023-12-14 20:26:52 -05:00
Carmine Scarpitta
fcf17cc05d
doc: Add doc for show segment-routing srv6 manager
...
The `show segment-routing srv6 manager` CLI command allows users to
print the SRv6 information. Currently, the SRv6 information includes
only the SRv6 encapsulation source address.
In this commit, we add the documentation for the
`show segment-routing srv6` command.
Signed-off-by: Carmine Scarpitta <carmine.scarpitta@uniroma2.it>
2023-12-14 14:58:35 +01:00
Carmine Scarpitta
baffed018d
doc: Add doc for SRv6 encapsulation source address
...
Add documentation for the new SRv6 encapsulation source address feature.
Signed-off-by: Carmine Scarpitta <carmine.scarpitta@uniroma2.it>
2023-12-14 14:58:35 +01:00
Donatas Abraitis
f68154184c
doc: Update examples of show bgp summary
...
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2023-12-14 15:14:40 +02:00
Louis Scalbert
3dc8b2c1f5
doc: update for exabgp 4
...
Update the documentation to require exabgp 4
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
2023-12-14 11:39:24 +01:00
Bing Shui
588b642143
doc: add param range for graceful-restart helper supported-grace-time
...
Signed-off-by: Bing Shui <652023330037@smail.nju.edu.cn>
2023-12-13 22:25:43 +08:00
Donald Sharp
ad80021260
Merge pull request #14920 from LabNConsulting/chopps/rr-support
...
tests: add support for running things under `rr`.
2023-12-05 11:42:10 -05:00