code: def add_inline_l2fw_interface(self, interface_id, second_interface_id,
              logical_interface_ref=None, vlan_id=None, zone_ref=None,
              second_zone_ref=None, comment=None):
          
          _interface = {'interface_id': interface_id, 'second_interface_id': second_interface_id,
              'logical_interface_ref': logical_interface_ref, 'failure_mode': 'normal',
              'zone_ref': zone_ref, 'second_zone_ref': second_zone_ref, 'comment': comment,
              'interface': 'inline_l2fw_interface', 'vlan_id': vlan_id}
      
          return self.add_inline_interface(**_interface)
docs: .. versionadded:: 0.5.6
              Requires NGFW engine >=6.3 and layer 3 FW or cluster
          
          An inline L2 FW interface is a new interface type for Layer 3 NGFW
          engines version >=6.3. Traffic passing an Inline Layer 2 Firewall
          interface will have a default action in access rules of Discard.
          Layer 2 Firewall interfaces are not bypass capable, so when NGFW is
          powered off, in an offline state or overloaded, traffic is blocked on
          this interface.
          
          If the interface does not exist and a VLAN id is specified, the logical
          interface and zones will be applied to the top level physical interface.
          If adding VLANs to an existing inline ips pair, the logical and zones
          will be applied to the VLAN.
          
          :param str interface_id: interface id; '1-2', '3-4', etc
          :param str logical_interface_ref: logical interface name, href or LogicalInterface.
              If None, 'default_eth' logical interface will be used.
          :param str vlan_id: optional VLAN id for first interface pair
          :param str vlan_id2: optional VLAN id for second interface pair
          :param zone_ref_intf1: zone for first interface in pair, can be name,
              str href or Zone
          :param zone_ref_intf2: zone for second interface in pair, can be name,
              str href or Zone
          :raises EngineCommandFailed: failure creating interface
          :return: None
          
          .. note:: Only a single VLAN is supported on this inline pair type