Hoi,

I don't know about the answer to MPLS, but did notice that GENEVE tunnels
also cannot be explicitly created by id:
  create geneve tunnel                     create geneve tunnel local
<local-vtep-addr> {remote <remote-vtep-addr>|group <mcast-vtep-addr>
<intf-name>} vni <nn> [encap-vrf-id <nn>] [decap-next [l2|node <name>]]
[l3-mode] [del]

I agree that it (greatly) simplifies automation. Halit: contributions are
welcome, in case you want to give it a go!

groet,
Pim

On Sun, May 8, 2022 at 6:58 PM Halit <hustu...@gmail.com> wrote:

> Looks like this question has been asked before a few times and as far i
> see, answer was negative. I wonder if there is any change in plans.
> Is there any plan to create mpls tunnel with an ID like other
> tunnels/interfaces? - This would simplify certain automation.
>
> create ipip tunnel                       create ipip tunnel src <addr> dst
> <addr> *[instance <n>*] [outer-table-id <ID>] [p2mp]
> create gre tunnel                        create gre tunnel src <addr> dst
> <addr>* [instance <n>]* [outer-fib-id <fib>] [teb | erspan <session-id>]
> [del] [multipoint]
> create vxlan tunnel                      create vxlan tunnel src
> <local-vtep-addr> {dst <remote-vtep-addr>|group <mcast-vtep-addr>
> <intf-name>} vni <nn> *[instance <id>]* [encap-vrf-id <nn>]
> create loopback interface                create loopback interface [mac
> <mac-addr>] *[instance <instance>]*
>
> mpls tunnel ?
>   mpls tunnel                              mpls tunnel [multicast]
> [l2-only] via [next-hop-address] [next-hop-interface] [next-hop-table
> <value>] [weight <value>] [preference <value>] [udp-encap-id <value>]
> [ip4-lookup-in-table <value>] [ip6-lookup-in-table <value>]
> [mpls-lookup-in-table <value>] [resolve-via-host] [resolve-via-connected]
> [rx-ip4 <interface>] [out-labels <value value value>]
>
> Thanks,
> Halit
> 
>
>

-- 
Pim van Pelt <p...@ipng.nl>
PBVP1-RIPE - http://www.ipng.nl/
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21385): https://lists.fd.io/g/vpp-dev/message/21385
Mute This Topic: https://lists.fd.io/mt/90981638/21656
Mute #mpls:https://lists.fd.io/g/vpp-dev/mutehashtag/mpls
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