Re: [vpp-dev] What is "pneum_read filed"?

2017-07-24 Thread Luke, Chris
Suspect it’s a typographical error; read it as “failed”. Do you open the API connection per thread? I suspect you will need to. It’s based on shared memory that may not survive thread spawning in some threading models in Python. Chris From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@l

[vpp-dev] The length of vl_api_macip_acl_rule_t in macip_acl_add (python api)

2017-07-24 Thread Weitao Han
What is the max length of vl_api_macip_acl_rule_t in macip_acl_add? When I try to add more than 2 rules, I get no reply from vpp_papi. Like this from vpp_papi import VPP vpp = VPP() vpp.connect('t') rules = [ {'src_ip_prefix_len': 0, 'src_mac_mask': '\xff\xff\xff\xff\xff\

[vpp-dev] What is "pneum_read filed"?

2017-07-24 Thread Weitao Han
When I use multithreads(python threading) to send msg to vpp, it raises "IOError - pneum_read filed". In vpp_papi.py rv = vpp_api.pneum_read(mem, size, self.read_timeout) if rv: raise IOError(rv, 'pneum_read filed') What does IOError - pneum_read filed mean?

[vpp-dev] VPP 908 and nasm revision

2017-07-24 Thread Thomas F Herbert
Sergio, I updated JIRA 908, https://jira.fd.io/browse/VPP-908 Could you please send me the new required revision of nasm? --Tom -- *Thomas F Herbert* NFV and Fast Data Planes Office of Technology *Red Hat* ___ vpp-dev mailing list vpp-dev@lists.fd.i

Re: [vpp-dev] Load Balancer like HAProxy or AWS ELB?

2017-07-24 Thread Pierre Pfister (ppfister)
Hello Choonho, MagLev is a layer 4 load-balancer. It load balances TCP connexions to a set of targets. This is done by simply forwarding packets on a per-5-tuple basis with a flow table to remember decisions. Since the destination address of packets is not modified, a tunnel is necessary. HAPro