Skip to content

Commit

Permalink
Replacing reference from nuv to ops (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
francescotimperi authored Oct 29, 2024
1 parent 7174122 commit 9370d06
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions content/en/docs/installation/prereq/docker/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ install and configure if you have:
### Windows

You require the 64 bit edition in Intel Architecture of a recent version
of Windows (at least version 10). The installer `nuv` does not run on 32
of Windows (at least version 10). The installer `ops` does not run on 32
bit versions nor in the ARM architecture.

Download and install [Docker
Expand All @@ -39,7 +39,7 @@ installation.
### MacOS

You require a recent version of MacOS (at least version 11.xb BigSur).
The installer `nuv` is available both for Intel and ARM.
The installer `ops` is available both for Intel and ARM.

Download and install [Docker
Desktop](https://www.docker.com/products/docker-desktop/) for MacOS.
Expand Down
26 changes: 13 additions & 13 deletions content/en/docs/reference/references/advanced-cli/_index.md
Original file line number Diff line number Diff line change
@@ -1,41 +1,41 @@
---
title: Advanced CLI
---
# Nuvolaris CLI
# OpenServerless CLI

Nuvolaris offers a powerful command line interface named `nuv` which
OpenServerless offers a powerful command line interface named `ops` which
extends and embeds the OpenWhisk `wsk`.

You can download it from [here](#installation:download.adoc).

We can see here some advanced uses of `nuv`.
We can see here some advanced uses of `ops`.

Nuvolaris access is usually configure logging into it with the
`nuv -login`.
OpenServerless access is usually configure logging into it with the
`ops -login`.

You can also configure access directly using the `nuv -wsk` command.
You can also configure access directly using the `ops -wsk` command.

There are two required properties to configure:

1. **API host** (name or IP address) for the OpenWhisk and Nuvolaris
1. **API host** (name or IP address) for the OpenWhisk and OpenServerless
deployment you want to use.

2. **Authorization key** (username and password) which grants you
access to the OpenWhisk and Nuvolaris API.

The API host ia the installationj host, the one you configure in
installation with `nuv config apihost`
installation with `ops config apihost`

nuv -wsk property set --apihost <openwhisk_baseurl>
ops -wsk property set --apihost <openwhisk_baseurl>

If you know your authorization key, you can configure the CLI to use it.
Otherwise, you will need to obtain an authorization key for most CLI
operations. The API key is visible in the file `~/.wskprops` after you
perform a `nuv -login`. This file can be sourced to be read as
perform a `ops -login`. This file can be sourced to be read as
environment variables.

source ~/.wskprops
nuv -wsk property set --auth $AUTH
ops -wsk property set --auth $AUTH

**Tip:** The OpenWhisk and Nuvolaris CLI stores properties in the
`~/.wskprops` configuration file by default. The location of this file
Expand All @@ -48,7 +48,7 @@ The required properties described above have the following keys in the

- **AUTH** - Required key for the Authorization key.

To verify your CLI setup, try `nuv action list`.
To verify your CLI setup, try `ops action list`.

## Configure the CLI to use an HTTPS proxy

Expand All @@ -64,4 +64,4 @@ provides default client certificate configuration which deployment
process generated, then you can refer to below steps to use client
certificate:

nuv -wsk property set --cert <client_cert_path> --key <client_key_path>
ops -wsk property set --cert <client_cert_path> --key <client_key_path>

0 comments on commit 9370d06

Please sign in to comment.