• centos下搭建openstack的环境


    一、准备环境

    linux (centos 7.2(C300的虚机) )

    java1.8

    官网下载tar包

    安装前设置环境变量

    JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk
    CLASSPATH=.:$JAVA_HOME/lib/tools.jar
    PATH=$JAVA_HOME/bin:$PATH
    JVM_OPTS="-Xms256m -XX:PermSize=256m -XX:MaxPermSize=512m"
    MAVEN_OPTS="$MAVEN_OPTS -Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m"
    export MAVEN_OPTS JAVA_HOME CLASSPATH JVM_OPTS PATH

    执行./karaf 会有如下显示,表示启动成功

    与openstack对接

     命令行

    list查看安装的包

    feature:list 查看所有安装的feature,其中与北向接口相关的为:

    feature:list list (Lists all existing features available from the defined repositories)
    feature:list | grep northbound
    odl-neutron-northbound-api │ 0.10.4 │ │ Uninstalled │ odl-neutron-northbound-api-0.10.4 │ OpenDaylight :: Neutron :: Northbound
    odl-alto-northbound │ 0.6.4 │ │ Uninstalled │ odl-alto-northbound │ OpenDaylight :: alto :: Northbound
    odl-alto-standard-northbound-route │ 0.6.4 │ │ Uninstalled │ odl-alto-standard-northbound-route │ OpenDaylight :: alto :: Standard Northbound Route


    feature:install install (Installs a feature with the specified name and version)

    feature:install odl-neutron-northbound-api
    feature:install odl-alto-northbound
    feature:install odl-alto-standard-northbound-route

    feature:info odl-neutron-northbound-api
    feature:info odl-alto-northbound

  • 相关阅读:
    .Net并行编程
    ShopEx4.8.5.55328破解版
    PLinq
    C# 4.0 Parallel
    WCF、Web API、WCF REST、Web Service
    WCF 采用net.tcp协议
    MVC 过滤器3
    go orcale
    获取合并单元格中值的一个方法POI
    发起、维持和发展以利润为导向的企业的有目的性的行为(转)
  • 原文地址:https://www.cnblogs.com/liuhongru/p/10238988.html
Copyright © 2020-2023  润新知