summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-12-25Merge branch 't4097-flow-accounting' into currentChristian Poessinger
* t4097-flow-accounting: flow-accounting: T4106: support specification of capture packet length flow-accounting: T4105: drop "sflow agent-address auto" flow-accounting: T4099: rename "netflow source-ip" to source-address flow-accounting: T4097: move to get_config_dict()
2021-12-25flow-accounting: T4106: support specification of capture packet lengthChristian Poessinger
2021-12-25flow-accounting: T4105: drop "sflow agent-address auto"Christian Poessinger
The implementation of the "auto" option to specify the sflow/netflow agent-address is very error prone. The current implementation will determine the IP address used for the "auto" value as follow: Get BGP router-id 1) If not found use OSPF router-id 2) If not found use OSPFv3 router-id 3) If not found use "the first IP address found on the system Well, what is the "first IP address found"? Also this changes if DHCP is in use. Also another disadvantage is when the BGP/OSPF/OSPFv3 router-id is changed, the agent-address is not updated upon the next reboot of the system. This task is about removing the "auto" keyword from the CLI at all and make it either entirely configurable by the user and hardcode the value in CLI, or not use this at all. If "auto" is specified we will query the system in the above order and set the proper router-id in the CLI. If none can be found the CLI node is removed.
2021-12-25flow-accounting: T4099: rename "netflow source-ip" to source-addressChristian Poessinger
sFlow uses the source-address CLI node and netflow uses source-ip this is just confusing and should be synced to the common source-address CLI node.
2021-12-25flow-accounting: T4097: move to get_config_dict()Christian Poessinger
2021-12-25Merge pull request #1115 from sever-sever/T4081Christian Poessinger
keepalived: T4081: Fix health-checking when syn-group is used
2021-12-25ospfv3: T4102: add support for NSSA area-typeChristian Poessinger
2021-12-25op-mode: ospfv3: T4095: add missing VRF commandsChristian Poessinger
2021-12-24smoketest: ospf: enable FRR debuggingChristian Poessinger
2021-12-24smoketest: flow-accounting: add sflow and netflow testcasesChristian Poessinger
2021-12-23Merge pull request #1119 from sever-sever/T3854Christian Poessinger
conntrack-sync: T3854: Add missed statistics for op-mode
2021-12-23conntrack-sync: T3854: Add missed statistics for op-modeViacheslav
After rewriting conntrack-sync to XML/python part of op-mode parameters was missed Add "status" and "statistics" for conntrack-sync
2021-12-21Merge pull request #1117 from sever-sever/T4056Christian Poessinger
interface: T4056: Fix unexpected delete tc qdisc
2021-12-21interface: T4056: Fix unexpected delete tc qdiscViacheslav
Traffic-policy rules are generated by old Perl code This commit prevents to unexpected override this code by python.
2021-12-21keepalived: T4081: Fix health-checking when syn-group is usedViacheslav
If health-check scripts are used in vrrp group and vrrp group is membmer of sync-group, then health-check scripts should be part of the section "vrrp_sync_group". In other case the health-scripts won't work anymore.
2021-12-21Merge pull request #1114 from sever-sever/T3435-natChristian Poessinger
nat: T3435: Fix for op-mode concatenate str
2021-12-21nat: T3435: Fix for op-mode concatenate strViacheslav
Can only concatenate str (not "int") to str
2021-12-20Merge pull request #1113 from srividya0208/T4088Christian Poessinger
T4088: login banner: Typo in completion help of banner types
2021-12-20T4088: login banner: Typo in completion help of banner typessrividya0208
There is typo in the completion help when this command "set sys login banner" executed, Changed the completion help to a proper one.
2021-12-19Merge pull request #1112 from srividya0208/T4070Christian Poessinger
T4070: natv4: Add "any" for inbound-interface list
2021-12-19T4070: natv4: Add "any" for inbound-interface listsrividya0208
"any" was missing from the interface list which will be useful to indicate any interface.
2021-12-19vxlan: T3700: add support for Generic Protocol extension (VXLAN-GPE)Christian Poessinger
2021-12-19T4084: dehardcode the post-login bannerDaniil Baturin
2021-12-17Merge pull request #1103 from zdc/T3774-sagittaChristian Poessinger
logs: T3774: Added CLI options to control atop logs rotation
2021-12-17logs: T3774: Optimization for logrotate configszsdc
* Added proper handling of default values from CLI. * Replaced rsyslog restart postrotate action to native `rsyslog-rotate` script. * Removed unnecessary checks for `None` instead `dict` - with default values the situation becomes impossible. * Fixed default value from 10 to 1 in the rsyslog CLI.
2021-12-17Merge pull request #1111 from devon-mar/restart-ldpdDaniil Baturin
frr: T4082: Add restart ldp command
2021-12-16Add restart ldp commandDevon Mar
2021-12-16Merge pull request #1109 from erkin/currentDaniil Baturin
remote: T3356: Remove incomplete HTTP upload progressbar support
2021-12-16Merge pull request #1107 from erkin/currentDaniil Baturin
remote: T4037: Report the final URL when following redirects
2021-12-16remote: T3356: Remove incomplete HTTP upload progressbar supporterkin
2021-12-16Merge branch 'vyos:current' into currentLulu Cathrinus Grimalkin
2021-12-16Merge branch 'current' of https://github.com/erkin/vyos-1x into currenterkin
2021-12-16remote: T4037: Report the final URL when following redirectserkin
2021-12-15http-api: T4076: allow setting CORS option 'Access-Control-Allow-Origin'John Estabrook
2021-12-15op-mode: T4073: drop "show protocols bfd" in favour of "show bfd"Christian Poessinger
2021-12-15op-mode: bfd: T4073: "show protocols bfd peer <ip>" returned invalid session ↵Christian Poessinger
data Due to the AWK regex pattern data from a different peer was returned as the first match was shown.
2021-12-13op-mode: BGP wide option is not availbale for L2VPN/EVPN AFIChristian Poessinger
2021-12-13op-mode: xml: refactor "show ip(v6) route" to use #include building blocksChristian Poessinger
This change then adds supper to filter for given route types under a VRF instance. You will have "show ip route bgp" in the global VRF and "show ip route vrf red bgp" in the red VRF. Same commands apply to IPv6 routes.
2021-12-13logs: T3774: Added new CLI itemzsdc
Added the ability to control the `/var/log/messages` rotation. Renamed the option `maxsize` to `max-size`.
2021-12-13Merge pull request #1105 from jestabro/udsJohn Estabrook
http-api: T4071: allow API to bind to unix domain socket
2021-12-13logs: T3774: Improved logs config renderingzsdc
Switched to `vyos.util.dict_search()` to keep the style common with the rest components. Removed config file comparison - almost the same result may be reached by removing a configuration file with each boot, we already have such a feature in the `vyos-router`.
2021-12-13http-api: T4071: allow API to bind to unix domain socketJohn Estabrook
2021-12-13Merge pull request #1104 from jestabro/configd_init-smoketestChristian Poessinger
configd: T2582: add smoketest for vyos-configd initialization
2021-12-13configd: T2582: add smoketest for vyos-configd initializationJohn Estabrook
2021-12-12graphql: T3993: add requests for firewall ipv6-address-groupJohn Estabrook
2021-12-12graphql: T3993: distinguish queries and mutations; update README.graphqlJohn Estabrook
2021-12-12validator: T4036: validate if multicast address is single (no netmask)Christian Poessinger
2021-12-12bgp: T3967: add support for conditional advertisementChristian Poessinger
The BGP conditional advertisement feature uses the non-exist-map or the exist-map and the advertise-map keywords of the neighbor advertise-map command in order to track routes by the route prefix. non-exist-map ============= * If a route prefix is not present in the output of non-exist-map command, then advertise the route specified by the advertise-map command. * If a route prefix is present in the output of non-exist-map command, then do not advertise the route specified by the addvertise-map command. exist-map ========= * If a route prefix is present in the output of exist-map command, then advertise the route specified by the advertise-map command. * If a route prefix is not present in the output of exist-map command, then do not advertise the route specified by the advertise-map command. This feature is useful when some prefixes are advertised to one of its peers only if the information from the other peer is not present (due to failure in peering session or partial reachability etc). The conditional BGP announcements are sent in addition to the normal announcements that a BGP router sends to its peer. CLI nodes can be found under: * set protocols bgp neighbor <ip> address-family <afi> conditional-advertisement * set protocols bgp peer-group <p> address-family <afi> conditional-advertisement
2021-12-12xml: bgp: rename afi-common.xml.i -> neighbor-afi-ipv4-ipv6-common.xml.iChristian Poessinger
2021-12-12bgp: smoketest: add proper peer-group assignment testsChristian Poessinger
In the past a peer-group was only assigned to the BGP process but not bound to any neighbor. This has been changed.