Added WAN egress qos fix
This commit is contained in:
@@ -260,6 +260,14 @@ func main() {
|
|||||||
f.OmitEmpty = true
|
f.OmitEmpty = true
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
case "NetworkConf":
|
||||||
|
resource.FieldProcessor = func(name string, f *FieldInfo) error {
|
||||||
|
switch name {
|
||||||
|
case "WANEgressQOS":
|
||||||
|
f.FieldType = "string"
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
case "SettingUsg":
|
case "SettingUsg":
|
||||||
resource.FieldProcessor = func(name string, f *FieldInfo) error {
|
resource.FieldProcessor = func(name string, f *FieldInfo) error {
|
||||||
if strings.HasSuffix(name, "Timeout") && name != "ArpCacheTimeout" {
|
if strings.HasSuffix(name, "Timeout") && name != "ArpCacheTimeout" {
|
||||||
|
|||||||
Reference in New Issue
Block a user