Re: [vpp-dev] Traceback Seen in invoke Python APIs with Parameters

2017-02-18 Thread Ole Troan (otroan)
Hi Hang, You have to use named arguments. Change in 17.01. Best regards, Ole > On 18 Feb 2017, at 19:13, Hang Shi wrote: > > Hi, > > I am trying to use VPP python APIs and seeing the tracebacks (see below) for > Python APIs with parameters, while Python APIs without parameters are fine.

[vpp-dev] Traceback Seen in invoke Python APIs with Parameters

2017-02-18 Thread Hang Shi
Hi, I am trying to use VPP python APIs and seeing the tracebacks (see below) for Python APIs with parameters, while Python APIs without parameters are fine. Will anyone help? The APIs I tried is vpp.sw_interface_add_del_address. below is the traceback and code snippets. Whole codes are attached

[vpp-dev] Traceback Seen in invoke Python APIs with Parameters

2017-02-18 Thread Hang Shi
Hi, I am trying to use VPP python APIs and seeing the tracebacks (see below) for Python APIs with parameters, while Python APIs without parameters are fine. Will anyone help? The APIs I tried is vpp.sw_interface_add_del_ address. below is the traceback and code snippets. Whole codes are attached