Netopeer代替netconf真实交换机设备

    xiaoxiao2023-03-25  7

    netopeer netconf server instead of a real device

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

    Docker部署应用(debian8 Jessie)

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

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

    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

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

    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

    Update the APT package index apt-get update

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

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

    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设备

    转载请注明原文地址: https://ju.6miu.com/read-1203644.html
    最新回复(0)