This group is locked. No changes can be made to the group while it is locked.
Date
1 - 2 of 2
What is the syntax for experimenter extension match-field and action in JSON file
junming
Hi, I am trying to add some experimenter extension match-fields and actions for openflow protocol. The test method I use is to write JSON file for table addition with curl command for ODL. But I am not sure the syntax for experimenter extension in JSON file. For example, I have the following standard match fields. And I want to an experimenter match-field named traffic-class. How should I write it in this JSON file? "match": { "ethernet-match": { "ethernet-type": { "type": "2048" }, "ethernet-destination": { "address": "00:01:02:03:04:05" }, "ethernet-source": { "address": "00:00:00:00:00:00" } }, "vlan-match": { "vlan-id": { "vlan-id": "10", "vlan-id-present": "true" } } BR, Junming
|
Michal Rehak -X (mirehak - PANTHEON TECHNOLOGIES@Cisco) <mirehak@...>
Added openflowplugin-dev.
Regards, Michal
From: openflowjava-dev-bounces@... <openflowjava-dev-bounces@...> on behalf of junming <junming_gao@...>
Sent: Friday, July 7, 2017 17:12 To: openflowjava-dev@... Subject: [openflowjava-dev] What is the syntax for experimenter extension match-field and action in JSON file Hi,
I am trying to add some experimenter extension match-fields and actions for openflow protocol. The test method I use is to write JSON file for table addition with curl command for ODL. But I am not sure the syntax for experimenter extension in JSON file.
For example, I have the following standard match fields. And I want to an experimenter match-field named traffic-class. How should I write it in this JSON file?
"match": {
"ethernet-match": {
"ethernet-type": { "type": "2048" },
"ethernet-destination": { "address": "00:01:02:03:04:05" },
"ethernet-source": { "address": "00:00:00:00:00:00" }
},
"vlan-match": {
"vlan-id": {
"vlan-id": "10",
"vlan-id-present": "true"
}
}
BR,
Junming
|