Commit b17fa10a authored by Shlomi Hadad's avatar Shlomi Hadad

Added Traffic rule example

Change-Id: Id38d4f9700e24995cead658da3c117043cb1e233
Signed-off-by: 's avatarShlomi Hadad <shlomi.hadad@saguna.net>
parent 029c28b2
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
{
"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
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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment