<commit_before>======================================
Using OpenStack Command-Line Interface
======================================

.. figure:: figures/os_background.png
   :class: fill
   :width: 100%

How can I use an OpenStack cloud?
=================================

- Using the OpenStack Dashboard

  - Horizon, a web-based graphical interface

- Using Command-Line Clients (CLI)

  - Let users run simple commands to create and manage resources
    in a cloud and automate tasks by using scripts
  - OpenStack Client brings commands in a single shell with a
    uniform command structure

.. note::

    - The official OpenStack programs had its own command-line client.
      These clients are now deprecated in favor of OpenStack Client.
    - For more details on OpenStack Client, see `OpenStack Command-Line
      Interface Reference <http://docs.openstack.org/cli-reference>`_

Install OpenStack command-line clients
======================================

- Most Linux distributions include packaged versions of the Command-Line
  Clients that you can install directly.

    - On Red Hat Enterprise Linux, CentOS, or Fedora, use ``yum``:

      .. code-block:: console

         # yum install python-openstackclient

    * For Ubuntu or Debian, use ``apt``:

      .. code-block:: console

         # apt install python-openstackclient


Install OpenStack command-line clients (cont.)
==============================================

- You can install command-line clients from Python Package Index (on macOS, Linux,
  Microsoft Windows).

    .. code-block:: console

       # pip install python-openstackclient

- Individual clients are deprecated in favor of a common client. Instead
  of installing and learning all these clients, we recommend installing<commit_msg>Add SUSE's zypper example alongside yum and apt<commit_after>======================================
Using OpenStack Command-Line Interface
======================================

.. figure:: figures/os_background.png
   :class: fill
   :width: 100%

How can I use an OpenStack cloud?
=================================

- Using the OpenStack Dashboard

  - Horizon, a web-based graphical interface

- Using Command-Line Clients (CLI)

  - Let users run simple commands to create and manage resources
    in a cloud and automate tasks by using scripts
  - OpenStack Client brings commands in a single shell with a
    uniform command structure

.. note::

    - The official OpenStack programs had its own command-line client.
      These clients are now deprecated in favor of OpenStack Client.
    - For more details on OpenStack Client, see `OpenStack Command-Line
      Interface Reference <http://docs.openstack.org/cli-reference>`_

Install OpenStack command-line clients
======================================

- Most Linux distributions include packaged versions of the Command-Line
  Clients that you can install directly.

    - On Red Hat Enterprise Linux, CentOS, or Fedora, use ``yum``
    - For Ubuntu or Debian, use ``apt``
    - For OpenSUSE or SLES use ``zypper``

      .. code-block:: console

         # yum install python-openstackclient
         # apt install python-openstackclient
         # zypper install python-openstackclient

Install OpenStack command-line clients (cont.)
==============================================

- You can install command-line clients from Python Package Index (on macOS, Linux,
  Microsoft Windows).

    .. code-block:: console

       # pip install python-openstackclient

- Individual clients are deprecated in favor of a common client. Instead
  of installing and learning all these clients, we recommend installing
{'fraction_non_alphanumeric': 0.1622435020519836, 'fraction_numerical': 0.0016415868673050615, 'mean_word_length': 3.754226267880364, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2764609', 'n_tokens_mistral': 912, 'n_tokens_neox': 835, 'n_words': 383}