[cols="1^,3^,3^,5^", options="header"]
|=================
| Feature | IXExplorer |TRex | Description
-| Line rate | Yes |Almost ~15MPPS/core|
+| Line rate | Yes |Almost ~14MPPS/core|
| Multi stream | 255 | [green]*Unlimited* |
| Packet build flexibility | Limited | [green]*Scapy- Unlimited* | e.g GRE/VXLAN/NSH is supported. Can be extended to future protocols
| Packet Field engine | limited | [green]*Unlimited* |
<1> Configure all the ports to be promiscuous
<2> Check port promiscuous mode
+To change the mode via Python API do this:
+
+.Python API to change to promiscuous mode
+[source,python]
+----
+ c = STLClient(verbose_level = LoggerApi.VERBOSE_REGULAR)
+
+ c.connect()
+
+ my_ports=[0,1]
+
+ # prepare our ports
+ c.reset(ports = my_ports)
+
+ # port info, mac-addr info, speed
+ print c.get_port_info(my_ports) <1>
+
+ c.set_port_attr(my_ports, promiscuous = True) <2>
+----
+<1> Get port info for all the ports
+<2> Change port attribute
+
+See here for more info link:cp_stl_docs/api/client_code.html[Python Client API]
+
+
+[NOTE]
+=====================================================================
+Interface is not promiscuous mode by default. If you change it to be True, it is better to change it back after your test.
+=====================================================================
+
==== Tutorial: Python automation
*Goal*:: Simple automation test using Python from remote or local machine
more profiles and example can be found in `stl/hlt` folder
-
=== Reference
-==== Stream
-
-==== Packet
-
-==== Field Engine commands
-
-==== Modes
+Have a look link:cp_stl_docs/index.html[Python Client API]
=== Console commands
source='trex_book.asciidoc waf.css', target='trex_manual.html', scan=ascii_doc_scan)
bld(rule='${ASCIIDOC} -a docinfo -a stylesheet=${SRC[1].abspath()} -a icons=true -a toc2 -a max-width=55em -d book -o ${TGT} ${SRC[0].abspath()}',
- source='draft_trex_stateless.asciidoc waf.css', target='draft_trex_stateless1.html', scan=ascii_doc_scan)
+ source='draft_trex_stateless.asciidoc waf.css', target='draft_trex_stateless.html', scan=ascii_doc_scan)
bld(rule=convert_to_pdf_book,source='trex_book.asciidoc waf.css', target='trex_book.pdf', scan=ascii_doc_scan)