summaryrefslogtreecommitdiffstats
path: root/extras
AgeCommit message (Collapse)AuthorFilesLines
2019-03-15Revert "API: Cleanup APIs interface.api"Ole Trøan4-19/+15
This reverts commit e63325e3ca03c847963863446345e6c80a2c0cfd. Allow time for CSIT to accommodate. Change-Id: I59435e4ab5e05e36a2796c3bf44889b5d4823cc2 Signed-off-by: ot@cisco.com
2019-03-15API: Cleanup APIs interface.apiJakub Grajciar4-15/+19
Use of consistent API types for interface.api Change-Id: Ieb54cebb4ac96b432a3f0b41596718aa2f34885b Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
2019-03-14GBP: Endpoint flagsNeale Ranns4-13/+75
Change-Id: I4d70985ad078e84ec23ce704c8b76e2ac7809419 Signed-off-by: Neale Ranns <nranns@cisco.com>
2019-03-12GBP: contracts API fixed length of allowed ethertypesNeale Ranns1-19/+15
VAPI does not handle two VLAs in one struct. Change-Id: I259c998bef4398ead2bbb9e788350d50c2f05694 Signed-off-by: Neale Ranns <nranns@cisco.com>
2019-03-06GBP: use sclass in the DP for policyNeale Ranns17-153/+137
Change-Id: I154e18f22ec7708127b8ade98e80546ab1dcd05b Signed-off-by: Neale Ranns <nranns@cisco.com>
2019-03-06rpm: set exec bits on pluginsMatthew Smith1-3/+3
Install plugin shared libraries with permissions set to 0755 instead of 0644 during RPM builds. When building with rpmbuild, if a compiled file is not executable, it's source files and symbols are not included in the vpp-debuginfo RPM. This makes debugging problems with DPDK (and other plugins probably) difficult unless you are running on the machine where the build was generated. Change-Id: I9cc92af855a66366ec3b81a87b82bfd9994bc180 Signed-off-by: Matthew Smith <mgsmith@netgate.com>
2019-03-06GBP: learn from ARP and L2 packetsNeale Ranns4-15/+36
Change-Id: I8af7bca566ec7c9bd2b72529d49e04c6e649b44a Signed-off-by: Neale Ranns <nranns@cisco.com>
2019-03-05VOM: GBP show allowed ethertypes in contractsNeale Ranns2-1/+8
Change-Id: I8314f51d519966b1d9aef96318f6836ace944c9a Signed-off-by: Neale Ranns <nranns@cisco.com>
2019-03-05GBP: per-group EP retention policyNeale Ranns9-479/+71
Change-Id: I3ed4e2e92f74f15b07fcd3e7fbc3fa8718d5249d Signed-off-by: Neale Ranns <nranns@cisco.com>
2019-03-04libmemif: Connection request APIsJakub Grajciar4-84/+147
Add APIs that allow changing reconnect timer and request connection. First connection request is automatically sent once slave interface is created. Change-Id: Ie3558b7b94a780b046755f7f0ac6c3dcf07633e4 Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
2019-03-04GBP: Global config for EP retentionNeale Ranns5-0/+475
Change-Id: I9508c67b494b5edecb2bc393a53e7d47c2574978 Signed-off-by: Neale Ranns <nranns@cisco.com>
2019-03-04GBP: fix and print GBP BD flagsNeale Ranns2-3/+5
Change-Id: If3fe2752c9339049123ff4674e3a29449b520374 Signed-off-by: Neale Ranns <nranns@cisco.com>
2019-03-01VOM: mprefix and mpath encode fixesNeale Ranns4-6/+10
Change-Id: Id3c281e680683c7267c9db66cc806fed58c8cfcb Signed-off-by: Neale Ranns <nranns@cisco.com>
2019-03-01VOM: vxlan-tunnel mcast interface fixNeale Ranns1-1/+5
Change-Id: Ica6a0b4133ccc1997ef0547274982d0cc9761724 Signed-off-by: Neale Ranns <nranns@cisco.com>
2019-02-28stats: Add interface name to sw_if_index as /if/namesOle Troan2-0/+3
Expose interface name to sw_if_index table as a directory node in the stats segment. Change-Id: Ie50e4af01997d141880f02e3a8496bfeb91b9944 Signed-off-by: Ole Troan <ot@cisco.com>
2019-02-28VOM: child accessors on GBP route domainNeale Ranns2-0/+17
Change-Id: I7b74b0b98b2c427bf29bb1d2932044d9924588cb Signed-off-by: Neale Ranns <nranns@cisco.com>
2019-02-27Fix centos build and build documentationjdenisco1-2/+2
Change-Id: I326204d26b613254e39c6a0ffe9f9491981ba3c3 Signed-off-by: jdenisco <jdenisco@cisco.com>
2019-02-25VOM: GBP table IDs in GBP route-domain createNeale Ranns3-2/+4
Change-Id: I606b28dfb820f8f19e338c7642bfe0e4c116ca58 Signed-off-by: Neale Ranns <nranns@cisco.com>
2019-02-23Add support for 19.01jdenisco2-121/+59
Change-Id: I8583f6f6432d8d7c449f43d62d8707a1718f3240 Signed-off-by: jdenisco <jdenisco@cisco.com>
2019-02-22VOM: GBP use singular instance if shared-ptr is setNeale Ranns2-3/+20
Change-Id: I845e0aa0b657b7a4745c158c4c510f604f4502bb Signed-off-by: Neale Ranns <nranns@cisco.com>
2019-02-22VOM: mroute dump debug level fixNeale Ranns1-1/+1
Change-Id: Ice8c3e76857ee35c079d72d6697e6a3fbc99b7aa Signed-off-by: Neale Ranns <nranns@cisco.com>
2019-02-22VOM: De-template the ACL code.Neale Ranns8-215/+709
there's something going wrong with the dependency ordering. i have added hacks in the past, but these are not reliable across compiler versions. Change-Id: I34b4aae4c7ed7beaa424cd692ff34cba21ba802a Signed-off-by: Neale Ranns <nranns@cisco.com>
2019-02-22VOM: fix tests and namespacify l2_vtrNeale Ranns9-56/+63
Change-Id: Ie59220a622c3a5195485cd6857b45f57d6eeaf95 Signed-off-by: Neale Ranns <nranns@cisco.com>
2019-02-20vom: Fix the versioning issue [vpp-1555]Mohsin Kazmi2-0/+11
vom library was missing version apended to libvom.so This patch fixes this issue. Change-Id: I99a6c282d651e1882574af999f04610d7a2c4d44 Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
2019-02-19VPP-1504: Remove JVPPMichal Cmarada120-10600/+1
As part of JVPP migration this removes JVPP completely from VPP. Change-Id: I6b74e7961aa474ae471e63fe43a624cd9fc3659b Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
2019-02-19VOM: no assert on interface mac setNeale Ranns2-2/+3
Change-Id: I0210b18dc37e1a425c75c95a2fb98c6a48d8ea7a Signed-off-by: Neale Ranns <nranns@cisco.com>
2019-02-14deb-pkg: Add libvom package supportMohsin Kazmi1-11/+5
Change-Id: I370a5198ea5b768d8c505679662a19797bd2740d Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
2019-02-13vom: Add support for vtr in xconnectMohsin Kazmi11-138/+294
Change-Id: Ib168a1d20c4609e4e64f472f75e9463161638e3e Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
2019-02-13VOM: neighbour API flagsNeale Ranns8-25/+131
Change-Id: Ia664cd4c77f1c5b4bc46c5e191bb57704b3ccc46 Signed-off-by: Neale Ranns <nranns@cisco.com>
2019-02-05VOM: vxlan_tunnel equals operatorNeale Ranns2-1/+12
Change-Id: I0e524b5d7c02a099b6ce84e6a0c116b19200879d Signed-off-by: Neale Ranns <nranns@cisco.com>
2019-01-31Update version (19.01) for API changes scriptAndrew Yourtchenko1-2/+2
Change-Id: I9c39b5076d366b3455a875df32765b2cb8f3eca2 Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com> (cherry picked from commit 02da3a792ce1a7b4cdc3f0c9aa3434aadc726d06)
2019-01-31extras: vfctl script - bind VF to vfio-pci after VF is createdDamjan Marion1-0/+10
Change-Id: If6ed71a5f7217363d8e1b2f7a7f20fe4cfdb58af Signed-off-by: Damjan Marion <damarion@cisco.com>
2019-01-30Use IP and MAC API types for neighborsNeale Ranns7-29/+56
use address_t and mac_address_t for IPv6 and ARP entries and all other API calls in ip.api aprat from the route ones, that will follow in a separate commit Change-Id: I67161737c2184d3f8fc1e79ebd2b55121c5b0191 Signed-off-by: Neale Ranns <nranns@cisco.com>
2019-01-25deprecate tapcliDamjan Marion5-7/+0
Change-Id: I82dceaa27a7b0c96de077cf283e4f64aa426f271 Signed-off-by: Damjan Marion <damarion@cisco.com>
2019-01-22GBP: Sclass to src-epg conversionsNeale Ranns8-16/+96
Change-Id: Ica88268fd6a6ee01da7e9219bb4e81f22ed2fd4b Signed-off-by: Neale Ranns <nranns@cisco.com>
2019-01-22VOM: GBP bridge domain flagsNeale Ranns8-23/+69
Change-Id: Ib5e4a850e127dda51318ffe82ef2622b980bc947 Signed-off-by: Neale Ranns <nranns@cisco.com>
2019-01-17VOM: ip-mroute inspect register handler fixNeale Ranns1-1/+2
Change-Id: I57689446005da00fa064e2938cfe55a9e1cef9fc Signed-off-by: Neale Ranns <nranns@cisco.com>
2019-01-17DOC ONLY: wireshark dissector upstreamedDave Barach1-84/+0
Remove the last remnant from extra/wireshark, update the Sphinx docs Change-Id: I5886557f17192475c03fcb0dfde581e1e63cea5c Signed-off-by: Dave Barach <dave@barachs.net>
2019-01-16DOC ONLY: update readme.mdDave Barach3-469/+28
Remove the source code, replace with reference to the upstreamed patch. Change-Id: I6f5430b1e9804530afbec1805353852e1da745d6 Signed-off-by: Dave Barach <dave@barachs.net>
2019-01-10vpp_config: Rework for Python2/3 compatibility.Paul Vinciguerra12-406/+554
On ubuntu: $cd <basedir>/extras/vpp_config $./scripts/clean.sh $./scripts/cp-data.sh $sudo apt-get install python3-pip python3-setuptools $python3 -m pip install . $vpp-config Changes: * Convert to print() function. * raw_input changes. * floor division changes. * replace vpp-config.py with a setuptools 'vpp-config' entry_point. * replace netaddr with ipaddress from the standard library and backport. * .decode() subprocess.Popen's stdout because in python3 they are bytes. Change-Id: Id98894ee54e0c31a0ba0304134b159caef415705 Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
2019-01-10VOM: IP route ECMP supportNeale Ranns3-24/+56
Change-Id: Iede0c30aacfe7289f428062bb9540410097c40e2 Signed-off-by: Neale Ranns <nranns@cisco.com>
2019-01-09Use the official libpcap file typeDave Barach1-1/+1
Change-Id: Ia34a4278eedc8cf450688b1fa0291e1f976868d3 Signed-off-by: Dave Barach <dave@barachs.net>
2019-01-07VOM: mroutesNeale Ranns12-117/+1306
- fixes in ip.api for dumping mroute path flags Change-Id: I13b0cfb15d374250ed71bd4e13dda9b798c18204 Signed-off-by: Neale Ranns <nranns@cisco.com>
2019-01-04libmemif: fix incorrect write leading to memory corruptionKoichiro Den1-3/+3
in the worst case scenario this leads to segfault in a hard-to-debug way. Change-Id: I165adae0bd2dee26af777a2665c8c124d3a49808 Signed-off-by: Koichiro Den <den@klaipeden.com>
2019-01-04VPP-1525: additional fixes for strings in JapiMichal Cmarada5-21/+104
Change-Id: Ic5aa09fdc360cdded16d3c4693f0d4b2067f66d6 Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
2018-12-24GBP: fix dump and VOM populateNeale Ranns12-205/+96
Change-Id: I5440d80333190ebac46d22eac43183939805a24b Signed-off-by: Neale Ranns <nranns@cisco.com>
2018-12-23VOM: statsNeale Ranns7-47/+87
- onnly read when connected. use bool for state - operator<< for counter_t - only publish stats for interfaces that have them available Change-Id: I66a8a336a05912592851c88e3af69155d840a573 Signed-off-by: Neale Ranns <nranns@cisco.com>
2018-12-21GBP: add allowed ethertypes to contractsNeale Ranns6-93/+138
Change-Id: I74782d3b9b71a071bb500c34866a017b8ee15767 Signed-off-by: Neale Ranns <nranns@cisco.com>
2018-12-19VOM: stats fixesNeale Ranns6-83/+88
- double free of m_stat_data_seg - cleanup typedefs Change-Id: I6aeb070471b6c5c97ac4379d01bd242136f80091 Signed-off-by: Neale Ranns <nranns@cisco.com>
2018-12-19VOM: VXLAN-GBP command fixesNeale Ranns3-6/+9
Change-Id: Ie1c672a83bca15ce7b6b9354ede1f36f8fef8e74 Signed-off-by: Neale Ranns <nranns@cisco.com>