Testing ofdpa2.0.1 GA release
diff --git a/src/python/loxi/of13/oxm.py b/src/python/loxi/of13/oxm.py
index 282e42f..7904ee2 100755
--- a/src/python/loxi/of13/oxm.py
+++ b/src/python/loxi/of13/oxm.py
@@ -6198,7 +6198,7 @@
oxm.subtypes[0xffff0007] = exp1ByteValue
class exp2ByteValue(oxm):
- type_len = 0xffff0008
+ type_len = 0xffff0006
def __init__(self, exp_type=0, value=None):
if value != None:
@@ -6210,9 +6210,9 @@
def pack(self):
packed = []
- packed.append(struct.pack("!L", self.type_len))
+ packed.append(struct.pack("!L", self.type_len | (self.exp_type <<9)))
packed.append(struct.pack("!L", OFDPA_EXPERIMETER))
- packed.append(struct.pack("!H", self.exp_type))
+ #packed.append(struct.pack("!H", self.exp_type))
packed.append(struct.pack("!H", self.value))
return ''.join(packed)
@@ -6292,4 +6292,4 @@
q.breakable()
q.text('}')
-oxm.subtypes[0xffff000a] = exp4ByteValue
\ No newline at end of file
+oxm.subtypes[0xffff000a] = exp4ByteValue