美文网首页思科ACI
思科ACI2016 NX-OS可编程实验二

思科ACI2016 NX-OS可编程实验二

作者: taoza | 来源:发表于2016-01-28 00:12 被阅读200次

    2016.01.27
    这两天,又听说了很多新的工具,技术,方法, 思路。认识了很多SEs。

    总结一下:

    1. Cisco EASy.
      http://www.cisco.com/c/en/us/products/ios-nx-os-software/embedded-automation-systems/index.html
      Cisco Embedded Automation Systems, 思科产品里面支持网络自动化的一些工具,和功能 。

    2. Paramiko
      http://www.paramiko.org/index.html
      Paramiko is a Python (2.6+, 3.3+) implementation of the SSHv2[protocol (http://www.paramiko.org/index.html#id2), providing both client and server functionality.
      是个支持Python 的SSL库?有时间试试。

    3. Interface to the Routing System (i2rs) , 以前都没听说过,好像前景也未知。大家自己去Google 吧。


      Jabber,有亮点呀!
    4. CRUD using HTTP , 真简单。RESTful APIs. 创建,读取, 更新,删除。还有可能S, 检索。https://en.wikipedia.org/wiki/Create,_read,_update_and_delete
      POST, GET, PUT, DELETE ?
      http://www.restapitutorial.com/lessons/httpmethods.html

      CRUD-PGPD
    5. JSON-RPC, Like REST but Different, 相似但不同。和而不同?
      https://segmentfault.com/q/1010000001640745
      http://www.wjxfpf.com/2015/10/801437.html

    6. ACI API REST API . 够绕嘴的。
      APIC 提供的API 接口。北向,南向接口。RESTAPI 是北向接口。集成到高级的管理平台里面。南向接口是指,APIC 控制其他网络设备的接口。

    7. ACI 工具包。ACI toolKit. 有包裹了一层,呵呵。
      from acitoolkit import *
      from credentials import *
      理论上,ACI 图形界面能做的,ACI ToolKit 都可以做,但是,实际情况不是这样。很多图形界面,我们的用户还不是很专业的。
      http://acitoolkit.readthedocs.org/en/latest/tutorialsetup.html#install
      如何安装ACI toolkit.

    8. EPC Embedded packet Capture (EPC).
      router#monitor capture buffer capbuf size 512 max-size 1518 circular
      循环使用,也可以按时间,抓包数量等。比以前灵活了。
      #monitor capture point start cappnt
      可以使用EEM来停止 Capture.
      http://www.cisco.com/c/en/us/products/collateral/ios-nx-os-software/ios-embedded-packet-capture/datasheet_c78-502727.html
      http://www.cisco.com/c/en/us/support/docs/ios-nx-os-software/ios-embedded-packet-capture/116045-productconfig-epc-00.html
      Embedded Packet Capture for Cisco IOS and IOS-XE Configuration Example
      http://www.thepacket.biz/epc/

    9. NX-OS 是否支持 EPC?
      http://www.netcraftsmen.com/cisco-device-packet-capture/
      NX-OS 上面有Ethanalyzer.
      http://d2zmdbbm9feqrf.cloudfront.net/2013/usa/pdf/BRKARC-2011.pdf
      上面的PDF文件很好。

    10. Guestshell on NXOS
      https://supportforums.cisco.com/discussion/12237331/root-password-bash-shell-nexus-9000 有意思。

    如何在guestshell里面访问超级权限
    https://tools.cisco.com/bugsearch/bug/CSCuo02567
    新的NXOS CLI 和Guestshell之间互相调用,执行命令。
    guestshell:/sbin$ dohost "show ver"
    也可以在CLI 下,执行Guestshell 命令。
    $doshot "show ver"
    从Guestshell执行 NXOS CLI命令

    #guestshell run ls -al


    从NXOS CLI 访问GuestShell command.

    EEM 和 Guest Shell 联合使用,做更多的网络管理功能和自动化功能。

    11Python 命令。
    http://my.oschina.net/renwofei423/blog/17403
    Python执行系统命令的方法 os.system(),os.popen()
    http://blog.csdn.net/caianye/article/details/6437507

    12.NXAPI


    NXAPI Developer Sandbox界面

    13.MDP , Model Driven Programmbility
    http://techfieldday.com/video/model-driven-apis-and-programmability-in-cisco-ios-xr/
    https://opennxos.cisco.com/static/nexus/getting_started/programmability/chapters/model_driven_programming1901.xhtml

    14.GitHub on Windows PC.


    Git Desktop on Windows7 使用浏览器访问Github.

    15.UCSD和ACI的集成
    https://communities.cisco.com/docs/DOC-56733
    http://d2zmdbbm9feqrf.cloudfront.net/2014/usa/pdf/BRKACI-2410.pdf
    最后总结, 其实20年来,思科产品用的大都是CLI命令行配置产品,而今后,这种方式越来越不适应网络的管理,部署,维护,升级了。

    所以,必须改变。

    相关文章

      网友评论

        本文标题:思科ACI2016 NX-OS可编程实验二

        本文链接:https://www.haomeiwen.com/subject/yqidkttx.html