blob: 256c0b8ffa42fdf237ecfb2e888dc4ad9c006c80 [file] [log] [blame]
John DeNisco06dcd452018-07-26 12:45:10 -04001.. _vhost04:
2
3Cleanup
4-------
5
6Destroy the VMs with "virsh destroy"
7
8.. code-block:: console
9
10 cto@tf-ucs-3:~$ virsh list
11 Id Name State
12 ----------------------------------------------------
13 65 iperf-server3 running
14
15 cto@tf-ucs-3:~$ virsh destroy iperf-server3
16 Domain iperf-server3 destroyed
17
18
19Delete the Virtual port in FD.io VPP
20
21.. code-block:: console
22
23 vpp# delete vhost-user VirtualEthernet0/0/0
24 vpp# show int
25 Name Idx State Counter Count
26 TenGigabitEthernet86/0/0 1 up rx packets 21
27 rx bytes 1928
28 tx packets 19
29 tx bytes 1694
30 TenGigabitEthernet86/0/1 2 down
31 local0 0 down
32
33Restart FD.io VPP
34
35.. code-block:: console
36
37 # service vpp restart
38 # vppctl show int
39 Name Idx State Counter Count
40 TenGigabitEthernet86/0/0 1 down
41 TenGigabitEthernet86/0/1 2 down
42 local0 0 down
43