.. _sys_ut_event_action_l3:

sys-ut event action l3
======================

L3 packet paramters


l3 Specification
----------------

	===================================== ==========================================================================================
	 **Parameter**                         **Value** 

	===================================== ==========================================================================================
	 **Type**                              *Configuration Resource*

	 **Element Name**                      l3

	 **Element URI**                       /axapi/v3/sys-ut/event/{event-number}/action/{direction}/l3

	 **Element Attributes**                l3_attributes

	 **Partition Visibility**              shared

	 **Schema**                             :download:`l3 schema <sys-ut-event-action-l3/sys-ut-event-action-l3.txt>`
	===================================== ==========================================================================================





	**Operations Allowed:**




.. raw:: html

   <script type="text/javascript">
 function showExample(a,b) { document.getElementById(a+'_div').style.display = 'block'; document.getElementById(a+'_cl').style.display = 'block'; document.getElementById(a+'_eg').style.display = 'none';}
   function closeExample(a,b) { document.getElementById(a+'_div').style.display = 'none'; document.getElementById(a+'_cl').style.display = 'none'; document.getElementById(a+'_eg').style.display = 'block';}
 </script>
   <table width='90%' style='margin-left:5%'>



.. raw:: html

   <tr style='border-bottom: thin solid; border-top: thin solid'><th width=15%>Operation</th><th width=10%>Method</th><th>URI</th><th width=15%>Payload</th><th width=10%></th></tr>




.. raw:: html

   <tr  style='border-bottom: thin solid;'><td valign = 'top'>


Create Object



.. raw:: html

   </td><td valign = 'top'>


POST



.. raw:: html

   </td><td valign = 'top'>


/axapi/v3/sys-ut/event/{event-number}/action/{direction}/l3



.. raw:: html

   </td><td valign = 'top'>


:ref:`3141_l3_attributes`



.. raw:: html

   </td><td></td></tr>




.. raw:: html

   <tr  style='border-bottom: thin solid;'><td valign = 'top'>


Get Object



.. raw:: html

   </td><td valign = 'top'>


GET



.. raw:: html

   </td><td valign = 'top'>


/axapi/v3/sys-ut/event/{event-number}/action/{direction}/l3



.. raw:: html

   </td><td valign = 'top'>


:ref:`3141_l3_attributes`



.. raw:: html

   </td><td></td></tr>




.. raw:: html

   <tr  style='border-bottom: thin solid;'><td valign = 'top'>


Modify Object



.. raw:: html

   </td><td valign = 'top'>


POST



.. raw:: html

   </td><td valign = 'top'>


/axapi/v3/sys-ut/event/{event-number}/action/{direction}/l3



.. raw:: html

   </td><td valign = 'top'>


:ref:`3141_l3_attributes`



.. raw:: html

   </td><td></td></tr>




.. raw:: html

   <tr  style='border-bottom: thin solid;'><td valign = 'top'>


Replace Object



.. raw:: html

   </td><td valign = 'top'>


PUT



.. raw:: html

   </td><td valign = 'top'>


/axapi/v3/sys-ut/event/{event-number}/action/{direction}/l3



.. raw:: html

   </td><td valign = 'top'>


:ref:`3141_l3_attributes`



.. raw:: html

   </td><td></td></tr>




.. raw:: html

   <tr  style='border-bottom: thin solid;'><td valign = 'top'>


Delete Object



.. raw:: html

   </td><td valign = 'top'>


DELETE



.. raw:: html

   </td><td valign = 'top'>


/axapi/v3/sys-ut/event/{event-number}/action/{direction}/l3



.. raw:: html

   </td><td valign = 'top'>


:ref:`3141_l3_attributes`



.. raw:: html

   </td><td></td></tr>




.. raw:: html

   </table>

.. _3141_l3_attributes:

l3 attributes
-------------

    **checksum**

        **Description** 'valid': valid; 'invalid': invalid; 

        **Type:** string

        **Supported Values:** valid, invalid

        **Default:** valid

    **ip-list**

        **Type:** List

        **Reference Object:** :doc:`/axapi/v3/sys-ut/event/{event-number}/action/{direction}/l3/ip/{src-dst} <sys_ut_event>`

    **protocol**

        **Description** L4 Protocol

        **Type:** boolean

        **Supported Values:** true, false, 1, 0

        **Default:** 0

    **ttl**

        **Description** 

        **Type:** number

        **Range:** 1-64

    **type**

        **Description** 'tcp': tcp; 'udp': udp; 'icmp': icmp; 

        **Type:** string

        **Supported Values:** tcp, udp, icmp

        **Mutual Exclusion:** type and value are mutually exclusive

    **uuid**

        **Description** uuid of the object

        **Type:** string

        **Maximum Length:** 64 characters

        **Maximum Length:** 1 characters

    **value**

        **Description** protocol number

        **Type:** number

        **Range:** 0-2147483647

        **Mutual Exclusion:** value and type are mutually exclusive

.. _3141_ip-list:

ip-list
^^^^^^^
	=============================== ===================================================
	**Specification**                 **Value**
	=============================== ===================================================
	 **Type**                        *list*

	 **Block object keys**             

	=============================== ===================================================

    **ethernet**

        **Description** Ethernet interface

        **Type:** number

        **Format:** interface

        **Reference Object:** :doc:`/axapi/v3/interface/ethernet <interface_ethernet>`

    **ipv4-address**

        **Description** IP address

        **Type:** string

        **Format:** ipv4-address

    **ipv6-address**

        **Description** Ipv6 address

        **Type:** string

        **Format:** ipv6-address

    **nat-pool**

        **Description** Nat pool

        **Type:** string

        **Maximum Length:** 128 characters

        **Maximum Length:** 1 characters

    **src-dst**

        **Description** 'dest': dest; 'src': src; 

        **Type:** string

        **Supported Values:** dest, src

    **trunk**

        **Description** Trunk number

        **Type:** number

        **Format:** interface

    **uuid**

        **Description** uuid of the object

        **Type:** string

        **Maximum Length:** 64 characters

        **Maximum Length:** 1 characters

    **ve**

        **Description** Virtual Ethernet interface

        **Type:** number

        **Format:** interface

        **Reference Object:** :doc:`/axapi/v3/interface/ve <interface_ve>`

    **virtual-server**

        **Description** vip

        **Type:** string

        **Maximum Length:** 128 characters

        **Maximum Length:** 1 characters

        **Reference Object:** :doc:`/axapi/v3/slb/virtual-server <slb_virtual_server>`