Element <script>

Lightweight javascript language support (ver 4.3)

Attribute

Attribute
Description
Type
Default (* must have)

src

Specifies js filepath to include

String

Functions

print()

<script>
<![CDATA[
    print('<!-- hello -->');
]]>
</script>

grism_heartbeat_id_get()

<script>
<![CDATA[
    var heartbeat_id = grism_heartbeat_id_get(lantoport, wantoport);
]]>
</script

common.js

port_mirror (inports, outports)

port_inline (porta, portb)

port_loadbalance (inports, outports, lbtype='5thash')

port_inline_bypass (lantoport, wantoport, lanport, wanport)

port_chain (inports, match, filter='', notmatch='', fid_type='')

port_chain_next (match, filter='', notmatch='', fid_type='')

Last updated