def cli(cmd_str, attrs = { format: 'text' })
      reply = rpc.command(cmd_str, attrs)
      reply.respond_to?(:text) ? reply.text : reply
    end
def cli(cmd_str, attrs = { format: 'text' })
      reply = rpc.command(cmd_str, attrs)
      reply.respond_to?(:text) ? reply.text : reply
    end
execute CLI commands over NETCONF transport
 returns plain text, rather than XML, by default

 @param cmd_str [String] A valid Junos CLI command.
 @param attrs [Hash] Supports same attributes as
 {http://rubydoc.info/gems/netconf/Netconf/RPC/Junos:command Junos#command}
 @return nil if command returns no text. Otherwise returns text
 in format requested (default is plain text)