コード例 #1
0
 def dump_str(self):
     action_type_str = dr_dump_rec_type.find_name(
         self.data["dr_dump_rec_type"])
     i = action_type_str.find("ACTION") + len("ACTION") + 1
     return action_type_str[
         i:] + ", next flow table %s, devx obj id %s, rx_icm_addr %s rx_icm_addr %s" % (
             _srd(self.data, "next_ft"), _srd(self.data, "devx_id"),
             _srd(self.data, "rx_icm_addr"), _srd(self.data, "tx_icm_addr"))
コード例 #2
0
 def dump_str(self):
     action_type_str = dr_dump_rec_type.find_name(
         self.data["dr_dump_rec_type"])
     i = action_type_str.find("ACTION") + len("ACTION") + 1
     return action_type_str[i:] + ", index %s" % (_srd(
         self.data, "ctr_index"))
コード例 #3
0
 def dump_str(self):
     action_type_str = dr_dump_rec_type.find_name(
         self.data["dr_dump_rec_type"])
     i = action_type_str.find("ACTION") + len("ACTION") + 1
     return action_type_str[i:] + ", ICM addr %s" % (_srd(
         self.data, "icm_addr"))
コード例 #4
0
 def dump_str(self):
     action_type_str = dr_dump_rec_type.find_name(
         self.data["dr_dump_rec_type"])
     i = action_type_str.find("ACTION") + len("ACTION") + 1
     return action_type_str[i:] + " FW id %s, dest_ft %s" % (_srd(
         self.data, "table_devx_id"), _srd(self.data, "dest_ft"))
コード例 #5
0
 def dump_str(self):
     action_type_str = dr_dump_rec_type.find_name(
         self.data["dr_dump_rec_type"])
     i = action_type_str.find("ACTION") + len("ACTION") + 1
     return action_type_str[i:] + " "
コード例 #6
0
 def dump_str(self):
     action_type_str = dr_dump_rec_type.find_name(
         self.data["dr_dump_rec_type"])
     i = action_type_str.find("ACTION") + len("ACTION") + 1
     return action_type_str[i:] + ", vlan id %s" % (_srd(
         self.data, "vlan_id"))