Create ipsec collector (#51)
This commit is contained in:
committed by
Steve Brunton
parent
0250e6c58e
commit
c757fc7216
@@ -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"`
|
||||
}
|
||||
|
||||
|
||||
@@ -17,4 +17,5 @@ features:
|
||||
pools: true
|
||||
optics: true
|
||||
wlansta: true
|
||||
wlanif: true
|
||||
wlanif: true
|
||||
ipsec: true
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user