Skip to content

Getting Started

Step 1: Accessing GitLab Server from your RDP Session

Section titled “Step 1: Accessing GitLab Server from your RDP Session”

Open a new tab in your Chrome browser and click on “Projects GitLab” from the bookmark bar.

GitLab Login

Use the credentials below to log in to GitLab.

username: ciscolive
password: C1sco12345

Once logged in, you will be able to see the “dcloud / Nac Sdwan Example” repository.

GitLab Repo

Step 2: Exploring Git Repository and Contents

Section titled “Step 2: Exploring Git Repository and Contents”

Click on the available repository (dcloud / Nac Sdwan Example) to view the repository contents. In the interest of time, we have pre-staged contents in the repository. Let’s take a closer look at the contents of the repository.

GitLab Repo Contents

We will use the WebIDE to look at the file contents. Click on the “Edit” button to reveal the “Web IDE” option, and then click on it.

GitLab Web IDE

This will open the repository contents inside a web IDE in a different tab.

GitLab Web IDE

Click on the “data” folder in the left navigation menu. You will notice that the folder is empty. This is where the declarative state of the SD-WAN configuration files will be. Once the files are placed in the “data” directory, a pipeline execution will push the configurations to the SD-WAN Manager.

Next, click on the “main.tf” file. Terraform allows the state file to be stored at different locations. For our lab setup, we will store our state file on the GitLab server itself. This is denoted by the configuration line backend "http".

Also, as mentioned above, we are specifying the YAML files in the data directory to be used for configuring the SD-WAN network. This is denoted by the configuration line yaml_directories = ["data"].

GitLab main.tf

Close the previous tab and go back to the initial tab of the GitLab project.

Step 3: View Environment Variables Used in Pipeline Execution

Section titled “Step 3: View Environment Variables Used in Pipeline Execution”

The topology variables and other associated information are stored as variables in the repository under the “Settings > CI/CD > Variables > Expand” section.

CI/CD Section

CI/CD Variables

Reveal CI/CD Variables

Since we have not started managing the SD-WAN infrastructure through Terraform, there should not be any “tfstate file” in the system. Select “Operate > Terraform State”.

Terraform State Empty

Open a new Chrome tab and click on the “Cisco SD-WAN” URL from

Use the credentials below to log in to SD-WAN.

username: sdwan
password: C1sco12345

SD-WAN Login

vManage Credentials

vManage IP198.18.1.100
Usernamesdwan
PasswordC1sco12345

SD-WAN Page1