func (*macCollector) Name() string {
	return "Mac"
}
Name returns the name of the collector
package mac
import (
	"github.com/czerwonk/junos_exporter/collector"
	"github.com/czerwonk/junos_exporter/rpc"
	"github.com/prometheus/client_golang/prometheus"
)
const prefix string = "junos_mac_table_"
var (
	totalCount    *prometheus.Desc
	recieveCount  *prometheus.Desc
	dynamicCount  *prometheus.Desc
	floodCount    *prometheus.Desc
)
func init() {
	l := []string{"target"}
	totalCount = prometheus.NewDesc(prefix+"total_count", "Number of entries in table", l, nil)
	recieveCount = prometheus.NewDesc(prefix+"recieve_count", "Number of L3 recieve route entries in table", l, nil)
	dynamicCount = prometheus.NewDesc(prefix+"dynamic_count", "Number of dynamic entries in table", l, nil)
	floodCount = prometheus.NewDesc(prefix+"flood_count", "Number of flood entries in table", l, nil)
}
type macCollector struct {
}