aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-09-15Addressed formatKeith Burns (alagalah)3-3/+3
Change-Id: I319a828b2357c2d450a429e34079afea68d7d7a1 Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
2016-09-15Added GUI for tutorials that runs entirely inside the VMAristeidis Iliopoulos38-10/+81547
-fixed issue with webserver not spinning up properly Change-Id: I3724f1640ba2b84b7d84fab29febbbd047120812 Signed-off-by: Aristeidis Iliopoulos <ailiopou@cisco.com>
2016-09-13vpp-userdemo: Convert namespaces to full containers.Ray Kinsella6-52/+124
Changes to convert namespaces to full containers as follows:- * c1 -> cone, c2 -> ctwo * Containers are accessible via lxc-console and ssh overlinux bridge. * vpp is installed and configure in the container. * Bridging, routing and tracing demo's work as before. Change-Id: I4e957600e1e487355e55d2570c430f2ad21cafd6 Signed-off-by: Ray Kinsella <ray.kinsella@intel.com>
2016-09-05vpp-userdemo: adding debug optionRay Kinsella1-4/+24
Adding -d debug option to capture vpp-userdemo output to log file. This will aid debug down the line. Change-Id: Iaad69ad8890cafb9b748e3629447d9e6061a91f6 Signed-off-by: Ray Kinsella <ray.kinsella@intel.com>
2016-08-29Merge "[router] Support UDP protocol."Pierre Pfister1-0/+18
2016-08-27Merge "vppsb: set up gitreview for the vppsb"Keith Burns1-0/+4
2016-08-27Merge "vpp-userdemo: fixing bridging license"Keith Burns1-15/+13
2016-08-18[router] Support UDP protocol.Jeff Shaw1-0/+18
Register an IP protocol handler for UDP. When a UDP packet arrives on a tapped interface configured for UDP, the packet is injected on the input device's respective tap. commit f560a490c already adds support for directing multicast packets to the tap device. Change-Id: I2a28a123d9bf1470f87986e66f34e76a99e63f48 Signed-off-by: Jeff Shaw <jeffrey.b.shaw@intel.com>
2016-08-12[router] Handle initial tap link state.Jeff Shaw1-2/+37
When an interface is tapped, the tap inherits the link state of the underlying device. Also, the hw vector was being resized in the time between getting the interface and when the hw_address was referenced, leading to a segmentation fault. Resolve the issue by saving the mac address contents on the stack before passing to other functions. Change-Id: I4b5b31e438159a83ddfea808882503775b1fcd1a Signed-off-by: Jeff Shaw <jeffrey.b.shaw@intel.com>
2016-08-10turbotap: A plugin for turbo tap interfacesMohsin KAZMI10-0/+1696
This patch implements a plugin for tap interfaces using socket API. It has advantage of reduced context switching over traditional tap interfaces using "sendmmsg" or "recvmmsg" system calls to send/receive multiple packets using single system call. Change-Id: I5b98e403692ac47d119c03174a21fbd9ff24de82 Signed-off-by: Mohsin KAZMI <sykazmi@cisco.com>
2016-08-08[router] Link state eventsElza Mathew1-0/+47
This patch introduces a method to listen to link state events. The method invokes callback functions to set the interface flags. Change-Id: I284bc5dd92a38c91f093d6709fb43b6b5ae57c56 Signed-off-by: Elza Mathew <elza.mathew@intel.com>
2016-08-08vppsb: set up gitreview for the vppsbRay Kinsella1-0/+4
Adding .gitreview so that gitreview works for the vppsb. Change-Id: Ic0e3931701557a2604d94cb63ee5a33a6646aa39 Signed-off-by: Ray Kinsella <ray.kinsella@intel.com>
2016-08-08vpp-userdemo: fixing bridging licenseRay Kinsella1-15/+13
The bridging file was using a 'C' style license, not a bash style license. Change-Id: Ieacfda56ca8cb44f417ffbbc035dd16bdee9ed03 Signed-off-by: Ray Kinsella <ray.kinsella@intel.com>
2016-08-07Adding subproject: vpp-userdemoKeith Burns (alagalah)13-0/+567
Change-Id: I79eb30c7a4130d1cf12277a68bb417b5778e9f9c Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
2016-08-03[router] Support igmp and ospf multicast.Jeff Shaw1-3/+62
When requested, inject IGMP and OSPF packets with a multicast address of 224.0.0.0/24 to the respective tap. Change-Id: I2763e3df1929d12bd7b5a68bca51f83febc63b28 Signed-off-by: Jeff Shaw <jeffrey.b.shaw@intel.com>
2016-08-02[router] Correctly handle per-interface protocolsJeff Shaw1-46/+70
Previously, if one interface were configured to inject a protocol, then all interfaces would inject the protocol. In other words, if iface 1 were configured for arp,icmp4 and iface 2 were configured for arp,icmp4,tcp, then iface 1 would erroneously inject tcp. This commit fixes the above behavior such that each packet is compared with the protocols enabled for the interface before injecting. Change-Id: I20477a24019f3e0209b863aca25c1253ba45d7f4 Signed-off-by: Jeff Shaw <jeffrey.b.shaw@intel.com>
2016-06-30Merge changes from topic 'cleanup'Pierre Pfister2-275/+201
* changes: [router] Remove note about build failure. [router] Support tcp injection on tapped interfaces. [router] Combine node functions.
2016-06-29[router] Remove note about build failure.Jeff Shaw1-4/+1
The build issue has been fixed in the netlink repo. Remove the note from the README as it is no longer relevant. Change-Id: I3d9fe59f443b926fb83dce16655d86d88ea06be4 Signed-off-by: Jeff Shaw <jeffrey.b.shaw@intel.com>
2016-06-29[router] Support tcp injection on tapped interfaces.Jeff Shaw1-1/+13
Enabled with 'tap inject arp,icmp4,tcp from ... as ...' Change-Id: Ibc1670a8d4b9b3c4369ced9e42df85f496f4129c Signed-off-by: Jeff Shaw <jeffrey.b.shaw@intel.com>
2016-06-29[router] Combine node functions.Jeff Shaw1-270/+187
Handle arp, icmp4, and classified packets in a single node function instead of three nearly identical ones. Change-Id: Id3752bbf2b4f5b1f9d8f98315d330dcf2124c829 Signed-off-by: Jeff Shaw <jeffrey.b.shaw@intel.com>
2016-06-29[Netlink] Fix testrtnl_plugin dependency on librtnl.Jeff Shaw1-1/+1
Link against the libtool file, not the library itself. Without this change, the following error is produced when building the plugin. /usr/bin/ld: cannot find -lrtnl collect2: error: ld returned 1 exit status Makefile:465: recipe for target 'testrtnl_plugin.la' failed Change-Id: I60c7c33baa3958c26749e4507e9d5bebb65a3519 Signed-off-by: Jeff Shaw <jeffrey.b.shaw@intel.com>
2016-06-29[Netlink] Namespace name formatting bugfix and reduced verbosityPierre Pfister2-3/+3
Change-Id: Idf7d9cff0bf5b4e8c9eea8a38a61c75ee9d3da1c Signed-off-by: Pierre Pfister <ppfister@cisco.com>
2016-06-20Merge "netlink: re-define DBL_MAX to be smaller than usual."Pierre Pfister1-0/+3
2016-06-17router: initial commitJeff Shaw7-0/+932
Change-Id: Ief5544e58f002e8d33b72dd87295c29f93345d37 Signed-off-by: Jeff Shaw <jeffrey.b.shaw@intel.com>
2016-06-17netlink: re-define DBL_MAX to be smaller than usual.Jeff Shaw1-0/+3
Without this modification I see a timing wheel assertion failure. Change-Id: I20435b36e06d8978771809857cd1a1121f785bc0 Signed-off-by: Jeff Shaw <jeffrey.b.shaw@intel.com>
2016-05-19[Netlink] Bugfix - Use indexes rather than pointersPierre Pfister2-11/+12
Change-Id: I76d3400b4d62e871def81420203407761c8d5c7f Signed-off-by: Pierre Pfister <ppfister@cisco.com>
2016-05-19[Netlink] Add format function to get namespace pathPierre Pfister2-14/+19
Change-Id: I5a3e955696ea4b1b866f6217c375cfce8d722681 Signed-off-by: Pierre Pfister <ppfister@cisco.com>
2016-05-19[Netlink] Fix Makefile.am test plugin dependency to librtnlPierre Pfister1-2/+1
Change-Id: I59b393888246e8b37f815ffda6259977f9c03c7b Signed-off-by: Pierre Pfister <ppfister@cisco.com>
2016-05-11Initial commit for the netlink effortPierre Pfister13-0/+2371
Change-Id: Ie804a9855f20e12f44fe040d15efb710941dee9f Signed-off-by: Pierre Pfister <ppfister@cisco.com>
2016-05-11Initial commit with README.mdPierre Pfister1-0/+13
Change-Id: I74e55293ce7fb9888a9473eb5a3a2f06bd2a97e5 Signed-off-by: Pierre Pfister <ppfister@cisco.com>
2016-05-09Initial empty repositoryC.J. Collier0-0/+0