aboutsummaryrefslogtreecommitdiffstats
path: root/docs/gettingstarted/users/configutil/commandfour.rst
blob: 27cac824e4a16237a530143f76a9cb2b9d2483b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
.. _config-command-four:

**************************
List/Install/Uninstall VPP
**************************

With option "4" the user can list, install or uninstall the FD.io VPP packages. If there
are packages already installed, the packages will be listed and then the user will be asked
if the packages should be uninstalled. If no packages are installed the user will be asked if
the FD.io packages should be installed. The packages installed will be the latest released
packages.

Uninstalling the packages:

.. code-block:: console

    What would you like to do?
    
    1) Show basic system information
    2) Dry Run (Will save the configuration files in /usr/local/vpp/vpp-config/dryrun for inspection)
    3) Full configuration (WARNING: This will change the system configuration)
    4) List/Install/Uninstall VPP.
    q) Quit
    
    Command: 4
    
    These packages are installed on node localhost
    Name                      Version
    vpp                       18.04-release
    vpp-api-java              18.04-release
    vpp-api-lua               18.04-release
    vpp-api-python            18.04-release
    vpp-dbg                   18.04-release
    vpp-dev                   18.04-release
    vpp-dpdk-dev              17.01.1-release
    vpp-dpdk-dkms             17.01.1-release
    vpp-lib                   18.04-release
    vpp-nsh-plugin            18.04
    vpp-nsh-plugin-dbg        18.04
    vpp-nsh-plugin-dev        18.04
    vpp-plugins               18.04-release
    
    Do you want to uninstall these packages [y/N]? y
    INFO:root: Local Command: service vpp stop
    INFO:root:Uninstall Ubuntu
    INFO:root: Local Command: dpkg -l | grep vpp
    ....
    What would you like to do?
    
    1) Show basic system information
    2) Dry Run (Will save the configuration files in /usr/local/vpp/vpp-config/dryrun for inspection)
    3) Full configuration (WARNING: This will change the system configuration)
    4) List/Install/Uninstall VPP.
    q) Quit
    
    Command:

Installing the packages:

.. code-block:: console

    1) Show basic system information
    2) Dry Run (Will save the configuration files in /usr/local/vpp/vpp-config/dryrun for inspection)
    3) Full configuration (WARNING: This will change the system configuration)
    4) List/Install/Uninstall VPP.
    q) Quit
    
    Command: 4
    
    There are no VPP packages on node localhost.
    Do you want to install VPP [Y/n]? Y
    INFO:root:  Ubuntu
    INFO:root:Install Ubuntu
    INFO:root: Local Command: ls /etc/apt/sources.list.d/99fd.io.list.orig
    INFO:root:  /etc/apt/sources.list.d/99fd.io.list.orig
    ....

    What would you like to do?
    
    1) Show basic system information
    2) Dry Run (Will save the configuration files in /usr/local/vpp/vpp-config/dryrun for inspection)
    3) Full configuration (WARNING: This will change the system configuration)
    4) List/Install/Uninstall VPP.
    q) Quit
    
    Command: 4

    These packages are installed on node localhost
    Name                      Version
    vpp                       18.04-release
    vpp-api-java              18.04-release
    vpp-api-lua               18.04-release
    vpp-api-python            18.04-release
    vpp-dbg                   18.04-release
    vpp-dev                   18.04-release
    vpp-dpdk-dev              17.01.1-release
    vpp-dpdk-dkms             17.01.1-release
    vpp-lib                   18.04-release
    vpp-nsh-plugin            18.04
    vpp-nsh-plugin-dbg        18.04
    vpp-nsh-plugin-dev        18.04
    vpp-plugins               18.04-release
    
    Do you want to uninstall these packages [y/N]? N

    What would you like to do?
    
    1) Show basic system information
    2) Dry Run (Will save the configuration files in /usr/local/vpp/vpp-config/dryrun for inspection)
    3) Full configuration (WARNING: This will change the system configuration)
    4) List/Install/Uninstall VPP.
    q) Quit
    
    Command: