Library API Details
来源:互联网 发布:韩国gdp总量知乎 编辑:程序博客网 时间:2024/06/03 08:28
Library API Details
The configuration API library provides a means of accessing and manipulating configuration elements of the system through an object representation. The library API can be classified into two categories:
- those that manipulate an object locally (client-side)
- those that reflect/get an object’s content onto/from the configuration API server.
The configuration element types (also referred to as object types) have a hierarchical relationship described in vnc_cfg.xsd schema. The class definitions of all object types are available at vnc_cfg_api_server.gen.resource_common module.
- All objects have:
a fully-qualified name which is an array of strings representing ancestor names from root
an id-perms property which provide unix file-like permissions for the owner, group and others
zero or more properties which represent information relevant only to the object
zero or more references to other objects
zero or more back references from other objects (computed automatically by the server)
- methods
to construct an instance
accessors for properties
accessors for referenced objectes
getters for back-references (i.e. objects referring to this)
getters for children objects
These methods do not communicate with the API server
The main library class VncApi insert-ref-here has methods for every object type to:
create an object
read an object
update an object
delete an object
list objects
These CRUD methods communicate with the API server.
The API server for most objects acts purely as a data store. However properties for some object types are allocated by the API server itself. These include
- default gateway in case of subnet (if not specified by user)
- ip address for instance-ip objects (if not specified by user)
Exceptions
Errors from API server (http status codes and response content) are translated to exception objects and raised. The different types of exceptions are defined at cfgm_common.exceptions module
Tips
Online documentation of the vnc_api module can be found by:
Online documentation of object methods etc. with standard dir and help python commands
- Library API Details
- REST API Details
- Library API Tutorial
- Library API reference
- Run Time Library & win32 API
- details
- C Runtime Library, C Runtime Library and Windows API
- Detours (api hook)library介绍
- Detours (api hook)library介绍
- Java Client Library Method Summary API中文版
- Android API Guides---APP Manifest <uses-library>
- Scala Standard Library API(01) -- scala.Any
- zabbix-Java library to access Zabbix API
- mHook MinHook API Library Detour EasyHook
- 1. [SDL-API]Initializing the Library
- SDK,Library,API,framework,Toolkits概念介绍
- JPush API client library for PHP
- C/C++ 开发库 | C/C++ Development Library http://blog.csdn.net/herorenme/article/details/18795935
- cocos2dx lua文件的加载问题
- DevExpress 安装及报表开发
- Win7环境下如何在cocos2d-x2.2版本下创建项目
- 适配器器模式--Java实现
- VS2010编译配置Blitz-0.9
- Library API Details
- Steve Yegge:Google面试秘籍
- 深入浅出Android makefile(3)--LOCAL_SRC_FILES
- 实用技巧:六招教你去掉图片上的文字
- Android严苛模式介绍(StrictMode)
- 学习PHP的可用关注下phalcon
- 谈谈我对Java中CallBack的理解
- StringTokenizer
- OpenContrail架构文档