Logmanager dokumentace
Přepnout tmavý/světlý/automatický režim Přepnout tmavý/světlý/automatický režim Přepnout tmavý/světlý/automatický režim Zpět na domovskou stránku

IP create with

Tato sekce je dostupná pouze v angličtině.

The create IP with block retypes input value to the IP address type. This block returns a new instance of IP address data type for any given input.

In case input value can’t be typed to an IP address, it returns the default value of IPv4 0.0.0.0.

Block XML representation

XML representation of ip_create block

<xml xmlns="http://www.w3.org/1999/xhtml">
  <block type="ip_create">
    <value name="VALUE">
      <block type="text">
        <field name="TEXT">::1</field>
      </block>
    </value>
  </block>
</xml>

Example of visual representation

Block "Create IP with"

Block “Create IP with”

Example of block usage

Block is used on the “set ip_datatype to” row in the example:

  • Key is loaded from the “item” dictionary.
  • Value is transmitted to the “create IP with” block.
  • Output is variable ip_datatype with data type IP, containing expanded information.
Example of "Create IP with" block

Example of “Create IP with” block

Input data

{
  "user": "administrator",
  "ip" : "8.8.8.8"
}

Processing result

Results of "Create IP with" block

Results of “Create IP with” block