|
12 | 12 | <h1>General Commands</h1> |
13 | 13 |
|
14 | 14 | <dl> |
15 | | - <dt><code>show [<var>lswitch</var> | <var>router</var>]</code></dt> |
| 15 | + <dt><code>show [<var>switch</var> | <var>router</var>]</code></dt> |
16 | 16 | <dd> |
17 | 17 | Prints a brief overview of the database contents. If |
18 | | - <var>lswitch</var> is provided, only records related to that |
| 18 | + <var>switch</var> is provided, only records related to that |
19 | 19 | logical switch are shown. If |
20 | 20 | <var>router</var> is provided, only records related to that |
21 | 21 | logical router are shown. |
|
25 | 25 | <h1>Logical Switch Commands</h1> |
26 | 26 |
|
27 | 27 | <dl> |
28 | | - <dt><code>lswitch-add</code></dt> |
| 28 | + <dt><code>ls-add</code></dt> |
29 | 29 | <dd> |
30 | 30 | <p> |
31 | 31 | Creates a new, unnamed logical switch, which initially has no ports. |
|
34 | 34 | </p> |
35 | 35 | </dd> |
36 | 36 |
|
37 | | - <dt>[<code>--may-exist</code> | <code>--add-duplicate</code>] <code>lswitch-add</code> <var>lswitch</var></dt> |
| 37 | + <dt>[<code>--may-exist</code> | <code>--add-duplicate</code>] <code>ls-add</code> <var>switch</var></dt> |
38 | 38 | <dd> |
39 | 39 | <p> |
40 | | - Creates a new logical switch named <var>lswitch</var>, which |
| 40 | + Creates a new logical switch named <var>switch</var>, which |
41 | 41 | initially has no ports. |
42 | 42 | </p> |
43 | 43 |
|
|
46 | 46 | names to be unique, but the whole point to the names is to provide an |
47 | 47 | easy way for humans to refer to the switches, making duplicate names |
48 | 48 | unhelpful. Thus, without any options, this command regards it as an |
49 | | - error if <var>lswitch</var> is a duplicate name. With |
| 49 | + error if <var>switch</var> is a duplicate name. With |
50 | 50 | <code>--may-exist</code>, adding a duplicate name succeeds but does |
51 | 51 | not create a new logical switch. With <code>--add-duplicate</code>, |
52 | 52 | the command really creates a new logical switch with a duplicate |
53 | 53 | name. It is an error to specify both options. |
54 | 54 | </p> |
55 | 55 | </dd> |
56 | 56 |
|
57 | | - <dt>[<code>--if-exists</code>] <code>lswitch-del</code> <var>lswitch</var></dt> |
| 57 | + <dt>[<code>--if-exists</code>] <code>ls-del</code> <var>switch</var></dt> |
58 | 58 | <dd> |
59 | | - Deletes <var>lswitch</var>. It is an error if <var>lswitch</var> does |
| 59 | + Deletes <var>switch</var>. It is an error if <var>switch</var> does |
60 | 60 | not exist, unless <code>--if-exists</code> is specified. |
61 | 61 | </dd> |
62 | 62 |
|
63 | | - <dt><code>lswitch-list</code></dt> |
| 63 | + <dt><code>ls-list</code></dt> |
64 | 64 | <dd> |
65 | 65 | Lists all existing switches on standard output, one per line. |
66 | 66 | </dd> |
67 | 67 | </dl> |
68 | 68 |
|
69 | | - <h1>ACL Commands</h1> |
| 69 | + <h1>Logical Switch ACL Commands</h1> |
70 | 70 | <dl> |
71 | | - <dt>[<code>--log</code>] <code>acl-add</code> <var>lswitch</var> <var>direction</var> <var>priority</var> <var>match</var> <var>action</var></dt> |
| 71 | + <dt>[<code>--log</code>] <code>acl-add</code> <var>switch</var> <var>direction</var> <var>priority</var> <var>match</var> <var>action</var></dt> |
72 | 72 | <dd> |
73 | | - Adds the specified ACL to <var>lswitch</var>. |
| 73 | + Adds the specified ACL to <var>switch</var>. |
74 | 74 | <var>direction</var> must be either <code>from-lport</code> or |
75 | 75 | <code>to-lport</code>. <var>priority</var> must be between |
76 | 76 | <code>1</code> and <code>65534</code>, inclusive. If |
77 | 77 | <code>--log</code> is specified, packet logging is enabled for the |
78 | 78 | ACL. A full description of the fields are in <code>ovn-nb</code>(5). |
79 | 79 | </dd> |
80 | 80 |
|
81 | | - <dt><code>acl-del</code> <var>lswitch</var> [<var>direction</var> [<var>priority</var> <var>match</var>]]</dt> |
| 81 | + <dt><code>acl-del</code> <var>switch</var> [<var>direction</var> [<var>priority</var> <var>match</var>]]</dt> |
82 | 82 | <dd> |
83 | | - Deletes ACLs from <var>lswitch</var>. If only |
84 | | - <var>lswitch</var> is supplied, all the ACLs from the logical |
| 83 | + Deletes ACLs from <var>switch</var>. If only |
| 84 | + <var>switch</var> is supplied, all the ACLs from the logical |
85 | 85 | switch are deleted. If <var>direction</var> is also specified, |
86 | 86 | then all the flows in that direction will be deleted from the |
87 | 87 | logical switch. If all the fields are given, then a single flow |
88 | 88 | that matches all the fields will be deleted. |
89 | 89 | </dd> |
90 | 90 |
|
91 | | - <dt><code>acl-list</code> <var>lswitch</var></dt> |
| 91 | + <dt><code>acl-list</code> <var>switch</var></dt> |
92 | 92 | <dd> |
93 | | - Lists the ACLs on <var>lswitch</var>. |
| 93 | + Lists the ACLs on <var>switch</var>. |
94 | 94 | </dd> |
95 | 95 | </dl> |
96 | 96 |
|
97 | 97 | <h1>Logical Switch Port Commands</h1> |
98 | 98 | <dl> |
99 | | - <dt>[<code>--may-exist</code>] <code>lsp-add</code> <var>lswitch</var> <var>port</var></dt> |
| 99 | + <dt>[<code>--may-exist</code>] <code>lsp-add</code> <var>switch</var> <var>port</var></dt> |
100 | 100 | <dd> |
101 | 101 | <p> |
102 | 102 | Creates on <var>lswitch</var> a new logical switch port named |
|
107 | 107 | It is an error if a logical port named <var>port</var> already |
108 | 108 | exists, unless <code>--may-exist</code> is specified. Regardless of |
109 | 109 | <code>--may-exist</code>, it is an error if the existing port is in |
110 | | - some logical switch other than <var>lswitch</var> or if it has a |
| 110 | + some logical switch other than <var>switch</var> or if it has a |
111 | 111 | parent port. |
112 | 112 | </p> |
113 | 113 | </dd> |
114 | 114 |
|
115 | | - <dt>[<code>--may-exist</code>] <code>lsp-add</code> <var>lswitch</var> <var>port</var> <var>parent</var> <var>tag</var></dt> |
| 115 | + <dt>[<code>--may-exist</code>] <code>lsp-add</code> <var>switch</var> <var>port</var> <var>parent</var> <var>tag</var></dt> |
116 | 116 | <dd> |
117 | 117 | <p> |
118 | | - Creates on <var>lswitch</var> a logical switch port named |
| 118 | + Creates on <var>switch</var> a logical switch port named |
119 | 119 | <var>port</var> that is a child of <var>parent</var> that is |
120 | 120 | identifed with VLAN ID <var>tag</var>. This is useful in |
121 | 121 | cases such as virtualized container environments where Open |
|
127 | 127 | It is an error if a logical port named <var>port</var> already |
128 | 128 | exists, unless <code>--may-exist</code> is specified. Regardless of |
129 | 129 | <code>--may-exist</code>, it is an error if the existing port is not |
130 | | - in <var>lswitch</var> or if it does not have the specified |
| 130 | + in <var>switch</var> or if it does not have the specified |
131 | 131 | <var>parent</var> and <var>tag</var>. |
132 | 132 | </p> |
133 | 133 | </dd> |
|
138 | 138 | not exist, unless <code>--if-exists</code> is specified. |
139 | 139 | </dd> |
140 | 140 |
|
141 | | - <dt><code>lsp-list</code> <var>lswitch</var></dt> |
| 141 | + <dt><code>lsp-list</code> <var>switch</var></dt> |
142 | 142 | <dd> |
143 | | - Lists all the logical switch ports within <var>lswitch</var> on |
| 143 | + Lists all the logical switch ports within <var>switch</var> on |
144 | 144 | standard output, one per line. |
145 | 145 | </dd> |
146 | 146 |
|
|
0 commit comments