def METHOD_NAME(self, op, br_fdb_info):
    cmd = "bridge fdb %s %s dev %s" % (op, br_fdb_info["hwaddr"],
                                       self._dev_name)
    if br_fdb_info["self"]:
        cmd += " self"
    if br_fdb_info["master"]:
        cmd += " master"
    if br_fdb_info["vlan_id"]:
        cmd += " vlan %s" % br_fdb_info["vlan_id"]
    exec_cmd(cmd)