aboutsummaryrefslogtreecommitdiffstats
path: root/.gitignore
AgeCommit message (Expand)AuthorFilesLines
2019-06-18misc: vpp_papi- add tests, clean up pep8Paul Vinciguerra1-0/+3
2019-02-20Remove autotools leftovers from gitignoreBenoît Ganne1-2/+0
2018-11-29make test: create virtualenv under /test/Klement Sekera1-3/+3
2018-09-28gitignore: build/external/downloadsFlorin Coras1-1/+2
2018-09-24Add the sphinx docs build optionsjdenisco1-1/+1
2018-09-20rename vpp-dpdk-dev to vpp-ext-depsDamjan Marion1-4/+4
2018-08-17CMake as an alternative to autotools (experimental)Damjan Marion1-1/+0
2018-07-27Fix .gitignore so docs/Makefile is not ignored. Add README and Makefile. Fis ...John DeNisco1-0/+1
2018-07-26Initial commit of Sphinx docsJohn DeNisco1-0/+2
2018-06-22Python API: Add enum and union support.Ole Troan1-2/+0
2018-06-21Add .pydevproject to .gitignoreMarek Gradzki1-0/+1
2018-06-18Revert "Python API: Add enum and union support."Ole Trøan1-0/+2
2018-06-17Python API: Add enum and union support.Ole Troan1-2/+0
2018-05-31Add src/vlib/config.h.in templateDamjan Marion1-1/+0
2018-03-15remove bootstrap from top-level MakefileDamjan Marion1-1/+1
2018-03-15use system provided ccache linksDamjan Marion1-1/+0
2018-02-07Update gitignore for cmakeKeith Burns (alagalah)1-0/+2
2017-12-15Ignore core filesKeith Burns (alagalah)1-0/+3
2017-12-04Optimize RPM build processRenato Botelho do Couto1-0/+2
2017-11-01VPP Object Model (VOM)Neale Ranns1-0/+1
2017-09-19Add new C APIKlement Sekera1-0/+1
2017-09-08gitignore update for IDEKeith Burns (alagalah)1-1/+2
2017-09-07Allow individual stats API and introduce stats.apiKeith Burns (alagalah)1-0/+1
2017-08-29Add .pybuild to gitignoreKeith Burns (alagalah)1-0/+1
2017-08-22Update gitignore for DPDK filesKeith Burns (alagalah)1-0/+2
2017-01-13vppctl: new bash completion for vppctl commandsPadraig Connolly1-0/+3
2017-01-01Move java,lua api and remaining plugins to src/Damjan Marion1-5/+5
2016-12-09Add make test code coverage reporting using gcovJuraj Sloboda1-0/+1
2016-11-22GRE tests and fixesNeale Ranns1-0/+3
2016-11-01fix typo in .gitignoreKlement Sekera1-1/+1
2016-10-31add vpp debugging support to test frameworkKlement Sekera1-0/+2
2016-10-25Add generated python bindings to .gitignoreMarek Gradzki1-0/+5
2016-09-21A Protocol Independent Hierarchical FIB (VPP-352)Neale Ranns1-2/+2
2016-08-31VPP-221 CLI auto-documentation infrastructureChris Luke1-0/+3
2016-08-30VPP-364 Add vpp-api/python/build to gitignoreFlorin Coras1-0/+2
2016-08-25VPP Python language binding - plugin supportOle Troan1-2/+2
2016-08-16Create python package for jvpp generation.Ed Warnicke1-0/+3
2016-08-12VPP-237: Checkstyle script to check for new checkstyle breakageEd Warnicke1-0/+3
2016-07-21Updating gitignore for generated plugins folderKeith Burns (alagalah)1-0/+1
2016-06-19gitignore gtagsKeith Burns (alagalah)1-0/+4
2016-06-14gitignore change due to DPDK download suffix changeKeith Burns (alagalah)1-0/+1
2016-05-13VPP-57 Add Doxygen to VPPChris Luke1-0/+3
2016-05-12Generate jvpp sources in build-rootMaros Marsalek1-5/+0
2016-05-02HONEYCOMB-10: jVpp - the new java API. C code and jar file generationMarek Gradzki1-0/+6
2016-04-24Updated .gitignore for Python API generated fileKeith Burns (alagalah)1-0/+1
2016-04-12Add unit test infrastructure for LISP protocolFilip Tehlar1-0/+1
2016-03-25Add build-root/*.rpm to .gitignoreEd Warnicke1-0/+1
2016-03-18add ctags and cscope files to .gitignoreDamjan Marion1-0/+4
2016-03-04gitignoreMaros Marsalek1-0/+5
2016-02-01Add a vpp-dpdk-dev package, enable plugins to use dpdk APIs directlyDave Barach1-0/+1
->sw_if_index), nat_interface_is_inside (i) ? "in" : "out"); return 0; } static clib_error_t * nat66_show_interfaces_command_fn (vlib_main_t * vm, unformat_input_t * input, vlib_cli_command_t * cmd) { vlib_cli_output (vm, "NAT66 interfaces:"); nat66_interfaces_walk (nat66_cli_interface_walk, vm); return 0; } static clib_error_t * nat66_add_del_static_mapping_command_fn (vlib_main_t * vm, unformat_input_t * input, vlib_cli_command_t * cmd) { unformat_input_t _line_input, *line_input = &_line_input; clib_error_t *error = 0; u8 is_add = 1; ip6_address_t l_addr, e_addr; u32 vrf_id = 0; int rv; /* Get a line of input. */ if (!unformat_user (input, unformat_line_input, line_input)) return 0; while (unformat_check_input (line_input) != UNFORMAT_END_OF_INPUT) { if (unformat (line_input, "local %U external %U", unformat_ip6_address, &l_addr, unformat_ip6_address, &e_addr)) ; else if (unformat (line_input, "vrf %u", &vrf_id)) ; else if (unformat (line_input, "del")) is_add = 0; else { error = clib_error_return (0, "unknown input: '%U'", format_unformat_error, line_input); goto done; } } rv = nat66_static_mapping_add_del (&l_addr, &e_addr, vrf_id, is_add); switch (rv) { case VNET_API_ERROR_NO_SUCH_ENTRY: error = clib_error_return (0, "NAT66 static mapping entry not exist."); goto done; case VNET_API_ERROR_VALUE_EXIST: error = clib_error_return (0, "NAT66 static mapping entry exist."); goto done; default: break; } done: unformat_free (line_input); return error; } static int nat66_cli_static_mapping_walk (nat66_static_mapping_t * sm, void *ctx) { nat66_main_t *nm = &nat66_main; vlib_main_t *vm = ctx; fib_table_t *fib; vlib_counter_t vc; fib = fib_table_get (sm->fib_index, FIB_PROTOCOL_IP6); if (!fib) return -1; vlib_get_combined_counter (&nm->session_counters, sm - nm->sm, &vc); vlib_cli_output (vm, " local %U external %U vrf %d", format_ip6_address, &sm->l_addr, format_ip6_address, &sm->e_addr, fib->ft_table_id); vlib_cli_output (vm, " total pkts %lld, total bytes %lld", vc.packets, vc.bytes); return 0; } static clib_error_t * nat66_show_static_mappings_command_fn (vlib_main_t * vm, unformat_input_t * input, vlib_cli_command_t * cmd) { vlib_cli_output (vm, "NAT66 static mappings:"); nat66_static_mappings_walk (nat66_cli_static_mapping_walk, vm); return 0; } /* *INDENT-OFF* */ /*? * @cliexpar * @cliexstart{set interface nat66} * Enable/disable NAT66 feature on the interface. * To enable NAT66 feature with local (IPv6) network interface * GigabitEthernet0/8/0 and external (IPv4) network interface * GigabitEthernet0/a/0 use: * vpp# set interface nat66 in GigabitEthernet0/8/0 out GigabitEthernet0/a/0 * @cliexend ?*/ VLIB_CLI_COMMAND (set_interface_nat66_command, static) = { .path = "set interface nat66", .short_help = "set interface nat66 in|out <intfc> [del]", .function = nat66_interface_feature_command_fn, }; /*? * @cliexpar * @cliexstart{show nat66 interfaces} * Show interfaces with NAT66 feature. * To show interfaces with NAT66 feature use: * vpp# show nat66 interfaces * NAT66 interfaces: * GigabitEthernet0/8/0 in * GigabitEthernet0/a/0 out * @cliexend ?*/ VLIB_CLI_COMMAND (show_nat66_interfaces_command, static) = { .path = "show nat66 interfaces", .short_help = "show nat66 interfaces", .function = nat66_show_interfaces_command_fn, }; /*? * @cliexpar * @cliexstart{nat66 add static mapping} * Add/delete NAT66 static mapping entry. * To add NAT66 static mapping entry use: * vpp# nat66 add static mapping local fd01:1::4 external 2001:db8:c000:223:: * vpp# nat66 add static mapping local fd01:1::2 external 2001:db8:c000:221:: vrf 10 * @cliexend ?*/ VLIB_CLI_COMMAND (show_nat66_add_del_static_mapping_command, static) = { .path = "nat66 add static mapping", .short_help = "nat66 add static mapping local <ip6-addr> external <ip6-addr>" " [vfr <table-id>] [del]", .function = nat66_add_del_static_mapping_command_fn, }; /*? * @cliexpar * @cliexstart{show nat66 static mappings} * Show NAT66 static mappings. * To show NAT66 static mappings use: * vpp# show nat66 static mappings * NAT66 static mappings: * local fd01:1::4 external 2001:db8:c000:223:: vrf 0 * local fd01:1::2 external 2001:db8:c000:221:: vrf 10 * @cliexend ?*/ VLIB_CLI_COMMAND (show_nat66_static_mappings_command, static) = { .path = "show nat66 static mappings", .short_help = "show nat66 static mappings", .function = nat66_show_static_mappings_command_fn, }; /* * fd.io coding-style-patch-verification: ON * * Local Variables: * eval: (c-set-style "gnu") * End: */