[BGPCEP-776] New peer-group not present within peer-groups Created: 26/Mar/18  Updated: 14/Jun/18  Resolved: 26/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     File get_peer_groups.sh     File karaf.log    

 Description   

Overview: First I try to add new peer-group into bgp. It seemingly succeeds with response 204, or 201 in case of put. It doesnt not apear wihtin the peer-groups openconfig.

Sandbox test error link.

I also have debug karaf.log from bgpcep and bgp protocol, and yangtools when adding the peer-group in attachements. ( in logs there are no errors and warning, and bgp seems to try to merge the configuration correctly. )

Steps to reproduce:
1)start fluorine karaf with
odl-restconf, odl-bgpcep-bgp, odl-bgpcep-bgp-config-example
2)run ./conf_peer_group_simple2.py
(It configures simple peer group with PUT called "custom-group")

at this point peer group should already be within peer-groups.
We can check this with seconds cript.
./get_peer_groups.sh
(which simply does GET with curl at appropriate address)



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

Ok, I see what is happening here. If you check CONFIG and not OPERATIONAL, you will see that groups are there.

As long as there is not peer configured in such group, there wont be presence under Operational showing any Statistic.

I think is not necessary, since it will be writing useless information. If you think they should be present, we can talk about it.

Otherwise there is no bug.

 

Regards, 

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