Fix list protocol keys usage in docs
Description
Environment
Activity
angusbrandt July 11, 2024 at 10:52 AM
Hello Matej,
I implemented BGP Peering — BGPCEP master documentation (opendaylight.org)
ODL response: Status 201 Created.
Thank you for resolving this. Much appreciated.
Regards
Angus
Matej Šramčík July 11, 2024 at 9:13 AMEdited
Hello Angus,
The error you encountered was fixed in this task with this patch: https://git.opendaylight.org/gerrit/c/bgpcep/+/112282.
Additional patches with fixes have been introduced. Here is the last patch where all links should work: https://git.opendaylight.org/gerrit/c/bgpcep/+/112284.
Please try the documentation from this patch and let us know if you still encounter any errors.
Thanks.
angusbrandt July 10, 2024 at 8:14 PM
ODL error response to fix:
{
"errors": {
"error": [
{
"error-tag": "data-missing",
"error-message": "Schema for '(http://openconfig.net/yang/network-instance?revision=2015-10-18)bgp' not found",
"error-type": "protocol"
}
]
}
}
Currently we use keys of list protocol (openconfig-network-instance.yang) like this in docs:
...protocols/protocol=openconfig-policy-types:BGP/bgp-example...
But according to RFC 8040 we should use:
...protocols/protocol=openconfig-policy-types:BGP,bgp-example..
Fix all occurrences and test it in practice.