Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

TimeItemWhoNotes
00:00AdminNext meeting: 2020-04-29T16:00 UTC / noon EDT / 18:00 CEST







Yang error messages - RFC7950

yang defined error-messages are supported for the following yang statements.

  • 7.5.4. The must's Substatements
  • 9.2.4.1. The range's Substatements
  • 9.4.4.1. The length's Substatements
  • 9.4.5.1. The pattern's Substatements


Example:

[...]
must "./ssh-connections + ./tls-connections <= 100" {
   error-message "The total number of connections (SSH + TLS) needs to be less than or equal with 100.";
}
[...]

Result in odl-restconf-nb-baermann


[...]
{
"errors": {
"error": [
{
"error-type": "application",
"error-tag": "operation-failed",
"error-message": "Commit of transaction org.opendaylight.netconf.sal.connect.netconf.sal.tx.WriteCandidateRunningTx@2aa1fb85 failed",
"error-info": "RemoteDevice{NTS-manager}:RPC during tx failed. The total number of connections (SSH + TLS)
needs to be less than or equal with 100."
}
]
}
}[...]


Result in odl-restconf-nb-RFC8040

{
"errors": {
"error": [
{
"error-type": "application",
"error-message": "RemoteDevice{NTS-manager}:RPC during tx failed. The total number of connections (SSH + TLS)
needs to be done.... less than or equal with 100.",
"error-tag": "operation-failed",
"error-info": "TransactionCommitFailedException{message=Commit of transaction
org.opendaylight.netconf.sal.connect.netconf.sal.tx.WriteCandidateRunningTx@adb0c99 failed,
errorList=[RpcError [message=Commit of transaction
org.opendaylight.netconf.sal.connect.netconf.sal.tx.WriteCandidateRunningTx@adb0c99 failed,
severity=ERROR, errorType=APPLICATION, tag=operation-failed, applicationTag=null, info=null,
cause=NetconfDocumentedException{message=RemoteDevice{NTS-manager}:RPC during tx failed. The total number
of connections (SSH + TLS) needs to be less than or equal with 100., errorType=APPLICATION,
errorTag=OPERATION_FAILED, errorSeverity=ERROR, errorInfo={}}]]}"
}
]
}
}
00:00

Geo-redundancy

>> goes to next meeting

Overview

Impact on SDN-R

--

see: SDN-R Geo-Redundancy

...