Create ipsec collector (#51)

This commit is contained in:
Gábor Fási authored and Steve Brunton committed 2019-10-24 21:11:05 -04:00
1 parent 0250e6c58e
commit c757fc7216
6 files changed
+126 -1

No files matched your search

+1
View File
@@ -20,6 +20,7 @@ type Config struct {
WlanSTA bool `yaml:"wlansta,omitempty"`
WlanIF bool `yaml:"wlanif,omitempty"`
Monitor bool `yaml:"monitor,omitempty"`
Ipsec bool `yaml:"ipsec,omitempty"`
} `yaml:"features,omitempty"`
}
+2 -1
View File
@@ -17,4 +17,5 @@ features:
pools: true
optics: true
wlansta: true
wlanif: true
wlanif: true
ipsec: true
+1
View File
@@ -27,6 +27,7 @@ func TestShouldParse(t *testing.T) {
assertFeature("Optics", c.Features.Optics, t)
assertFeature("WlanSTA", c.Features.WlanSTA, t)
assertFeature("WlanIF", c.Features.WlanIF, t)
assertFeature("Ipsec", c.Features.Ipsec, t)
}
func loadTestFile(t *testing.T) []byte {