func (c *Client) RunCommandAndParse(cmd string, obj interface{}) error {
	return c.RunCommandAndParseWithParser(cmd, func(b []byte) error {
		return xml.Unmarshal(b, obj)
	})
}
RunCommandAndParse runs a command on JunOS and unmarshals the XML result
package rpc
import (
	"encoding/xml"
	"fmt"
	"log"
	"github.com/czerwonk/junos_exporter/connector"
)
type Parser func([]byte) error
type ClientCfg struct {
	SatelliteEnabled bool
}
type Client struct {
	conn      *connector.SSHConnection
	debug     bool
	Satellite bool
}
func NewClient(ssh *connector.SSHConnection) *Client {
	rpc := &Client{conn: ssh}
	return rpc
}