[BGPCEP-773] Peer-group parsing error Created: 22/Mar/18  Updated: 14/Jun/18  Resolved: 23/Mar/18

Status: Verified
Project: bgpcep
Component/s: BGP
Affects Version/s: Fluorine
Fix Version/s: Fluorine

Type: Bug Priority: Medium
Reporter: Tomas Markovic Assignee: Claudio David Gasparini
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File conf_peer_group_simple2.py    

 Description   

Error>

{
    "errors": {
        "error": [
            {
                "error-type": "protocol",
                "error-tag": "malformed-message",
                "error-message": "Error parsing input: Child \"peer-group\" was not found in parent schema node \"(urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions?revision=2018-03-21)peer-groups\"",
                "error-info": "Child \"peer-group\" was not found in parent schema node \"(urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions?revision=2018-03-21)peer-groups\""
            }
        ]
    }
}

Easily reproducable with fluorine karaf

steps:
1) bin/karaf
2) feature:install odl-restconf odl-bgpcep-bgp odl-bgpcep-bgp-config-example
3) run ./conf_peer_group_simple2.py



 Comments   
Comment by Claudio David Gasparini [ 23/Mar/18 ]

tag peer group missing identifer

instead of

<peer-group>

use

<peer-group xmlns="urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions">

Generated at Wed Feb 07 19:14:04 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.