After adding

mplsTunnelAddDel.mtSwIfIndex = 0;

still the same time out.


Jozef Glončák

Pantheon Technologies, s. r. o.


________________________________
From: Neale Ranns (nranns) <[email protected]>
Sent: Friday, September 29, 2017 20:45
To: Jozef Glončák; [email protected]
Subject: Re: mpls tunnel configuration through JVPP

Hi Jozef,

To what did you set: mt_sw_if_index ?  It should be ~0 on the creation of a new 
tunnel.

/neale

-----Original Message-----
From: Jozef Glončák <[email protected]>
Date: Friday, 29 September 2017 at 04:09
To: "[email protected]" <[email protected]>
Cc: "Neale Ranns (nranns)" <[email protected]>
Subject: mpls tunnel configuration through JVPP

    Hello Neale,

    I need to do following configuration (VPP CLI)

    >>>mpls tunnel add via 10.10.1.3 GigabitEthernet0/a/0 out-label 1003

    through JVPP. I tried method

    >>>FutureJVppCore.mplsTunnelAddDel()

    with settings [1] but result was that request time outed with no error

    [1]
            mplsTunnelAddDel.mtIsAdd = 1;
            mplsTunnelAddDel.mtNextHop = new byte[] {10,10,1,3};
            mplsTunnelAddDel.mtNextHopNOutLabels = 1;
            mplsTunnelAddDel.mtNextHopOutLabelStack = new int[] {1003};
            mplsTunnelAddDel.mtNextHopProtoIsIp4 = 1;
            mplsTunnelAddDel.mtNextHopSwIfIndex = 2; // index of 
GigabitEthernet0/a/0




     Jozef Glončák
     Pantheon Technologies, s. r. o.




_______________________________________________
vpp-dev mailing list
[email protected]
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to