MERAprojects / ops-build

Other
0 stars 0 forks source link

Not possible to create peer-group with name longer than 80 char #24

Closed AKochin closed 7 years ago

AKochin commented 7 years ago

Version OpenSwitch 0.4.0 (Build: genericx86-64-ops-0.4.0-meraswitch/devel/master-20170113050115-de

in Quagga all ok:

router bgp 7675
 bgp router-id 0.0.0.0
 neighbor 1234567890123456789012345678901234567890123456789012345678901234567890
12345678901234567890123456789012345678901234567890123456789012345678901234567890
123456789012345678901234567890 peer-group
 neighbor 1234567890123456789012345678901234567890123456789012345678901234567890
12345678901234567890123456789012345678901234567890123456789012345678901234567890
123456789012345678901234567890 remote-as 99
 neighbor 1.1.1.1 peer-group 123456789012345678901234567890123456789012345678901
23456789012345678901234567890123456789012345678901234567890123456789012345678901
2345678901234567890123456789012345678901234567890
!

in Cisco there is an error message show:

R1(config-router)#$34567890123456789012345678901234567890 peer-group         
% peergroup name should be less than 40 characters

in OPS nothing happens:

switch(config-router)# neighbor 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 peer-group 
switch(config-router)# 
switch(config-router)# 
switch(config-router)# do sh run
<<<<< cut >>>>>>
router bgp 77
     bgp fast-external-failover
!
kontorschikov commented 7 years ago

https://github.com/MERAprojects/ops-cli/pull/28