YumaWorks-logo

YumaWorks YANG-Based Unified Modular Automation Tools

YumaWorks YANG-Based Unified Modular Automation Tools-fig1

Pasiuna

Mga Pahayag nga Ligal
Copyright 2017-2022, YumaWorks, Inc., Gireserba ang Tanang Katungod.

Dugang nga mga Kapanguhaan

Ang ubang mga dokumentasyon naglakip sa:

  • Giya sa Pag-install sa YumaPro
  • YumaPro Quickstart nga Giya
  • YumaPro API Quickstart Guide
  • YumaPro User Manual
  • YumaPro netconfd-pro Manwal
  • YumaPro yangcli-pro Manwal
  • YumaPro yangdiff-pro Manwal
  • YumaPro yangdump-pro Manwal
  • YumaPro Developer Manwal
  • YumaPro ypcclient-pro Manwal
  • YumaPro yp-system API Giya
  • YumaPro yp-show API Guide
  • YumaPro yp-snmp Manwal
    Aron makakuha og dugang nga suporta mahimo nimong kontakon ang departamento sa teknikal nga suporta sa YumaWorks: support@yumaworks.com

WEB Mga dapit

Mga Listahan sa Mailing

Mga Kombensiyon nga Gigamit Niini nga Dokumento
Ang mosunod nga mga kombensiyon sa pag-format gigamit sa tibuok niini nga dokumento:

Mga Kombensiyon sa Dokumentasyon

Kombensiyon Deskripsyon
-foo CLI parameter foo
XML parameter fo
pipila ka text Example command o PDU
pipila ka text Plain nga teksto

Gituyo nga Mamiminaw
Kini nga dokumento gituyo alang sa mga software developers gamit ang YumaPro SDK ug multi-protocol server sa custom embedded Linux platforms pinaagi sa paggamit sa Yocto Project ug sa mga BitBake recipes niini. Gisakup niini ang pag-setup ug sukaranan nga mga lakang nga gikinahanglan aron matukod ang software. Ang magbabasa kinahanglan nga pamilyar sa Yocto Project.

Pasiuna

  • Ang sistema sa pagpalambo sa Yocto Linux nagtugot sa custom nga mga variant sa Linux nga mahimo sa usa ka awtomatiko, kontrolado nga paagi. Panimalay sa Yocto: https://www.yoctoproject.org/
  • Ang impormasyon sa build-time ug run-time nga gikinahanglan sa pagtukod sa tibuok Linux nga plataporma alang sa usa ka embedded system gidumala isip metadata sulod sa Yocto.
  • OpenEmbedded nga Panimalay: https://www.openembedded.org/wiki/Main_Page
  • Mga Feature sa Yocto nga Gisuportahan sa YumaPro Server:
    • Paghimofiles na-update aron hingpit nga suportahan ang bitbake environment variables alang sa cross-compiler nga paggamit
    • dropbear SSH server integration
    • openSSH SSH server integration
    • sistema deamon integration
    • lighttpd WEB panagsama sa server
    • net-snmp integration alang sa SNMP protocol nga suporta
    • base-files integration para sa yp-shell integration ug user management

Kining preliminary nga bersyon sa YumaPro para sa Yocto Linux package nagsuporta sa bersyon 2.3 (Pyro) sa Yocto Linux development system. Ang resipe nga "core-image-minimal" gigamit ingon nga sukaranan alang sa YumaPro server integration.
Ang kompleto nga server sa YumaPro mahimong matukod alang sa Yocto Linux aron mahatagan ang mga interface sa pagdumala nga nakabase sa YANG NETCONF, RESTCONF, SNMP, ug CLI.

Ang YumaPro functionality gipiho sa usa ka layer nga ginganlag "meta-yumapro". Adunay duha ka mga variant (gitawag nga mga resipe) sa server nga gisuportahan niining panahona:

  • netconfd-pro-iot: Server alang sa IoT platform, base sa yumapro-core source tarball
  • netconfd-pro-sdn: Server para sa mga platform sa SDN, base sa yumapro-server source tarball

Kini nga mga resipe mahimong ipasibo kung gikinahanglan. Gilauman nga ang piho nga board support packages (BSPs) mapili sa usa ka vendor sumala sa mga kinahanglanon sa proyekto. Ang meta-yumapro nga pakete naglangkob sa mga resipe ug uban pang datos files aron tugutan ang usa ka Yocto cross-compile nga imahe nga mahimo. Ang tanan naghimofiles gi-update aron ang mga variable nga gigamit sa bitbake gisuportahan alang sa husto nga pag-uswag sa cross-compile.

IoT vs. SDN Mga Kalahian sa Resipe

Adunay duha ka exampAng mga resipe sa server gihatag. Mahimo kining gamiton direkta o ipahiangay alang sa paggamit sa usa ka palibot sa pagtukod sa yocto. Ang mosunod nga lamesa nagsumaryo sa mga kalainan tali niini nga mga resipe.

Feature netconfd-pro-iot netconfd-pro-sdn
SSH Server para sa NETCONF ug yp-shell dropbear openssh
WEB Server para sa RESTCONF lighttpd lighttpd
YControl Protocol Dili Gisuportahan Gisuportahan
DB-API Protocol Dili Gisuportahan Gisuportahan
SIL-SA Protocol Dili Gisuportahan Gisuportahan
YP-HA Protocol Dili Gisuportahan Gisuportahan
Static nga Pagtukod Gisuportahan Dili Gisuportahan

Yocto Build Host Software

  • Kinahanglang i-setup ang build host tools sa dili pa matukod ang server.
  • Ang yumapro layer gidesinyo sa pagtrabaho uban sa Yocto 2.3 release (Pyro) o sa ulahi.
  • Ang "pyro" ug "master" nga mga sanga sa Poky nga proyekto gisulayan sa meta-yumapro layer.
  • Ang mosunod nga diagram nagpakita sa mga direktoryo nga gilauman nga i-setup sa user (sa asul) ug ang mga direktoryo nga idugang sa gihatag nga software.YumaWorks YANG-Based Unified Modular Automation Tools-fig2
    Direktoryo Deskripsyon
    pungot Ang pag-instalar sa Yocto sa poky build system
    pagtukod Gamut sa tanan nga mga direktoryo sa pagtukod
    conf Paghimo og direktoryo sa pag-configure. I-edit ang local.conf ug bblayers.conf
    tmp Gamut sa tanan nga bitbake nga namugna nga pagtukod files
    meta-* Daghang opensource layer nga mga direktoryo
    meta-yumapro Gamut sa yumapro layer bitbake files
    mga resipe-server Direktoryo sa gamut alang sa tanan nga mga resipe sa server sa yumapro
    netconfd-pro Direktoryo sa gamut sa tanan nga mga resipe sa netconfd-pro (IoT ug SDN)

     

Ang netconfd-pro-iot ug netconfd-pro-sdn nga mga resipe gilaraw aron i-integrate sa pipila ka open source nga mga resipe, aron awtomatik nga makahimo og imahe sa sistema nga adunay nagdagan nga sistema, sa unang boot. Ang mosunod nga mga resipe gigamit sa yumapro server nga mga resipe:

  • base-files: Gigamit aron idugang ang yp-shell sa /etc/shells
  • dropbear: Gigamit aron i-integrate ang suporta sa netconfd-pro-iot ngadto sa dropbear ug i-configure ang mga parameter sa boot-time
  • openssh: Gigamit sa pag-configure sa netconfd-pro-sdn boot-time nga mga parameter ngadto sa OpenSSH
  • lighttpd: Gigamit sa pag-configure sa RESTCONF server boot-time nga mga parameter para sa lighttpd WEB server
  •  net-snmp: Gigamit sa pag-integrate sa suporta sa SNMP protocol ug pag-configure sa mga parameter sa SNMP sa boot-time

I-setup ang Yocto Linux

Kini nga mga panudlo wala mag-override sa dokumentasyon sa Yocto.
Kini nga dokumento dili usa ka yocto tutorial. Tan-awa ang Yocto nga dokumentasyon para sa mga detalye sa paggamit sa Yocto ug bitbake software.

I-install ang Yocto

Sunda ang mga instruksyon sa Yocto Quick Start guide. Exampsa Ubuntu Install.

YumaWorks YANG-Based Unified Modular Automation Tools-fig3

Setup Build Configuration
Sugod sa 'poky' nga direktoryo, gigikanan ang palibot file aron mahimo ang bitbake. Dayon cd ngadto sa "conf" nga direktoryo ug usba ang configuration files.

YumaWorks YANG-Based Unified Modular Automation Tools-fig4

I-edit ang local.conf:

  1. I-enable ang usa ka target nga plataporma. Ang default mao ang i586 nga arkitektura sa qemu86 virtual nga target. Tan-awa ang Yocto Quick start guide aron mahimo ang lain-laing mga target ug board support packages (BSPs).
  2. Idugang ang resipe sa netconfd-pro server sa imahe. Pilia ang netconfd-pro-iot o netconfd-pro-sdn, apan dili pareho. Exampalang sa netconfd-pro-sdn:YumaWorks YANG-Based Unified Modular Automation Tools-fig5

I-edit ang bblayers.conf:

I-enable ang mga layer nga gikinahanglan aron matukod ang gusto nga Yocto Linux system variants. Ang mosunod nga example nagpakita sa mga lut-od nga gikinahanglan para sa tanang variant sa netconfd-pro server. Ang file Ang mga lokasyon magkalainlain depende sa imong lokasyon sa pag-install sa Yocto.

YumaWorks YANG-Based Unified Modular Automation Tools-fig6

meta-yumapro Layer
Ang meta-yumapro tarball adunay layer nga "yumapro". files gikinahanglan sa pagtukod, pag-instalar, ug pag-integrate sa multi-protocol server para sa Yocto Linux.

Pag-instalar

Mga Kombensiyon sa Pagngalan sa Tarball
Ang filengalan nga istruktura sa tarball file mao ang mosunod:

YumaWorks YANG-Based Unified Modular Automation Tools-fig7

I-extract sa poky nga Direktoryo
Ang files kinahanglan nga makuha sa poky nga direktoryo aron ang mga subtree mahimong i-integrate sa build environment alang sa server.
Pagkuha Example:

YumaWorks YANG-Based Unified Modular Automation Tools-fig8

Pag-configure
Ang mga resipe lamang nga gisuportahan niining panahona mao ang "netconfd-pro-iot" ug "netconfd-pro-sdn". Ang configuration files alang niini nga mga resipe nahimutang sa direktoryo nga poky/meta-yumapro/recipes-server/netconfd-pro. Adunay daghang mga bahin nga mahimong ma-enable o ma-disable pinaagi sa pag-uncomment o pagkomento sa usa ka set sa mga direktiba. Ang set sa resipe files:

  • netconfd-pro.inc: komon nga resipe file
  • netconfd-pro-iot.inc: resipe sa pagsumpo sa IoT file
  • netconfd-pro-sdn.inc: Recipe sa configuration sa SDN file
  •  netconfd-pro-iot_17.10.bb: Ang panguna nga resipe sa pag-configure sa IoT file alang sa 17.10 nga pagpagawas sa tren
  • netconfd-pro-sdn_17.10.bb: Pangunang resipe sa configuration sa SDN file alang sa 17.10 nga pagpagawas sa tren

Mga Dokumento / Mga Kapanguhaan

YumaWorks YANG-Based Unified Modular Automation Tools [pdf] Giya sa Gumagamit
Gibase sa YANG, Unified Modular Automation Tools, Unified Modular, Automation Tools

Mga pakisayran

Pagbilin ug komento

Ang imong email address dili mamantala. Ang gikinahanglan nga mga natad gimarkahan *