Open AKochin opened 7 years ago
Same for shutdown and other:
router bgp 77
bgp fast-external-failover
neighbor AS_77 peer-group
neighbor AS_77 remote-as 6455
neighbor AS_77 shutdown
neighbor AS_77 update-source loopback1
neighbor 1.1.1.1 peer-group AS_77
!
switch(config-router)# do sh ip bgp neighbors
name: 1.1.1.1, remote-as: 6455
state: Idle
<<<<<<<<<<<<<< missing shutdown: yes
fallover_bfd: Disable
tcp_port_number: 179
<<<<< cut >>>>>
If we shutdown neighbor manually then output will be:
switch(config-router)# neighbor 1.1.1.1 shutdown
switch(config-router)# do sh ip bgp neighbors
name: 1.1.1.1, remote-as: 6455
state: Idle
fallover_bfd: Disable
shutdown: yes <<<<<<<<<<<<<< now neighbor is shutdown
tcp_port_number: 179
<<<<< cut >>>>>
!Version OpenSwitch 0.4.0 (Build: genericx86-64-ops-0.4.0-meraswitch/devel/master-20170118155032-de
According to current behavior and w/o fix #10 all attributes for neighbor should be print if they are set.
Thing that update-source is not inherited also proved by ovsdb dump:
ovsdb-client dump OpenSwitch BGP_Neighbor
JSON and HTML files are attached in zip.
update_source for peer-group is "loopback1" but nothing for peer-group member
bgp_nighbor.zip