YumaWorks-logo

YumaWorks YANG-Based Unified Modular Automation Tools

YumaWorks YANG-Based Unified Modular Automation Tools-fig1

Selelekela

Litlaleho tsa Molao
Copyright 2017-2022, YumaWorks, Inc., Litokelo Tsohle Li Sirelelitsoe.

Lisebelisoa tse Eketsehileng

Litokomane tse ling li kenyelletsa:

  • Tataiso ea ho kenya YumaPro
  • YumaPro Quickstart Guide
  • YumaPro API Quickstart Guide
  • Buka ea mosebelisi ea YumaPro
  • Buka ea YumaPro netconfd-pro
  • YumaPro yangcli-pro Manual
  • YumaPro yangdiff-pro Manual
  • YumaPro yangdump-pro Manual
  • Buka ea YumaPro Developer
  • Buka ea YumaPro ypclient-pro
  • YumaPro yp-system API Guide
  • YumaPro yp-show API Guide
  • Buka ea YumaPro yp-snmp
    Ho fumana tšehetso e eketsehileng u ka ikopanya le lefapha la tšehetso ea tekheniki ea YumaWorks: support@yumaworks.com

WEB Libaka

Manane a Mengolo

Likopano Tse Sebelisitsoeng Tokomaneng ena
Litumellano tse latelang tsa ho fometa li sebelisoa ho pholletsa le tokomane ena:

Likopano tsa Litokomane

Kopano Tlhaloso
–foo CLI parameter foo
XML parameter foo
mongolo o itseng Example taelo kapa PDU
mongolo o itseng Mongolo o hlakileng

Bamameli ba Reriloeng
Tokomane ena e etselitsoe baetsi ba lisebelisoa ba sebelisang YumaPro SDK le seva ea liprothokhole tse ngata ho li-platform tse kentsoeng tsa Linux ka ho sebelisa Yocto Project le litlolo tsa eona tsa BitBake. E akaretsa seta le mehato ea mantlha e hlokahalang ho aha software. 'Mali o lokela ho tloaelana le Morero oa Yocto.

Selelekela

  • Sistimi ea nts'etsopele ea Yocto Linux e lumella mefuta e fapaneng ea Linux hore e thehoe ka mokhoa o ikemetseng, o laoloang. Leqephe la Lehae la Yocto: https://www.yoctoproject.org/
  • Tlhahisoleseding ea nako ea ho aha le ea nako ea ho matha e hlokahalang ho aha sethala sa Linux kaofela bakeng sa sistimi e kentsoeng e laoloa e le metadata kahare ho Yocto.
  • OpenEmbedded Home Leqephe: https://www.openembedded.org/wiki/Main_Page
  • Likarolo tsa Yocto Tse tšehelitsoeng ke Seva ea YumaPro:
    • Etsafiles li nchafalitsoe ho tšehetsa ka botlalo mefuta e fapaneng ea tikoloho ea bitbake bakeng sa tšebeliso ea li-cross-compiler
    • khokahano ea seva ea dropbear SSH
    • OpenSSH SSH khokahano ea seva
    • kopanyo ea modemona ea tsamaiso
    • lighttpd WEB kopanyo ea seva
    • kopanyo ea net-snmp bakeng sa tšehetso ea protocol ea SNMP
    • motheo-files kopanyo bakeng sa kopanyo ea yp-shell le tsamaiso ea basebelisi

Phetolelo ena ea pele ea sephutheloana sa YumaPro bakeng sa Yocto Linux e tšehetsa mofuta oa 2.3 (Pyro) oa sistimi ea ntlafatso ea Yocto Linux. Recipe "core-image-minimal" e sebelisoa e le motheo oa ho kopanya seva sa YumaPro.
Seva e felletseng ea YumaPro e ka haheloa Yocto Linux ho fana ka li-interface tsa NETCONF tse thehiloeng ho YANG, RESTCONF, SNMP, le CLI.

Ts'ebetso ea YumaPro e hlalositsoe ka har'a sekhahla se bitsoang "meta-yumapro". Ho na le mefuta e 'meli (e bitsoang diresepe) ea seva e tšehelitsoeng ka nako ena:

  • netconfd-pro-iot: Seva ea li-platform tsa IoT, tse thehiloeng ho yumapro-core source tarball
  • netconfd-pro-sdn: Seva ea li-platform tsa SDN, tse thehiloeng ho yumapro-server mohloli oa tarball

Li-recipe tsena li ka hlophisoa ha ho hlokahala. Ho lebeletsoe hore liphutheloana tse khethehileng tsa tšehetso ea boto (BSPs) li tla khethoa ke morekisi ho latela litlhoko tsa morero. Sephutheloana sa meta-yumapro se na le litlolo le lintlha tse ling files ho lumella setšoantšo sa motsoako oa Yocto hore se thehoe. Tsohle etsafiles li nchafalitsoe e le hore mefuta e fapaneng e sebelisoang ke bitbake e tšehetsoe bakeng sa nts'etsopele e nepahetseng ea ho kopanya.

IoT vs. SDN Recipe Diphapang

Ho na le ex tse peliample li-recipe tsa seva li fanoe. Tsena li ka sebelisoa ka kotloloho kapa tsa fetoloa hore li sebelisoe tikolohong ea kaho ea yocto. Tafole e latelang e akaretsa liphapang lipakeng tsa liresepe tsena.

Sebopeho netconfd-pro-iot netconfd-pro-sdn
Seva ea SSH bakeng sa NETCONF le yp- shell dropbear openssh
WEB Seva ea RESTCONF lighttpd lighttpd
YControl Protocol Ha e Tšehetsoe E tšehelitsoe
DB-API Protocol Ha e Tšehetsoe E tšehelitsoe
SIL-SA Protocol Ha e Tšehetsoe E tšehelitsoe
YP-HA Protocol Ha e Tšehetsoe E tšehelitsoe
Mohaho o tsitsitseng E tšehelitsoe Ha e Tšehetsoe

Yocto Build Host Software

  • Lisebelisoa tsa ho haha ​​​​moamoheli li hloka ho hlophisoa pele seva e ka hahuoa.
  • Lera la yumapro le etselitsoe ho sebetsa le tokollo ea Yocto 2.3 (Pyro) kapa hamorao.
  • Makala a "pyro" le "master" a morero oa Poky a lekoa ka lera la meta-yumapro.
  • Setšoantšo se latelang se bontša li-directory tseo mosebedisi a lebelletsoeng ho li hlophisa (ka boputsoa) le li-directory tseo software e fanoeng e tla li kenya.YumaWorks YANG-Based Unified Modular Automation Tools-fig2
    Directory Tlhaloso
    poki Ho kenya Yocto ea sistimi ea poky build
    haha Motso oa li-directory tsohle tsa kaho
    conf Theha lethathamo la litlhophiso. Fetola local.conf le blayer.conf
    tmp Motso oa li-bitbake tsohle tse hlahisitsoeng files
    meta-* Likhokahano tse 'maloa tsa opensource layer
    meta-yumapro Motso oa yumapro layer bitbake files
    diresepe-seva Root directory bakeng sa diresepe tsohle tsa yumapro server
    netconfd-pro Lenane la metso ea litlolo tsohle tsa netconfd-pro (IoT le SDN)

     

Li-recipe tsa netconfd-pro-iot le netconfd-pro-sdn li etselitsoe ho hokahana le litlolo tse ling tse bulehileng tsa mohloli, e le hore li hlahise setšoantšo sa sistimi ka sistimi e sebetsang, holim'a boot ea pele. Litlolo tse latelang li sebelisoa ke li-recipe tsa seva sa yumapro:

  • motheo-files: E sebelisoa ho kenyelletsa yp-shell ho /etc/shells
  • dropbear: E sebelisoa ho kopanya tšehetso ea netconfd-pro-iot ho dropbear le ho hlophisa liparamente tsa nako ea boot.
  • openssh: E sebelisetsoa ho hlophisa liparamente tsa nako ea boot-pro-sdn ho OpenSSH
  • lighttpd: E sebelisetsoa ho lokisa li-parameter tsa nako ea boot-time tsa RESTCONF bakeng sa lighttpd WEB seva
  •  net-snmp: E sebelisetsoa ho kopanya tšehetso ea protocol ea SNMP le ho hlophisa liparamente tsa SNMP tsa nako ea boot.

Kenya Yocto Linux

Litaelo tsena ha li tlole litokomane tsa Yocto.
Tokomane ena ha se thuto ea yocto. Sheba litokomane tsa Yocto bakeng sa lintlha tse mabapi le ho sebelisa software ea Yocto le bitbake.

Kenya Yocto

Latela litaelo tse ho tataiso ea Yocto Quick Start. Example Ubuntu Install.

YumaWorks YANG-Based Unified Modular Automation Tools-fig3

Seta Mohaho oa Configuration
Ho qala bukeng ea 'poky', hlahisa tikoloho file ho etsa hore bitbake. Ebe u kenya cd bukeng ea "conf" ebe u hlophisa tlhophiso files.

YumaWorks YANG-Based Unified Modular Automation Tools-fig4

Fetola local.conf:

  1. Lumella sethala seo u batlang ho se etsa. Ntho e sa fetoheng ke ea meralo ea i586 ho qemu86 virtual target. Sheba tataiso ea Yocto Quick Start ho thusa lipehelo tse fapaneng le liphutheloana tsa tšehetso tsa boto (BSPs).
  2. Kenya risepe ea seva ea netconfd-pro setšoantšong. Khetha netconfd-pro-iot kapa netconfd-pro-sdn, empa eseng ka bobeli. Example bakeng sa netconfd-pro-sdn:YumaWorks YANG-Based Unified Modular Automation Tools-fig5

Fetola bblayers.conf:

Numella likarolo tse hlokahalang ho aha mefuta e lakatsehang ea sistimi ea Yocto Linux. E latelang exampLe e bonts'a likarolo tse hlokahalang bakeng sa mefuta eohle ea seva ea netconfd-pro. The file libaka li tla fapana ho latela sebaka sa hau sa ho kenya Yocto.

YumaWorks YANG-Based Unified Modular Automation Tools-fig6

Lera la meta-yumapro
Meta-yumapro tarball e na le "yumapro" lera files e hlokehang ho aha, ho kenya, le ho kopanya seva ea liprothokhole tse ngata bakeng sa Yocto Linux.

Ho kenya

Likopano tsa ho reha lebitso la Tarball
The filesebopeho sa lebitso la tarball file ke ka tsela e latelang:

YumaWorks YANG-Based Unified Modular Automation Tools-fig7

Ntša ho Poky Directory
The files e hloka ho ntšoa bukeng ea poky e le hore li-subtrees li ka kopanngoa le tikoloho ea kaho bakeng sa seva.
Khōlo ExampLe:

YumaWorks YANG-Based Unified Modular Automation Tools-fig8

Tlhophiso
Litlhahiso feela tse tšehetsoeng ka nako ena ke "netconfd-pro-iot" le "netconfd-pro-sdn". Tlhophiso files bakeng sa litlolo tsena li fumaneha bukeng ea poky/meta-yumapro/recipes-server/netconfd-pro. Ho na le likarolo tse 'maloa tse ka lumelloang kapa tsa emisoa ka ho fana ka maikutlo kapa ho fana ka maikutlo lethathamong la litaelo. Sehlopha sa recipe files:

  • netconfd-pro.inc: risepe e tloaelehileng file
  • netconfd-pro-iot.inc: Recipe ea tlhophiso ea IoT file
  • netconfd-pro-sdn.inc: Recipe ea tlhophiso ea SDN file
  •  netconfd-pro-iot_17.10.bb: Recipe ea mantlha ea tlhophiso ea IoT file bakeng sa 17.10 ho lokolloa terene
  • netconfd-pro-sdn_17.10.bb: Recipe ea mantlha ea tlhophiso ea SDN file bakeng sa 17.10 ho lokolloa terene

Litokomane / Lisebelisoa

YumaWorks YANG-Based Unified Modular Automation Tools [pdf] Bukana ea Mosebelisi
Thehiloe ho YANG-Based, Unified Modular Automation Tools, Unified Modular, Automation Tools

Litšupiso

Tlohela maikutlo

Aterese ea hau ea lengolo-tsoibila e ke ke ea phatlalatsoa. Libaka tse hlokahalang li tšoailoe *