DvsFilterPolicy

DvsFilterPolicy
DvsFilterPolicy

This class defines Network Filter Policy.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "inherited": false,
    "filterConfig": [
        {
            "_typeName": "string",
            "inherited": false,
            "key": "string",
            "agentName": "string",
            "slotNumber": "string",
            "parameters": {
                "_typeName": "string",
                "parameters": [
                    "string"
                ]
            },
            "onFailure": "string"
        }
    ]
}
filterConfig
Optional

List of Network Filter Configurations.

In an update operation, the array can contain all DvsTrafficFilterConfigSpec objects or all DvsFilterConfig and DvsTrafficFilterConfig object, but not mixed of Config and Spec objects. If array of DvsFilterConfigSpec and DvsTrafficFilterConfigSpec is used for updating Network Filter then only the Network Filters matching key / key is updated. If array of DvsFilterConfig and DvsTrafficFilterConfig is used for updating port settings, the Network Filter settings will be overridden with the new array specified. The specified array should only contain DvsFilterConfig and DvsTrafficFilterConfig objects with inherited / inherited set to false. DvsFilterConfig/DvsTrafficFilterConfig objects with inherited/inherited as true in the specified array will be ignored. The updated result will include DvsFilterConfig/DvsTrafficFilterConfig objects inherited from parent, if any.