
Start running the doc8 RST linter in the pep8 job. This will catch obvious errors like line too long, etc. Tried to fix most of the errors (there were a lot!), but added some ignore directives so we can address some files later. Did have to move a couple of files around as a double include was causing some issues, but content is unchanged. Change-Id: I336a9ee7729045da095be22ea0f58ee596967174
46 lines
1.5 KiB
Plaintext
46 lines
1.5 KiB
Plaintext
.. code-block:: console
|
|
|
|
$ openstack security group rule create --proto icmp default
|
|
+------------------+-----------+
|
|
| Field | Value |
|
|
+------------------+-----------+
|
|
| direction | ingress |
|
|
| ethertype | IPv4 |
|
|
| protocol | icmp |
|
|
| remote_ip_prefix | 0.0.0.0/0 |
|
|
+------------------+-----------+
|
|
|
|
$ openstack security group rule create --ethertype IPv6 \
|
|
--proto ipv6-icmp default
|
|
+-----------+-----------+
|
|
| Field | Value |
|
|
+-----------+-----------+
|
|
| direction | ingress |
|
|
| ethertype | IPv6 |
|
|
| protocol | ipv6-icmp |
|
|
+-----------+-----------+
|
|
|
|
$ openstack security group rule create --proto tcp --dst-port 22 default
|
|
+------------------+-----------+
|
|
| Field | Value |
|
|
+------------------+-----------+
|
|
| direction | ingress |
|
|
| ethertype | IPv4 |
|
|
| port_range_max | 22 |
|
|
| port_range_min | 22 |
|
|
| protocol | tcp |
|
|
| remote_ip_prefix | 0.0.0.0/0 |
|
|
+------------------+-----------+
|
|
|
|
$ openstack security group rule create --ethertype IPv6 --proto tcp \
|
|
--dst-port 22 default
|
|
+----------------+---------+
|
|
| Field | Value |
|
|
+----------------+---------+
|
|
| direction | ingress |
|
|
| ethertype | IPv6 |
|
|
| port_range_max | 22 |
|
|
| port_range_min | 22 |
|
|
| protocol | tcp |
|
|
+----------------+---------+
|