zoukankan      html  css  js  c++  java
  • 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

  • 相关阅读:
    Android 通用获取Ip的方法(判断手机是否联网的方法)!!!
    android intent和intent action大全
    手机信息
    Android 获取信号强度
    android 基站定位
    Android 读取SIM卡参数
    Android 获取手机SIM资料详解
    Android手机中获取手机号码和运营商信息
    java中的url 编码与解码
    java.util.Scanner的日常用法
  • 原文地址:https://www.cnblogs.com/liuhongru/p/10238988.html
Copyright © 2011-2022 走看看