Introspection: Extract common code from GetNets to GetCmd

Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
4 files changed