Created
December 19, 2016 20:04
-
-
Save mpontillo/dfb3b06cc86e60fc0cc816ba6716a23f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo maas-region dbshell | |
maasdb=# SELECT r.gateway_ip, metric, source.cidr source, dest.cidr destination | |
FROM maasserver_staticroute r | |
JOIN maasserver_subnet source ON source.id = r.source_id | |
JOIN maasserver_subnet dest on dest.id = r.destination_id; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment