of1.0: use tun_id instead of tun_id_
Since there is no name conflict with tun_id, no reason to use tun_id_ instead of tun_id. This is needed for OF message conversion from/to json later. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
f09407e4d6
commit
d86f04015a
@ -543,9 +543,9 @@ class NXActionResubmitTable(NXActionResubmitBase):
|
||||
@NXActionHeader.register_nx_action_subtype(
|
||||
ofproto_v1_0.NXAST_SET_TUNNEL, ofproto_v1_0.NX_ACTION_SET_TUNNEL_SIZE)
|
||||
class NXActionSetTunnel(NXActionHeader):
|
||||
def __init__(self, tun_id_):
|
||||
def __init__(self, tun_id):
|
||||
super(NXActionSetTunnel, self).__init__()
|
||||
self.tun_id = tun_id_
|
||||
self.tun_id = tun_id
|
||||
|
||||
def serialize(self, buf, offset):
|
||||
msg_pack_into(ofproto_v1_0.NX_ACTION_SET_TUNNEL_PACK_STR, buf,
|
||||
@ -646,9 +646,9 @@ class NXActionRegLoad(NXActionHeader):
|
||||
@NXActionHeader.register_nx_action_subtype(
|
||||
ofproto_v1_0.NXAST_SET_TUNNEL64, ofproto_v1_0.NX_ACTION_SET_TUNNEL64_SIZE)
|
||||
class NXActionSetTunnel64(NXActionHeader):
|
||||
def __init__(self, tun_id_):
|
||||
def __init__(self, tun_id):
|
||||
super(NXActionSetTunnel64, self).__init__()
|
||||
self.tun_id = tun_id_
|
||||
self.tun_id = tun_id
|
||||
|
||||
def serialize(self, buf, offset):
|
||||
msg_pack_into(ofproto_v1_0.NX_ACTION_SET_TUNNEL64_PACK_STR, buf,
|
||||
|
Loading…
x
Reference in New Issue
Block a user