Write API functional tests for Static Routes
We need to write functional tests to helping QA get up to speed.
API tests are located at freenas:tests/api2
Any questions about the framework can be made to @ericbsd.
fix(middlewared/network): fix staticroute.query and modernize it