Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Install cPCE and cPCEPAdaptor Using Docker

SUMMARY 

Install and Verify Docker

Install and configure Docker on Linux host platform to implement the Linux container environment, see Install Docker for installation instructions on the supported Linux host operating systems.

Verify the Docker installation.

To install the latest Docker:

Log in and download the software.

root@ubuntu-vm18:~# curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

root@ubuntu-vm18:~# add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"

root@ubuntu-vm18:~# apt update

root@ubuntu-vm18:~# apt install docker-ce

Download Software

The cPCE and cPCEPAdaptor software is available as a Docker file from the Juniper software download page.

Before you import the software, ensure that Docker is installed on the Linux host and that the Docker Engine is running.

After you install the Docker Engine on the host, perform the following to download and start using the cPCE image:

To download the software:

  1. Download the cRPD software image from the Juniper Networks website.
  2. Load the downloaded docker image on the local Linux host where docker is installed.
    root@ubuntu-vm18# docker load -i junos-routing-crpd-docker-amd64-23.2R1.13.tgz
  3. Verify the cPCE image in docker image repository.

    root@ubuntu-vm18# docker images

  4. Download the PCEP adaptor software image from the Juniper Networks website.
  5. Load the downloaded docker image on the local Linux host where docker is installed.
    root@ubuntu-vm18# docker load -i junos-cpcep-adaptor-docker-amd64-23.2R1.9.tgz
  6. Verify the cpcepadaptor image in docker image repository.

    root@ubuntu-vm18# docker images

Create cPCE

To create cPCE:

  1. Run the command to launch cRPD-cpce instance:

    root@ubuntu-vm18:~# docker run --name cRPD-cpce -d --privileged -p 179:179 crpd:23.2R1.13

  2. Log in to docker console.

    root@ubuntu-vm18:~# docker exec -it cRPD-cpce /bin/bash

  3. Enter into configuration mode.

    root@cRPD-cpce:/# cli

    root@cRPD-cpce> configure

Create cPCEPAdaptor

To create cPCEPAdaptor:

  1. Run the command to launch cPCEPAdaptor:

    root@ubuntu-vm18:~# docker run --name CPCE1-pcepAdaptor -d --privileged -p 4189:4189 cpcepadaptor:23.2R1.9

  2. Log in to the cPCEPAdaptor container using CLI.

    root@ubuntu-vm18:~# docker exec -it CPCE1-pcepAdaptor /bin/bash

  3. Enter into configuration mode.

    root@CPCE1-pcepAdaptor:/# cli

    root@CPCE1-pcepAdaptor> configure