samplevnf.git
6 years agoUpdating release notes for OPNFV Euphrates 5.1 31/49031/1 opnfv-5.1.0 opnfv-5.1.RC1
Deepak S [Thu, 14 Dec 2017 20:52:18 +0000 (12:52 -0800)]
Updating release notes for OPNFV Euphrates 5.1

Change-Id: I01a619de621a3dfbfe11cabef257f9dec311e318
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoMerge "Fix command parser"
Deepak S [Fri, 8 Dec 2017 03:39:59 +0000 (03:39 +0000)]
Merge "Fix command parser"

6 years agoMerge "Fix checks done when changing generator pkt_size"
Deepak S [Fri, 8 Dec 2017 03:39:49 +0000 (03:39 +0000)]
Merge "Fix checks done when changing generator pkt_size"

6 years agoFix qos statistics 77/48477/1
Xavier Simonart [Wed, 6 Dec 2017 17:09:19 +0000 (18:09 +0100)]
Fix qos statistics

Packets dropped by QoS (because queues were full) were erroneously
shown as idle cycles. There aee now shown as discarded packets.

Change-Id: I01a619de621a3dfbfe11cabef257f9dec311e208
Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
6 years agoFix checks done when changing generator pkt_size 71/48471/1
Xavier Simonart [Wed, 6 Dec 2017 15:54:05 +0000 (16:54 +0100)]
Fix checks done when changing generator pkt_size

Different checks were done when setting the generator pkt_size.
In case of wrong pkt_size (e.g. too big) an error was printed but
the pkt_size was still set causing a potential corruption.
In addition, in case of a packet size incompatible with some
of the packet fields (e.g. latency data) PROX was panicing
while this should not happen runtime for such an error.

Change-Id: Ifa11475bf295aaac7b0255c1bf9b5feed8ef90c4
Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
6 years agoFix command parser 59/48459/1
Xavier Simonart [Wed, 6 Dec 2017 15:18:05 +0000 (16:18 +0100)]
Fix command parser

Command parser could have been crashing if a wrong core/task was
used in pkt_size command. For some other commands both an error
and a warning were printed in case of errors.

Change-Id: I6648bfca1b5bcde3c6393d49687ed84900326d49
Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
6 years agocorrect prox ipsec vnf 61/47661/1
Igor Shaula [Wed, 22 Nov 2017 13:44:55 +0000 (14:44 +0100)]
correct prox ipsec vnf

reapply the latest changes (47355 and 47521) due to gerrit merge problem

* fix crypto init for both encryptor and decryptor
* improve performance: preallocate crypto op memory in init
* finalize enabling routed ipsec traffic (proper IP/MAC addresses)
* correct handling of dropped packets at encryptor
* Fix receive packets with size > 1024 bytes

Change-Id: I51cccc9bef0b9564ea1a3465ad28fb985eee06d1
Signed-off-by: Igor Shaula <igor.shaula@intel.com>
6 years agofix prox crypto build 53/47353/3
Igor Shaula [Thu, 16 Nov 2017 08:59:37 +0000 (09:59 +0100)]
fix prox crypto build

Change-Id: I4ea54763871c18b1bd6cec9dbb926f18f0f5833f
Signed-off-by: Igor Shaula <igor.shaula@intel.com>
6 years agoMerge "Add support for nop mode with l3 submode"
Deepak S [Tue, 21 Nov 2017 17:44:20 +0000 (17:44 +0000)]
Merge "Add support for nop mode with l3 submode"

6 years ago* fix encryption: ESP packet format 19/47319/3
Igor Shaula [Thu, 16 Nov 2017 08:56:34 +0000 (09:56 +0100)]
* fix encryption: ESP packet format
* fix traffic routing
* enqueue packets in a bulk (improve crypto performance: TBD)
* improve code clarity
* fix crypto dequeuing
* complete decryption path implementation
* NOTE: the code works in a chain mode; crypto init to be fixed next

Change-Id: I058a906f4f4f5691ebf25d2cdf5b5faded88e11d
Signed-off-by: Igor Shaula <igor.shaula@intel.com>
6 years agoAdd support for nop mode with l3 submode 53/46953/3
Xavier Simonart [Thu, 9 Nov 2017 14:57:11 +0000 (15:57 +0100)]
Add support for nop mode with l3 submode

The l3 submode was not supported in nop mode, as the nop mode uses some
specific nop thread (and not generic). When L3 is specified, the nop mode
must use the generic thread. In addition the l3 submode is implemented
differently than other submodes. It is not supported through task_init
structures (i.e. each task does not have to explicitely tell that it
supports l3 submode). But this prevented to run both a nop with no submode
and a nop with a l3 submode. Note that nop with l3 is usually not very useful
 - it handles arp (requests and response) but as nop, it does not swap IP
addresses. So with a real switch, the packets transmitted will be received
back... and l3 mode is usually mainly usefull when using a switch.
 However, there is at least one nop mode where l3 submode makes sense:
when the nop does not transmit. In such cases, for instace used in
conjunction with a gen l3, the nop receives all packets and forward
the arp requests and responses to the master for handling.

Change-Id: I992121db285ba25a11cbb494092a6afc6fe55a58
Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
6 years agoRemove unused files in udp replay 25/47125/1
Deepak S [Mon, 13 Nov 2017 08:16:01 +0000 (00:16 -0800)]
Remove unused files in udp replay

Change-Id: I8cbad85c607ca5148723ed3689eaed2c4967fb1d
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoMerge "Fix changing impair delay through command line"
Deepak S [Thu, 9 Nov 2017 14:18:06 +0000 (14:18 +0000)]
Merge "Fix changing impair delay through command line"

6 years agoFix latency commands in l3 submode 77/46877/2
Xavier Simonart [Wed, 18 Oct 2017 11:19:27 +0000 (13:19 +0200)]
Fix latency commands in l3 submode

Change-Id: I9c46b57f98b566efc8ca3ea5966befe2a150315b
Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
6 years agoFix changing impair delay through command line 43/46943/1
Xavier Simonart [Wed, 8 Nov 2017 17:35:20 +0000 (18:35 +0100)]
Fix changing impair delay through command line

Change-Id: I7797241a1d384fa184bdf4d73b81babb21f7383d
Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
6 years agoMerge "Rework handle_esp.c (proto, DPDK<17.08, cleanup)"
Deepak S [Tue, 7 Nov 2017 04:57:21 +0000 (04:57 +0000)]
Merge "Rework handle_esp.c (proto, DPDK<17.08, cleanup)"

6 years agoMerge "lw_AFTR: IP Checksum required on generated packet."
Deepak S [Tue, 7 Nov 2017 04:56:51 +0000 (04:56 +0000)]
Merge "lw_AFTR: IP Checksum required on generated packet."

6 years agolw_AFTR: IP Checksum required on generated packet. 67/46267/4
DanielMartinBuckley [Thu, 26 Oct 2017 17:48:47 +0000 (18:48 +0100)]
lw_AFTR: IP Checksum required on generated packet.

In lwAFTR (ipv6 de-encapsulate) the generated ipv4 packet requires an IP
checksum, otherwise this packet is dropped in Openstack. (Openstack is
much stricter than baremetal) Some fields in the header need to be
initialized.

Add flag in Makefile which when enabled will build to include the generate
the IP checksum in the build. FLAG = GEN_DECAP_IPV6_TO_IPV4_CKSUM=y
Not include in default build.

Change-Id: If94e7cff64b03c66362021f05e48fb9265fc8210
Signed-off-by: Daniel Martin Buckley <daniel.m.buckley@intel.com>
6 years agoRework handle_esp.c (proto, DPDK<17.08, cleanup) 13/46313/1
Patrice Buriez [Fri, 27 Oct 2017 10:43:09 +0000 (12:43 +0200)]
Rework handle_esp.c (proto, DPDK<17.08, cleanup)

- Adjust handle functions to PROX-v035+ prototype, returning 0 when all
  packets have been handled.
- Because cryptodev API was modified in DPDK 17.08, many changes would
  be necessary to support it. For the moment, just exclude handle_esp.c
  from PROX build when using DPDK 17.08+, which will be supported later.
- Cleanup:
  - consistent use of PROX_PANIC to cleanly fail on errors
  - consistent use of OUT_DISCARD to drop unhandled packets
  - remove "__attribute__((unused))" when parameter is actually used
  - remove unused defines, fields and variables

Change-Id: I10d84fa184a866b4a5f87272875612aace5dd5b1
Signed-off-by: Patrice Buriez <patrice.buriez@intel.com>
6 years agoMerge changes from PROX-v041 31/46331/1
Patrice Buriez [Wed, 25 Oct 2017 18:30:34 +0000 (20:30 +0200)]
Merge changes from PROX-v041

Change-Id: Ie6d4e7ce22c27967117a446626f5923643397812
Signed-off-by: Patrice Buriez <patrice.buriez@intel.com>
6 years agoMerge "Makefile change and new task structures for IPSec Prox task"
Deepak S [Tue, 24 Oct 2017 09:15:48 +0000 (09:15 +0000)]
Merge "Makefile change and new task structures for IPSec Prox task"

6 years agoMerge "Added IPSec/ESP performance demo building block to DPPD-PROX"
Deepak S [Tue, 24 Oct 2017 09:15:44 +0000 (09:15 +0000)]
Merge "Added IPSec/ESP performance demo building block to DPPD-PROX"

6 years agoMerge "Adjusted referencing for docs"
Deepak S [Thu, 19 Oct 2017 10:26:18 +0000 (10:26 +0000)]
Merge "Adjusted referencing for docs"

6 years agoMakefile change and new task structures for IPSec Prox task 53/45753/1
Alexander Komarov [Thu, 19 Oct 2017 07:11:49 +0000 (09:11 +0200)]
Makefile change and new task structures for IPSec Prox task

Change-Id: I389389e5317d1a9d0d79cc1762d6f15d8287e36a
Signed-off-by: Alexander Komarov <alexander.komarov@intel.com>
Signed-off-by: Alexander Komarov <izard.ak@gmail.com>
6 years agoFix all the config files alignment issues 15/45715/3
Deepak S [Wed, 18 Oct 2017 20:16:11 +0000 (13:16 -0700)]
Fix all the config files alignment issues

Change-Id: I087c9a9acf412a99f8425fd65d07db6c3b7a4af7
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoAdded IPSec/ESP performance demo building block to DPPD-PROX 69/45469/1
Alexander Komarov [Wed, 18 Oct 2017 07:42:46 +0000 (09:42 +0200)]
Added IPSec/ESP performance demo building block to DPPD-PROX

Change-Id: I25ab50297cd7d2f80a5206ddc3c55ffad36bd8d8
Signed-off-by: Alexander Komarov <alexander.komarov@intel.com>
Signed-off-by: Alexander Komarov <izard.ak@gmail.com>
6 years agoupdate rest api table 37/45537/3
Deepak S [Wed, 18 Oct 2017 04:23:00 +0000 (21:23 -0700)]
update rest api table

Change-Id: I71f8b419a8b28bc3c9208c8902b91d06bc4653de
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoFix table issues in release notes 13/45513/1
Deepak S [Wed, 18 Oct 2017 04:08:29 +0000 (21:08 -0700)]
Fix table issues in release notes

Change-Id: I0c2accf7e2c1f417b9823a0dfa1f356ff7730a3d
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoUpdating user guide 09/45509/1
Deepak S [Wed, 18 Oct 2017 02:34:58 +0000 (19:34 -0700)]
Updating user guide

Change-Id: I80bcbe616b8f2c64151de6e588c892de6c3dc8f1
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoremove unwated proxy in the script 77/45477/1
Deepak S [Wed, 18 Oct 2017 01:27:36 +0000 (18:27 -0700)]
remove unwated proxy in the script

Change-Id: I4a38ac4f7a05b6a96fd9e0e8539aa76252ded3b0
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoAdding script to build samplevnf VM images 73/45473/1
Deepak S [Wed, 18 Oct 2017 01:09:21 +0000 (18:09 -0700)]
Adding script to build samplevnf VM images

Change-Id: I1238aa72f178fb8744fdea688704ef7ff22c9c75
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoUpdating release notes of samplevnf 41/45441/1
Deepak S [Tue, 17 Oct 2017 21:09:54 +0000 (14:09 -0700)]
Updating release notes of samplevnf

Change-Id: I5c6854467bca41ab0ca5894e1a706a65eb68ef32
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoMerge "Rest API: Fix all the bugs in the HWLB, mask issue, etc"
Deepak S [Tue, 17 Oct 2017 17:30:32 +0000 (17:30 +0000)]
Merge "Rest API: Fix all the bugs in the HWLB, mask issue, etc"

6 years agoAdjusted referencing for docs 31/45331/1
Sofia Wallin [Tue, 17 Oct 2017 11:41:04 +0000 (13:41 +0200)]
Adjusted referencing for docs

Change-Id: If9e92a2404214e91c682793622f097e28c11597d
Signed-off-by: Sofia Wallin <sofia.wallin@ericsson.com>
6 years agoRest API: Fix all the bugs in the HWLB, mask issue, etc 73/45373/1
Deepak S [Tue, 17 Oct 2017 10:09:56 +0000 (15:39 +0530)]
Rest API: Fix all the bugs in the HWLB, mask issue, etc

Change-Id: If7cc44f3b57a54aef510f729930e6f79bf83689e
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoCopy the dev bind to standard path 71/45371/1
Deepak S [Tue, 17 Oct 2017 09:58:42 +0000 (02:58 -0700)]
Copy the dev bind to standard path

Change-Id: I44972071e41b67a5aec2adaf426ec84f54c4414e
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoDocs: Developer guide review and update 33/45333/5
Anand B Jyoti [Tue, 17 Oct 2017 04:31:49 +0000 (10:01 +0530)]
Docs: Developer guide review and update

Review and update teh Developer guide for E-Release.

Change-Id: I88221fe6ea5bf3581c1dbf8bf6aaa31a628fff87
Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
6 years agoFix udp replay issue 23/45323/1
Deepak S [Tue, 17 Oct 2017 03:20:34 +0000 (08:50 +0530)]
Fix udp replay issue

Change-Id: I6b78044beb21fdf07ad70d22c81bcca6ca955e63
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoFix compilation issue with older gcc 09/45309/1
Deepak S [Tue, 17 Oct 2017 01:06:37 +0000 (06:36 +0530)]
Fix compilation issue with older gcc

Change-Id: Ib7f67bff93ce531f66be31c3fbd63ecbb33a46d8
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoAdding app version display 03/45303/1
Deepak S [Tue, 17 Oct 2017 01:03:51 +0000 (18:03 -0700)]
Adding app version display

Change-Id: I366d915a05f58c5653de89c1c59ebd180904e080
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoDocs: Enhance the userguide with CLI command reference 03/44203/11
Anand B Jyoti [Wed, 4 Oct 2017 02:56:56 +0000 (08:26 +0530)]
Docs: Enhance the userguide with CLI command reference

JIRA: SAMPLEVNF-84

Update the documents with CLI command reference and Resolve the
jenkins build warnings.

Change-Id: I2bf22507758e1a13b648cc40d86495581fe0d981
Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
6 years agovACL: The ethernet mac address not updated correctly 89/44889/2
Anand B Jyoti [Thu, 12 Oct 2017 01:34:03 +0000 (07:04 +0530)]
vACL: The ethernet mac address not updated correctly

JIRA: SAMPLEVNF-85

The ethernet header pointer initialization was wrong due to which
the MAC address were not updated. Hence the packets were not
reaching the destination.

Change-Id: I90a38bba8d26d5f481c6476e6995eed92970b6e3
Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
6 years agoarp: Config parameters longer than PIPELINE_MAX_ARGS chars ignored 85/44785/4
Anand B Jyoti [Wed, 11 Oct 2017 05:09:51 +0000 (10:39 +0530)]
arp: Config parameters longer than PIPELINE_MAX_ARGS chars ignored

JIRA: SAMPLEVNF-86

Due to this KW fix the arp pipeline is rejecting the commands
greater than PIPELINE_MAX_ARGS size. This is seen in arp_route_tbl
which can is becoming bigger in case of multi port setup.

This patch undo the KW fix which is causing issue with longer
parameters under ARPICMP pipeline.

Change-Id: I96ba3882b5fecc6ac2f7b75f11a63083b847bba5
Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
6 years agoAdding index.rst for developer guide 11/44611/1
Deepak S [Mon, 9 Oct 2017 20:11:05 +0000 (13:11 -0700)]
Adding index.rst for developer guide

Change-Id: Id9ad242c5147a1dc15a181baa2c5bd886335921c
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoAdding Sample Heat template for VNFs 71/44571/1
Deepak S [Mon, 9 Oct 2017 06:10:29 +0000 (23:10 -0700)]
Adding Sample Heat template for VNFs

This patch adds samplevnf openstack heat templates generated by
yardstick

Change-Id: I23295a9b66f91dc6a136a6106a46115f47da35d4
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agocommon code: KW fixes for common code 05/44205/5
Vishwesh M Rudramuni [Wed, 4 Oct 2017 22:07:35 +0000 (03:37 +0530)]
common code: KW fixes for common code

This patch fixes KW issues seen with the common code.

Change-Id: I4f90369152345ea2ea9316b04ac946c0c69fd7d1
Signed-off-by: Vishwesh M Rudramuni <vishwesh.m.rudramuni@intel.com>
6 years agoVNFs: Fixing klocwork issue in VNFs code 13/44213/6
Anand B Jyoti [Wed, 4 Oct 2017 04:45:40 +0000 (10:15 +0530)]
VNFs: Fixing klocwork issue in VNFs code

JIRA: SAMPLEVNF-83

This patch fixes the klocwork reported issues

Change-Id: I190d024777be1bf53cdc97feca1e5934781f3582
Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
6 years agoMerge "Docs: Review and update the docs for E-release"
Deepak S [Wed, 4 Oct 2017 09:36:42 +0000 (09:36 +0000)]
Merge "Docs: Review and update the docs for E-release"

6 years agoDocs: Review and update the docs for E-release 73/44073/19
Anand B Jyoti [Tue, 3 Oct 2017 05:20:41 +0000 (10:50 +0530)]
Docs: Review and update the docs for E-release

JIRA: SAMPLEVNF-82

Review and update the the E-release docsuments.

Change-Id: I1eeb0dead18559b8f05039b81512d944a862bbb4
Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
6 years agol2l3_stack: fixing the arp_route_tbl/nd_route_tbl 53/44053/2
Vishwesh M Rudramuni [Tue, 3 Oct 2017 03:05:25 +0000 (08:35 +0530)]
l2l3_stack: fixing the arp_route_tbl/nd_route_tbl

This patch adds the dest ip back into the parsing logic so that
legacy usage is maintained intact.

Change-Id: I1e479064d7b324d871d3d5f2c166de60165c3495
Signed-off-by: Vishwesh M Rudramuni <vishwesh.m.rudramuni@intel.com>
6 years agoDocs: Update design and userguide for common gateway routing 13/44013/1
Anand B Jyoti [Mon, 2 Oct 2017 23:19:08 +0000 (04:49 +0530)]
Docs: Update design and userguide for common gateway routing

JIRA: SAMPLEVNF-81

Updating design and userguide for common gateway routing
functionality.

Change-Id: I347f03d37469858a69d7fcca86de31ee03d08086
Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
6 years agocommon: arp_route_tbl entry is not working 01/44001/1
Anand B Jyoti [Mon, 2 Oct 2017 22:30:33 +0000 (04:00 +0530)]
common: arp_route_tbl entry is not working

JIRA: SAMPLEVNF-80

The arp_route_tbl entry was not getting effected as the vnf_gateway
flag was not set after adding entry to routing table.

This patch fixes the issue.

Change-Id: Id3b1b14b698dea5e2beea7f3e90e8622896b5c5f
Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
6 years agoMerge "update userguide alignment"
Deepak S [Mon, 2 Oct 2017 09:14:03 +0000 (09:14 +0000)]
Merge "update userguide alignment"

6 years agoMerge "update userguide alignment"
Deepak S [Mon, 2 Oct 2017 09:13:00 +0000 (09:13 +0000)]
Merge "update userguide alignment"

6 years agoupdate userguide alignment 39/43839/1
Deepak S [Mon, 2 Oct 2017 02:00:24 +0000 (19:00 -0700)]
update userguide alignment

Change-Id: Id0eb364fdeb7e9b084c247b0875e9de7b599abfb
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoupdate userguide alignment 35/43835/2
Deepak S [Mon, 2 Oct 2017 02:00:24 +0000 (19:00 -0700)]
update userguide alignment

Change-Id: Ie938d84d31c2145167fc2b816a02bd8c0a3210ec
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoFix cgnapt status output 31/43431/1
Deepak S [Thu, 28 Sep 2017 02:45:57 +0000 (08:15 +0530)]
Fix cgnapt status output

Change-Id: I37ef70ae324e258da16b7bd67baf0e939d88b3ec
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoFix the cgnapt pipeline stat issues 29/43429/1
Deepak S [Thu, 28 Sep 2017 02:14:52 +0000 (07:44 +0530)]
Fix the cgnapt pipeline stat issues

Change-Id: I58d4a1b6c47fa204a8af67c725b22f797ec19755
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoREST_API: rest api client implementation 47/39947/8
Vishwesh M Rudramuni [Sun, 24 Sep 2017 22:06:02 +0000 (03:36 +0530)]
REST_API: rest api client implementation

JIRA: SAMPLEVNF-78

This patch implements rest api's for VNF clients. This
comprises of
        * vnf api's for common functionality
        * vnf api's for CGNAPT
        * vnf api's for VFW

Change-Id: I56d22c64bf3ee5b0a2e536da8169ac7583499041
Signed-off-by: Vishwesh M Rudramuni <vishwesh.m.rudramuni@intel.com>
6 years agoUDP_Replay: changes for gateway packet forwarding 99/39099/8
Anand B Jyoti [Thu, 10 Aug 2017 20:58:13 +0000 (02:28 +0530)]
UDP_Replay: changes for gateway packet forwarding

JIRA: SAMPLEVNF-70

Integrating gateway packet forwarding to UDP_Replay VNF.

Change-Id: I00f2bc498563b81260c2c98275f7a73dbc2cb445
Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
6 years agovCGNAT: changes for gateway packet forwarding 71/39071/10
Anand B Jyoti [Thu, 10 Aug 2017 06:46:53 +0000 (12:16 +0530)]
vCGNAT: changes for gateway packet forwarding

JIRA: SAMPLEVNF-61

Integrating gateway packet forwarding to CGNAT VNF.

Change-Id: Ifd528b40134da2d12644a406b2da05a5f044aa1c
Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
6 years agovACL: changes for gateway packet forwarding 31/38631/13
Anand B Jyoti [Wed, 2 Aug 2017 07:11:02 +0000 (12:41 +0530)]
vACL: changes for gateway packet forwarding

JIRA: SAMPLEVNF-60

vACL changes to support gateway packet forwarding.

Change-Id: I1435254e4f18bc26bf2b37be2e3ed2df0fb29153
Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
6 years agovFW: changes for gateway packet forwarding 51/38351/13
Anand B Jyoti [Fri, 28 Jul 2017 07:49:09 +0000 (13:19 +0530)]
vFW: changes for gateway packet forwarding

JIRA: SAMPLEVNF-59

Changes to support gateway packet forwarding to vFW.

Change-Id: Ie9164b092f6864cfcdb02e7b325c4e8796a7e422
Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
6 years agocommon: Changes to common code for gateway support 49/38349/12
Anand B Jyoti [Fri, 28 Jul 2017 07:41:19 +0000 (13:11 +0530)]
common: Changes to common code for gateway support

JIRA: SAMPLEVNF-58

Common code changes for gateway packet forwarding.

Change-Id: Ie002c94b8febab9c0923e1bb261e5ea931cd4712
Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
6 years agogateway: Created common code for routing in gateway 85/37685/16
Anand B Jyoti [Tue, 18 Jul 2017 04:15:41 +0000 (09:45 +0530)]
gateway: Created common code for routing in gateway

JIRA: SAMPLEVNF-58

Adding the common code for routing functionality in gateway config.

Change-Id: I2a2f085a3555db52c8aff87f1bab1b00d11481ea
Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
6 years agoRemove default section in the createrapid 43/43143/1
Deepak S [Tue, 26 Sep 2017 01:12:15 +0000 (18:12 -0700)]
Remove default section in the createrapid

Change-Id: Id9c22f92955b64242971ff768a64132451c8350e
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoRemove default section in the createrapid 39/43139/1
Deepak S [Tue, 26 Sep 2017 01:12:15 +0000 (18:12 -0700)]
Remove default section in the createrapid

Change-Id: Id9c22f92955b64242971ff768a64132451c8350e
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoSplitting the script in 2 parts: createrapid.py and runrapid.py 21/42521/1
Luc Provoost [Thu, 14 Sep 2017 14:41:02 +0000 (16:41 +0200)]
Splitting the script in 2 parts: createrapid.py and runrapid.py

The split of the scripts is documented in the README file. The VM also
runs now devbind.sh with the proper MAC address to bind the dataplane
interface with the DPDK poll mode driver.

Change-Id: I3e7a6235379dc80530934376c7799ac3396b5325
Luc Provoost <luc.provoost@intel.com>
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoSplitting the script in 2 parts: createrapid.py and runrapid.py 19/42519/1
Luc Provoost [Thu, 14 Sep 2017 14:41:02 +0000 (16:41 +0200)]
Splitting the script in 2 parts: createrapid.py and runrapid.py

The split of the scripts is documented in the README file. The VM also
runs now devbind.sh with the proper MAC address to bind the dataplane
interface with the DPDK poll mode driver.

Change-Id: I3e7a6235379dc80530934376c7799ac3396b5325
Luc Provoost <luc.provoost@intel.com>
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoEnabling Prox to be compatible with Titanium Cloud 15/41715/1
Deepak S [Tue, 12 Sep 2017 08:00:19 +0000 (01:00 -0700)]
Enabling Prox to be compatible with Titanium Cloud

Change-Id: I65e8b2d1cea2a1edfa738671e460b6a0170d3363
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoSupport 5 tuple load balancing for IP addresses other than 0.0.0.X 99/41399/5
DanielMartinBuckley [Fri, 8 Sep 2017 11:45:13 +0000 (12:45 +0100)]
Support 5 tuple load balancing for IP addresses other than 0.0.0.X

Currently packets generated with IP addresses 10.1.1.x when handled
by 5 Tuple Load Balancer are discarded/dropped. These addresses are
outhside the range of the hash algorithm.

Change-Id: Idf2cea0ff299a3fa75554f0d103e13391eae02fa
Signed-off-by: Daniel Martin Buckley <daniel.m.buckley@intel.com>
6 years agoDraft Userguide for samplevnf 49/41049/3
Deepak S [Tue, 5 Sep 2017 00:35:55 +0000 (17:35 -0700)]
Draft Userguide for samplevnf

Change-Id: I21a984518b98eaf5c81b39e549a43fa2eb90f314
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoUpdating SampleVNF Highlevel design 15/41015/5
Deepak S [Mon, 4 Sep 2017 09:52:15 +0000 (02:52 -0700)]
Updating SampleVNF Highlevel design

Change-Id: I16edf82eec02c671c1c72d07348d1badf58fc42d
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoAdded developer user guide draft for samplevnfs 07/39807/1
Deepak S [Mon, 21 Aug 2017 09:51:33 +0000 (02:51 -0700)]
Added developer user guide draft for samplevnfs

Change-Id: I15a5f7ae8e3aac5d509b7a722f7032fbd2da69d0
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoAdded initial draft for samplevnf useguide 99/39699/5
Deepak S [Sat, 19 Aug 2017 03:02:05 +0000 (20:02 -0700)]
Added initial draft for samplevnf useguide

JIRA: SAMPLEVNF-77
Change-Id: Ib537b36ae82361754762a627ae942d99b4966856
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoUpdate vACL config files 97/39697/3
Deepak S [Sat, 19 Aug 2017 00:44:56 +0000 (17:44 -0700)]
Update vACL config files

JIRA: SAMPLEVNF-76
Change-Id: Iab363cc6cd5310e25c15758f02ca68751e81a49c
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoUpdated configuration files for cgnapt VNFs 95/39695/2
Deepak S [Sat, 19 Aug 2017 00:34:49 +0000 (17:34 -0700)]
Updated configuration files for cgnapt VNFs

JIRA: SAMPLEVNF-75
Change-Id: Iac091ca0f12570d47d36366055ad89737b386c36
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoUpdate vCGNAPT configuration file 93/39693/2
Deepak S [Sat, 19 Aug 2017 00:23:48 +0000 (17:23 -0700)]
Update vCGNAPT configuration file

JIRA: SAMPLEVNF-75

Change-Id: Icb8e46ee4566cc637b299913b1d0a7d5baafd3ac
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoAdding Initial samplevnf release notes draft for E-Release 91/39691/2
Deepak S [Fri, 18 Aug 2017 23:57:45 +0000 (16:57 -0700)]
Adding Initial samplevnf release notes draft for E-Release

JIRA: SAMPLEVNF-74
Change-Id: I6d3adacc9236006f64218aad5378a4af5dd2efe5
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoRemove unwanted files in docs folder 89/39689/2
Deepak S [Fri, 18 Aug 2017 21:59:46 +0000 (14:59 -0700)]
Remove unwanted files in docs folder

JIRA: SAMPLEVNF-73

Change-Id: Ia147cfef9f7bcacd50477b6ea3c7d0a1c6e93952
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoEnable tpkts_processed counter in acl 67/39267/1
Deepak S [Mon, 14 Aug 2017 07:08:14 +0000 (12:38 +0530)]
Enable  tpkts_processed counter in acl

JIRA: SAMPLEVNF-72

Change-Id: Iadb3173c76306a48860313177f1b86e8410c7df3
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoMoving printf under cgnapt_dbg_print 65/39265/3
Deepak S [Mon, 14 Aug 2017 06:44:16 +0000 (12:14 +0530)]
Moving printf under cgnapt_dbg_print

JIRA: SAMPLEVNF-71

Change-Id: Ibcd70008e1657eaa0b2f95aac319483490c290aa
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agovFW: Updating config and script files of vFW 97/37997/7
Anand B Jyoti [Mon, 24 Jul 2017 04:56:39 +0000 (10:26 +0530)]
vFW: Updating config and script files of vFW

JIRA: SAMPLEVNF-68

Updating the vFW Config and scripts with following:

 1. Remove arp/nd route tbl from cfg files
 2. Adding routeadd command to script file as route_tbl is
    removed from cfg files
 3. Remove ports_mac_list as the l2l3 stack will initialize
 4. Merge IPv4 and IPv6 cfg/tc files to reduce the number files
 5. Remove 1 WT cfg files to reduce too many cfg files.

Change-Id: If16ee740cd464f2cf55b8d11f590471aba9c7f30
Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
6 years agoAdding cmdline parameters to run setup script in intreactive and non-interative 55/38455/1
Deepak S [Mon, 31 Jul 2017 08:31:38 +0000 (14:01 +0530)]
Adding cmdline parameters to run setup script in intreactive and non-interative

Change-Id: I13baedf530a2f3a8bd92bbe8cabf96ae42596bd7
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agovnf_common: Correcting the max number of ports supported 45/38345/1
Anand B Jyoti [Fri, 28 Jul 2017 07:28:04 +0000 (12:58 +0530)]
vnf_common: Correcting the max number of ports supported

JIRA: SAMPLEVNF-69

Causing memory corruption due to wrong value.
Correcting to 64 from 16.

Change-Id: I0a6634398fd6f0f1e56aab63c88a48c97586d9d4
Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
6 years agoMoving the current docs to userguide 07/38207/1
Deepak S [Wed, 26 Jul 2017 15:53:14 +0000 (08:53 -0700)]
Moving the current docs to userguide

Change-Id: I500d70b7ed2a17e21548a27810ac7e51e44b7841
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years ago[common] fixing compiler warnings 75/37975/1
Vishwesh M Rudramuni [Sun, 23 Jul 2017 22:53:58 +0000 (04:23 +0530)]
[common] fixing compiler warnings

patch fixes some compiler warnings

Change-Id: If1f96b23243d556c69ebd390a4fd3313bc50bb57
Signed-off-by: Vishwesh M Rudramuni <vishwesh.m.rudramuni@intel.com>
6 years agoTXRX: Initialize the debug flag to disable by default 13/37913/1
Anand B Jyoti [Fri, 21 Jul 2017 02:59:22 +0000 (08:29 +0530)]
TXRX: Initialize the debug flag to disable by default

JIRA: SAMPLEVNF-66

The un-initialized global variable some time floods with debug
prints.

This patch inializes the variable to disable debug prints by
default.

Change-Id: I207a7dd1e85c19d3c10e935321b2fe39a46a5f59
Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
6 years agoMerge "VNFs: Correcting the fdir mode for SWLB and HWLB"
Deepak S [Fri, 21 Jul 2017 09:59:39 +0000 (09:59 +0000)]
Merge "VNFs: Correcting the fdir mode for SWLB and HWLB"

6 years agoMerge "[common] Adding route entry command to cmdline"
Deepak S [Fri, 21 Jul 2017 08:11:15 +0000 (08:11 +0000)]
Merge "[common] Adding route entry command to cmdline"

6 years agoMerge "VNF_Catalogue Codebase"
Deepak S [Fri, 21 Jul 2017 06:20:45 +0000 (06:20 +0000)]
Merge "VNF_Catalogue Codebase"

6 years agoVNF_Catalogue Codebase 95/36695/4
Kumar Rishabh [Thu, 29 Jun 2017 06:24:06 +0000 (11:54 +0530)]
VNF_Catalogue Codebase

Catalogue of Open Source VNFs consist in helping the end users to get
information of the VNF we can deploy on top of an OPNFV solution

[Deepak]: Removed all swp files.

Change-Id: Ib2ea7330e964f1b684f32aedf631accd580df968
Signed-off-by: Kumar Rishabh <shailrishabh@gmail.com>
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoVNFs: Correcting the fdir mode for SWLB and HWLB 63/37863/4
Anand B Jyoti [Thu, 20 Jul 2017 06:19:26 +0000 (11:49 +0530)]
VNFs: Correcting the fdir mode for SWLB and HWLB

JIRA: SAMPLEVNF-64

fdir conf mode was incorrectly set to RTE_FDIR_MODE_PERFECT
in SWLB and also RTE_FDIR_MODE_NONE in HWLB.

This patches corrects them to enable the Vector PMD.

Change-Id: I2097479c948ad482dbb868e315e4a6dfc8355ef2
Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
6 years ago[common] Adding route entry command to cmdline 99/37899/2
Vishwesh M Rudramuni [Thu, 20 Jul 2017 22:32:10 +0000 (04:02 +0530)]
[common] Adding route entry command to cmdline

JIRA: SAMPLEVNF-65

This patch adds routeadd command to cmdline for ipv4 & ipv6

Change-Id: I452b414c1e42b4de74eaea06339db83a0f20e7d8
Signed-off-by: Vishwesh M Rudramuni <vishwesh.m.rudramuni@intel.com>
6 years agoMerge "[l2l3 stack] implements new nd state machine & nd buffering"
Deepak S [Thu, 20 Jul 2017 11:22:33 +0000 (11:22 +0000)]
Merge "[l2l3 stack] implements new nd state machine & nd buffering"

6 years agoMerge "[l2l3 stack] implements new arp state machine & arp buffering"
Deepak S [Thu, 20 Jul 2017 11:22:20 +0000 (11:22 +0000)]
Merge "[l2l3 stack] implements new arp state machine & arp buffering"

6 years agoAdding required pre-requites libs to build prox VNF 63/37763/1
Deepak S [Wed, 19 Jul 2017 07:50:40 +0000 (00:50 -0700)]
Adding required pre-requites libs to build prox VNF

JIRA: SAMPLEVNF-63

Change-Id: Ib744de1486e5a757fce412f0ba0586ad152deb5a
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years ago[l2l3 stack] implements new nd state machine & nd buffering 13/35913/6
Vishwesh M Rudramuni [Wed, 7 Jun 2017 21:23:22 +0000 (02:53 +0530)]
[l2l3 stack] implements new nd state machine & nd buffering

JIRA: SAMPLEVNF-32

This patch implements
  ~New nd state machine implementing new states
   like INCOMPLETE, COMPLETE, PROBE, STALE.
  ~Implementing nd buffering, when nd is unresolved.
  ~Integratig the new changes with vCGNAPT
  ~Integrating the new changes with vACL
  ~Integrating the new changes with vFW.
  ~Adding locks to synchronize against multiple VNF threads

Change-Id: Iaee4f4599ca3016ebb50ee2d9133fd8c39c5cd04
Signed-off-by: Vishwesh M Rudramuni <vishwesh.m.rudramuni@intel.com>
6 years agoMerge "Documentation Compliance for Euphrates - Adding template"
Deepak S [Mon, 17 Jul 2017 09:53:00 +0000 (09:53 +0000)]
Merge "Documentation Compliance for Euphrates - Adding template"

6 years agoMerge "docs: Update install and release docs for DPDK migration support"
Deepak S [Mon, 17 Jul 2017 09:46:42 +0000 (09:46 +0000)]
Merge "docs: Update install and release docs for DPDK migration support"