Searched refs:cli (Results 1 - 25 of 101) sorted by relevance

12345

/vpp/test/
H A Dtest_fib.py21 error = self.vapi.cli("test fib")
25 self.logger.info(self.vapi.cli("sh fib source"))
26 self.logger.info(self.vapi.cli("sh fib source prio"))
27 self.logger.info(self.vapi.cli("sh fib memory"))
28 self.logger.info(self.vapi.cli("sh fib entry"))
29 self.logger.info(self.vapi.cli("sh fib entry 0"))
30 self.logger.info(self.vapi.cli("sh fib entry 10000"))
31 self.logger.info(self.vapi.cli("sh fib entry-delegate"))
32 self.logger.info(self.vapi.cli("sh fib paths"))
33 self.logger.info(self.vapi.cli("s
[all...]
H A Dtest_bihash.py28 error = self.vapi.cli("test bihash careful 0 verbose 0")
37 error = self.vapi.cli("test bihash threads 2 nbuckets" +
47 error = self.vapi.cli("test bihash vec64")
57 error = self.vapi.cli("test bihash nitems 10 ncycles 3" +
64 error = self.vapi.cli("test bihash nitems 10 nbuckets 1 ncycles 3" +
H A Dtest_srv6_un.py67 self.vapi.cli("set sr encaps source addr A1::1")
68 self.vapi.cli(
70 self.vapi.cli(
73 self.logger.info(self.vapi.cli("show sr localsids"))
75 self.vapi.cli("clear errors")
81 self.logger.info(self.vapi.cli("show errors"))
82 self.logger.info(self.vapi.cli("show int address"))
143 self.vapi.cli("set sr encaps source addr A1::1")
144 self.vapi.cli(
146 self.vapi.cli(
[all...]
H A Dtest_trace_filter.py40 def cli(self, cmd): member in class:TestTracefilter
51 r = self.cli("show classify table verbose 2")
80 self.cli(cmd)
86 self.cli("pa de classifyme")
87 self.cli("classify filter trace del mask l3 ip4 src "
92 r = self.cli(
96 r = self.cli("trace add pg-input %i filter" % len(packets))
99 self.cli("pa en")
101 self.cli("clear trace")
102 self.cli(
[all...]
H A Dtest_ping.py47 self.logger.info(self.vapi.cli("show hardware"))
54 self.logger.info(self.vapi.cli("show ip4 neighbors"))
55 self.logger.info(self.vapi.cli("show ip6 neighbors"))
59 ret = self.vapi.cli(ping_cmd)
83 self.vapi.cli("show error")
90 self.logger.info(self.vapi.cli("show ip neighbors"))
94 ret = self.vapi.cli(ping_cmd)
122 self.vapi.cli("show error")
H A Dtest_crypto.py21 error = self.vapi.cli("test crypto")
H A Dtest_vpe_api.py26 rv = self.vapi.cli('test log notice fib entry this is a test')
33 rv = self.vapi.cli('test log notice fib entry this is a test')
40 rv = self.vapi.cli('test log debug fib entry test')
H A Dtest_bond.py82 self.logger.info(self.vapi.cli("show interface"))
83 self.logger.info(self.vapi.cli("show interface address"))
84 self.logger.info(self.vapi.cli("show ip neighbors"))
118 self.logger.info(self.vapi.cli(
120 self.logger.info(self.vapi.cli(
124 self.logger.info(self.vapi.cli("clear interfaces"))
133 intfs = self.vapi.cli("show interface BondEthernet0").split("\n")
141 intfs = self.vapi.cli("show interface BondEthernet0").split("\n")
149 intfs = self.vapi.cli("show interface pg2").split("\n")
157 intfs = self.vapi.cli("sho
[all...]
H A Dtest_buffers.py25 error = self.vapi.cli("test chained-buffer-linearization")
H A Dtest_sparse_vec.py28 error = self.vapi.cli("test sparse_vec")
H A Dhook.py58 def before_cli(self, cli):
63 @param cli: CLI string
65 self.logger.debug("CLI: %s" % (cli), extra={'color': RED})
67 def after_cli(self, cli):
133 def before_cli(self, cli):
137 :param cli: CLI string
141 super(PollHook, self).before_cli(cli)
210 def before_cli(self, cli):
213 print("Skip pause before executing CLI: %s" % cli)
216 print("Test paused before executing CLI: %s" % cli)
[all...]
H A Dtest_stats_client.py58 self.vapi.cli("memory-trace on stats-segment")
61 print(self.vapi.cli("show memory stats-segment verbose"))
H A Dtest_vhost.py44 ifs = self.vapi.cli("show interface")
59 ifs = self.vapi.cli("show interface")
80 ifs = self.vapi.cli("show interface")
H A Dtest_tcp.py69 error = self.vapi.cli("test echo server appns 0 fifo-size 4 uri " +
75 error = self.vapi.cli("test echo client mbytes 10 appns 1 " +
108 error = self.vapi.cli("test tcp all")
H A Dtest_mpcap.py46 self.logger.info(self.vapi.cli(cmd))
H A Dtest_string.py39 error = self.vapi.cli("test string " + name)
H A Dtest_session.py71 error = self.vapi.cli("test echo server appns 0 fifo-size 64 " +
77 error = self.vapi.cli("test echo client nclients 100 appns 1 " +
109 error = self.vapi.cli("test session all")
136 error = self.vapi.cli("test svm fifo all")
/vpp/src/vpp/conf/
H A Dstartup.conf6 cli-listen /run/vpp/cli.sock
/vpp/src/plugins/lb/test/
H A Dtest_lb_api.py49 self.vapi.cli("lb vip 2001::/16 encap gre6")
55 self.vapi.cli("lb vip 2001::/16 del")
63 self.vapi.cli("lb vip 2001::/16 encap gre6")
64 self.vapi.cli("lb as 2001::/16 2000::1")
H A Dtest_lb.py80 self.logger.info(self.vapi.cli("show lb vip verbose"))
211 self.vapi.cli(
214 self.vapi.cli(
225 self.vapi.cli(
228 self.vapi.cli(
230 self.vapi.cli("test lb flowtable flush")
236 self.vapi.cli(
239 self.vapi.cli(
250 self.vapi.cli(
253 self.vapi.cli(
[all...]
/vpp/src/plugins/srv6-mobile/test/
H A Dtest_srv6_mobile.py71 self.vapi.cli(
74 self.logger.info(self.vapi.cli("show sr localsids"))
76 self.vapi.cli("clear errors")
82 self.logger.info(self.vapi.cli("show errors"))
83 self.logger.info(self.vapi.cli("show int address"))
150 self.vapi.cli("set sr encaps source addr A1::1")
151 self.vapi.cli("sr policy add bsid D4:: next D2:: next D3::")
152 self.vapi.cli(
155 self.vapi.cli("sr steer l3 {}/32 via bsid D5::".format(self.ip4_dst))
156 self.vapi.cli("i
[all...]
/vpp/src/plugins/pppoe/test/
H A Dtest_pppoe.py51 self.logger.info(self.vapi.cli("show int"))
52 self.logger.info(self.vapi.cli("show pppoe fib"))
53 self.logger.info(self.vapi.cli("show pppoe session"))
54 self.logger.info(self.vapi.cli("show ip fib"))
55 self.logger.info(self.vapi.cli("show trace"))
185 self.vapi.cli("clear trace")
231 self.logger.info(self.vapi.cli("show pppoe fib"))
232 self.logger.info(self.vapi.cli("show pppoe session"))
233 self.logger.info(self.vapi.cli("show ip fib"))
248 self.vapi.cli("clea
[all...]
/vpp/src/plugins/srv6-am/test/
H A Dtest_srv6.py115 self.logger.debug(self.vapi.cli("show ip6 neighbors"))
117 self.logger.debug(self.vapi.cli("show ip4 neighbors"))
118 self.logger.debug(self.vapi.cli("show interface"))
119 self.logger.debug(self.vapi.cli("show hardware"))
153 self.vapi.cli("set sr encaps source addr a3::")
169 self.logger.info(self.vapi.cli("show sr policies"))
183 self.logger.info(self.vapi.cli("show sr steering policies"))
220 self.logger.info(self.vapi.cli("show sr localsid"))
224 self.logger.info(self.vapi.cli("show sr steering policies"))
228 self.logger.info(self.vapi.cli("sho
[all...]
/vpp/src/vlib/
H A Dvlib.h57 #include <vlib/cli.h>
/vpp/src/plugins/srv6-as/test/
H A Dtest_srv6_as.py115 self.logger.debug(self.vapi.cli("show ip6 neighbors"))
117 self.logger.debug(self.vapi.cli("show ip4 neighbors"))
118 self.logger.debug(self.vapi.cli("show interface"))
119 self.logger.debug(self.vapi.cli("show hardware"))
208 self.vapi.cli(cli_str)
211 self.logger.debug(self.vapi.cli("show sr localsid"))
231 self.logger.info(self.vapi.cli("show sr localsid"))
245 self.logger.info(self.vapi.cli("show sr localsid"))
248 self.vapi.cli("sr localsid del address " + sid_list[test_sid_index])
278 self.vapi.cli(cli_st
[all...]

Completed in 11 milliseconds

12345