Testing Configuration Manager

Here are some ways to test Configuration Manager:

  • Type the help command, and you are presented with a list of available commands as shown below:

If you type help <command> you will see a description of the parameters for that specific command. In the example below, you can see the details for the  pull command. e.g. help pull

Note: Some commands are only available at specific stages. For example you can open a new change request at any time, but you would need to have a change request opened in order to perform a pull.

Test Configuration Manager by making a change

For example by adding an Object to your target environment. In this example we will add an Action to the target environment.

To do this follow these steps:

1) Type open --source <name_of_source_envirmoment>--target < name_of_target_environment >

2) Type list --environment source --type action (This will list all Actions in the source environment)

3) Type list --type action -–environment target (This will list all Actions in the target)

4) Add a new Action to the source environment using the Ooyala Flex Console UI.

5) Type pull -–type action -–uuid <uuid_of_newly_created_Action>The UUID can be found in the Object Details section for the Action you have just created.

6) Type the add command.

7) Type the commit command.

8) Configuration Manager will inform you that "The changes are ready to commit and you cannot roll them back once applied. Are you sure? <Y,N>"

9) Type Y and push the Enter key to confirm the commit.

10) Finally, check that the new Action has been deployed to the target environment with same UUID.

Auto-complete

Configuration Manager supports auto-completion. In order to use auto-complete, start typing your desired command. Then, simply press Tab+Tab and a list of commands that match will be displayed. You can then select the desired command from the list. Auto-complete simply helps you save time when entering commands.

In the example below, you can see the list of options that appear if you press Tab + Tab while entering the list command:

Note: You can also bring up, and cycle through any previously entered commands by pressing the Up and Down arrow keys. Then, when you have found the command you wish to use, you can execute it by pressing the Enter key.

Was this article helpful?