Hi,

I'm not able to perform govpp API "BridgeDomainDump" request. The reply is
always empty. Connection to API works. I can successfully create
bridgeDomain, remove, etc. Only BridgeDomainDump not working for me. What
am I have missing?

Many thanks
Regards Petr


    reqCtx := ch.SendMultiRequest(&l2.BridgeDomainDump{
>       BdID: 19,
>    })
>    for {
>       msg := &l2.BridgeDomainDetails{}
>       stop, err := reqCtx.ReceiveReply(msg)
>       if stop {
>          break
>       }
>       if err != nil {
>          fmt.Println(err, "dumping domain")
>       }
>       n++
>       bridgeDomains = append(bridgeDomains, *msg)
>    }
>    fmt.Println(bridgeDomains)
> }
>
>

~# vppctl show bridge-domain
>   BD-ID   Index   BSN  Age(min)  Learning  U-Forwrd   UU-Flood   Flooding
>  ARP-Term  arp-ufwd Learn-co Learn-li   BVI-Intf
>    19       1      0     off        on        on       flood        on
>   off       off        0    16777216     N/A
>

tested on latest https://gerrit.fd.io/r/govpp.git + vpp 21.10+22.06
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21075): https://lists.fd.io/g/vpp-dev/message/21075
Mute This Topic: https://lists.fd.io/mt/89885327/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to