[spp] Cannnot add pcap PMD and null PMD via spp.py

Yasufumi Ogawa ogawa.yasufumi at lab.ntt.co.jp
Wed Nov 7 04:09:54 CET 2018


> Hello,
> 
> I am testing spp through spp-ctl/spp.py.
> 
> I encounter error when
> - adding pcap PMD
> - adding null PMD
> though spp.py.
> 
> When I look source code of spp_webapi.py,
> it looks type is not defined for neither null PMD or pcap PMD.
> 
>      def _validate_port(self, port):
>          try:
>              if_type, if_num = port.split(":")
>              if if_type not in ["phy", "vhost", "ring"]: //problematic
>                  raise
>              int(if_num)
>          except:
>              raise KeyInvalid('port', port)
> 
> It is highly appreciated that someone provide resolution on this.
Hi Hideyuki,

Sorry for lack of covering features. I should add the PMDs you mentioned and I will update soon.

Thanks
> 
> Thanks in advance.
> 
> BR,
> Hideyuki Yamashita
> NTT TechnoCross



More information about the spp mailing list