[lnst] NetTestCommand: Adding get_type() method