{ "additionalProperties": false, "id": "LiveTraceSamplingConfig", "module_id": "PolicyConnectivity", "properties": { "match_number": { "customValidation": { "OPTION_1_TRACE": { "code": 1, "maximum": 50, "minimum": 1, "validator": "range" }, "OPTION_2_PKT_CAP": { "code": 2, "maximum": 500, "minimum": 1, "validator": "range" }, "key": "code", "keyType": "int", "namespace": "LiveTraceSamplingConfigMatchNumber" }, "description": "First N packets are sampled. The upper limits of sampling number for livetrace actions are listed as below: - trace action: 50 - packet capture action: 500 - datapath statistics action: 65535", "maximum": 65535, "minimum": 1, "required": false, "title": "Parameter for first-N sampling.", "type": "integer" }, "sampling_interval": { "description": "A packet is sampled for every given time interval in ms.", "maximum": 30000, "minimum": 1, "required": false, "title": "Parameter for interval based sampling", "type": "integer" }, "sampling_rate": { "description": "1 out of N packets is sampled on average.", "maximum": 65535, "minimum": 1, "required": false, "title": "Parameter for packet number based sampling", "type": "integer" } }, "title": "Sampling parameter for a livetrace action", "type": "object" }