How easy would it be to implement a login method (similar again to Net::Telnet::Cisco) for the following type of scenario:
We are an ISP, auditing both configs on our PE routers and on the appropriate CE routers that are connected.
During the course of the script, if certain conditions are true, we connect (from the PE router) to the CE router. In this way, we reuse the session object that we created to connect to the PE. (this is because we can't necessarily reach the CE router from our management station).
Net::Appliance::Session handles both the connection and the login in the one method, connect. using the above example, with NTC we could do something like the following: