Netopeer代替netconf真实交换机设备

netopeer netconf server instead of a real device

文章是作者调研NETCONF使用的原创笔记

Docker部署应用(debian8 Jessie)

https://docs.docker.com/engine/installation/linux/debian/

  1. Purge any older repositories
    apt-get purge "lxc-docker*"
    apt-get purge "docker.io*"

  2. Update package information, ensure that APT works with the https method, and that CA certificates are installed.
    apt-get update
    apt-get install apt-transport-https ca-certificates

  3. Add the new GPG key
    apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D

  4. Edit /etc/apt/sources.list.d/docker.list

vim /etc/apt/sources.list.d/docker.list
deb https://apt.dockerproject.org/repo debian-jessie main
  1. Update the APT package index
    apt-get update

  2. Verify that APT is pulling from the right repository.
    apt-cache policy docker-engine

  3. Install Docker
    apt-get uodate
    apt-get install docker-engine

  4. Verify
    service docker start
    docker run hello-world

Run netopper

https://wiki.opendaylight.org/view/OpenDaylight_Controller:Config:Examples:Netconf#Configuring_Netconf_client_with_yangcli-pro
docker run --rm -t -p 1831:830 dockeruser/netopeer

Confirm
ssh root@localhost -p 1831 -s netconf

下篇将会讲解如何使用ODL连接netconf设备

你可能感兴趣的:(netconf,ODL)