42d1fae2e6
The -S flag for console commands, backed by search functionality in Rex' tables, originally pushed upstream in #1604 (iirc), lacks coverage for a number of commands which benefit a good deal from inline filtering of the potentially large number of results. Push more -S flags and surrounding table functionality upstream to provide coverage for the console commands included in framework. Include a fix for deleting hosts when DB references are a problem. Include a fix for the upstream route command wherein scope must be defined for the routing target by assuming a /32 without explicit definition. Note: With this in place, console behavior when filtering results is roughly analagous to the R7 filtering in web UI, which should help those of us trying to use both maintain corresponding workflows. Testing: Used in-house for years, though changes to the diff from upstream and our fork (expunging some internal code) are untested, so would appreciate eyes and hands on.