Loading definitions/TrafficFilter.Address.yaml +2 −2 Original line number Diff line number Diff line description: Identify the traffic rule. description: Identify the traffic ip address. type: string example: TrafficRule1 No newline at end of file example: 192.168.1.1 No newline at end of file examples/TrafficRule.json 0 → 100644 +26 −0 Original line number Diff line number Diff line { "TrafficRule": { "trafficRuleId": "TrafficRule123", "serName": "ExampleService", "filterType": "FLOW", "priority": 1, "trafficFilter": { "srcAddress": [ "192.168.2.0/24", "192.168.3.0/24" ], "dstAddress": [ "192.127.4.100/32" ], "dstPort": [ 80 ] }, "action": "FORWARD_DECAPSULATED", "dstInterface": { "interfaceType": "IP", "dstIpAddress": "20.1.1.1" }, "state": "ACTIVE" } } No newline at end of file examples/TrafficRule.yaml 0 → 100644 +15 −0 Original line number Diff line number Diff line TrafficRule: trafficRuleId: TrafficRule123 serName: ExampleService filterType: FLOW priority: 1 trafficFilter: srcAddress: [192.168.2.0/24, 192.168.3.0/24] dstAddress: [192.127.4.100/32] dstPort: [80] action: FORWARD_DECAPSULATED dstInterface: interfaceType: IP dstIpAddress: 20.1.1.1 state: ACTIVE Loading
definitions/TrafficFilter.Address.yaml +2 −2 Original line number Diff line number Diff line description: Identify the traffic rule. description: Identify the traffic ip address. type: string example: TrafficRule1 No newline at end of file example: 192.168.1.1 No newline at end of file
examples/TrafficRule.json 0 → 100644 +26 −0 Original line number Diff line number Diff line { "TrafficRule": { "trafficRuleId": "TrafficRule123", "serName": "ExampleService", "filterType": "FLOW", "priority": 1, "trafficFilter": { "srcAddress": [ "192.168.2.0/24", "192.168.3.0/24" ], "dstAddress": [ "192.127.4.100/32" ], "dstPort": [ 80 ] }, "action": "FORWARD_DECAPSULATED", "dstInterface": { "interfaceType": "IP", "dstIpAddress": "20.1.1.1" }, "state": "ACTIVE" } } No newline at end of file
examples/TrafficRule.yaml 0 → 100644 +15 −0 Original line number Diff line number Diff line TrafficRule: trafficRuleId: TrafficRule123 serName: ExampleService filterType: FLOW priority: 1 trafficFilter: srcAddress: [192.168.2.0/24, 192.168.3.0/24] dstAddress: [192.127.4.100/32] dstPort: [80] action: FORWARD_DECAPSULATED dstInterface: interfaceType: IP dstIpAddress: 20.1.1.1 state: ACTIVE