summaryrefslogtreecommitdiffhomepage
path: root/tox.ini
diff options
context:
space:
mode:
authorYuichi Ito <ito.yuichi0@gmail.com>2013-12-20 11:42:45 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2013-12-20 12:25:13 +0900
commitb5bc06c6545657021b1b071dbd958e97c78d18c1 (patch)
tree89d71ab338774355913e4fd99f02b9e49b182c54 /tox.ini
parentd2bb2205de5f87b8d295a681eef393628147f688 (diff)
ofctl_v1_3: support metadata
Support metadata in FlowMod instructions and match. both a decimal number and a hexadecimal number are able to use in 'metadata' and 'metadata_mask'. all the following examples express the same flow entry. flow = {'match': {'metadata': '12345/4095'}, 'actions': [{'type': 'WRITE_METADATA', 'metadata': '12345', 'metadata_mask': '4095'}]} flow = {'match': {'metadata': '12345/4095'}, 'actions': [{'type': 'WRITE_METADATA', 'metadata': 12345, 'metadata_mask': 4095}]} flow = {'match': {'metadata': '0x3039/0xfff'}, 'actions': [{'type': 'WRITE_METADATA', 'metadata': '0x3039', 'metadata_mask': '0xfff'}]} Signed-off-by: Yuichi Ito <ito.yuichi0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'tox.ini')
0 files changed, 0 insertions, 0 deletions