Re: [vpp-dev] #vapi -- Need multiple times " ip table del xxx" to delete a specific 'ip table' within vpp?

2020-01-13 Thread ryanlu
Hi Neale,

Thanks for answer.
Another question:
If I remove the l3 interface directly, the num in  " locks:[src:CLI:6, ]" 
*won't* decrease.
If I remove the l3 interface from vrf, the num in  " locks:[src:CLI:6, ]" 
*will* decrease. Does this imply the correct api sequence should be "removing 
from VRF" before "deleting interface".

If I remove the l3 interface directly, would it bring any side affect?

Thanks,
Ryan
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#15153): https://lists.fd.io/g/vpp-dev/message/15153
Mute This Topic: https://lists.fd.io/mt/69666295/21656
Mute #vapi: https://lists.fd.io/mk?hashtag=vapi=1480452
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[vpp-dev] #vapi -- Need multiple times " ip table del xxx" to delete a specific 'ip table' within vpp?

2020-01-13 Thread ryanlu
Hi guys ,

I have a question when I delete 'ip table'/'vrf' within VPP.

It need issue multiple times " ip table del xxx" to delete a specific 'ip 
table' within vpp.

The number decided by num in " locks:[src:CLI:6, ]"

For example, with follow 'ip table'/'vrf', I need issue " ip table del 4114532" 
six times to delete this specific 'ip table'/'vrf'.

It this a design behavior or an issue? Thanks for help!

vpp# show ip fib table 4114532

ipv4-VRF:4114532, fib_index:5, flow hash:[src dst sport dport proto ] 
locks:[src:CLI:6, ]

0.0.0.0/0

unicast-ip4-chain

[@0]: dpo-load-balance: [proto:ip4 index:49 buckets:1 uRPF:50 to:[0:0]]

[0] [@0]: dpo-drop ip4

0.0.0.0/32

unicast-ip4-chain

[@0]: dpo-load-balance: [proto:ip4 index:50 buckets:1 uRPF:51 to:[0:0]]

[0] [@0]: dpo-drop ip4

224.0.0.0/4

unicast-ip4-chain

[@0]: dpo-load-balance: [proto:ip4 index:52 buckets:1 uRPF:53 to:[0:0]]

[0] [@0]: dpo-drop ip4

240.0.0.0/4

unicast-ip4-chain

[@0]: dpo-load-balance: [proto:ip4 index:51 buckets:1 uRPF:52 to:[0:0]]

[0] [@0]: dpo-drop ip4

255.255.255.255/32

unicast-ip4-chain

[@0]: dpo-load-balance: [proto:ip4 index:53 buckets:1 uRPF:54 to:[0:0]]

[0] [@0]: dpo-drop ip4

vpp#

Thanks,

Ryan
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#15139): https://lists.fd.io/g/vpp-dev/message/15139
Mute This Topic: https://lists.fd.io/mt/69666295/21656
Mute #vapi: https://lists.fd.io/mk?hashtag=vapi=1480452
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [vpp-dev] How to save VPP configuration

2019-07-19 Thread ryanlu
Hi Dave,

what's the ' startup-config /etc/setup.gate ' should be looks like?
Does it have a doc describe the syntax of this file?

Thanks!
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#13534): https://lists.fd.io/g/vpp-dev/message/13534
Mute This Topic: https://lists.fd.io/mt/27738030/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-