novaclient源码结构

 

novaclient

 

文件目录结构

1.base.py   用来构建API操作管理和对象的基础应用

2.client.py    OpenStack Client interface. Handles the REST calls and responses

3.exceptions.py    Exception definitions异常定义,各种异常的错误代码在这里定义

4.extension.py

5.__init__.py

6.service_catalog.py   keystone的endpoints表,去的各个服务的url 例如keystone   nova   swift

7.shell.py         Command-line interface to the OpenStack Nova API

8.utils.py

8.v1_1  

该文件夹包含文件,novaapi的访问地址都出现这些文件中

 

  1.aggregates.py    总览接口

  2.base.py

  3.certs.py   认证接口

  4.client.py               

Top-level object to access the OpenStack Compute API.

    Create an instance with your creds::

        >>> client = Client(USERNAME, PASSWORD, PROJECT_ID, AUTH_URL)

    Then call methods on its managers::

        >>> client.servers.list()
        ...
        >>> client.flavors.list()
        ...

    """

  5.cloudpipe.py                         cloudpipe 接口   A cloudpipe instance is a VPN attached to a proejct's VLAN

 

  6.flavors.py    flavor接口   一个flavor是一个可用的服务器硬件配置

  7.floating_ip_dns.py

  8.floatings_ip_pools.py

  9.floating_ips.py

  10.host.py      host interface (1.1 extension)      主机接口

  11.images.py    镜像接口

  12.__init__.py

  13.keypairs.py    Keypair interface (1.1 extension)密钥接口

  14.limits.py  

  15.quotas.py   配额

  16.security_group_rules.py     Security group rules interface (1.1 extension).

  17.security_groups.py   Security group interface (1.1 extension).

  18.servers.py              Server interface

 19.shell.py

  20.usage.py     Usage interface    Usage contains infomartion about a tenants physical resource usage

  21.virtual_interfaces.py    Virtual Interfaces (1.1 extension)

  22volume_snapshots.py    Volume snapshot interface (1.1 extension)

  23.volumes.py   Volume interface (1.1 extension)    A volume is an extra block level storage to the OpenStack instances

  24.volume_types.py    Volume Type interface

 

 

contrib

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值