This is a static archive of the previous Open Grid Forum GridForge content management system saved from host forge.ogf.org file /sf/wiki/do/viewPage/projects.occi-wg/wiki/Infrastructure at Fri, 04 Nov 2022 20:04:45 GMT SourceForge : View Wiki Page: Infrastructure

Project Home

Tracker

Documents

Tasks

Source Code

Discussions

File Releases

Wiki

Project Admin

Web Site
Search Wiki Pages Project: occi-wg     Wiki > Infrastructure > View Wiki Page
wiki2439: Infrastructure

Do not edit this page - it's contents are now being transferred to latex.

Now available at: http://forge.ogf.org/svn/repos/occi-wg/trunk/infrastructure.tex

Infrastructure

Changelog

  • Update of Category definitions according to new Core&Models.
  • Renamed namespace & added more details (http://schemas.ogf.org/occi/2010/10/occi)
  • Worked on namespaces for actions...
  • "occi.compute.status", "occi.network.status" and "occi.storage.status" renamed to "occi.compute.state", "occi.network.state" and "occi.storage.state"
  • Updated all state diagrams to have the initial state as inactive/offline

Status of this Document

This document provides information to the community regarding the specification of the Open Cloud Computing Interface. Distribution is unlimited.

Copyright Notice

Copyright © Open Grid Forum (2009-2010). All Rights Reserved.

Trademarks

OCCI is a trademark of the Open Grid Forum.

1 Abstract

This document, part of a document series, produced by the OCCI working group within the Open Grid Forum (OGF), provides a high-level definition of a Protocol and API. The document is based upon previously gathered requirements and focuses on the scope of important capabilities required to support modern service offerings.

2 Introduction

The Open Cloud Computing Interface (OCCI) is a RESTful Protocol (and API) for all kinds of Management tasks. Originally initiated to create a remote management API for IaaS model based Services, allowing for the development of interoperable tools for common tasks including deployment, autonomic scaling and monitoring, it now can be used to severe other models as well. To be modular and extensible the current specification itself is currently split into three complimentary documents:

  1. Core – this defines the OCCI model, common resource types and shared attributes
  2. Infrastructure – this defines the infrastructure domain resource types, the required attributes for each and the actions that can be taken on each. (This document)
  3. HTTP Rendering - this defines how to manipulate the core model using the OCCI RESTful API. The document defines how the OCCI model can be communicated and thus serialized using HTTP headers.

This document describes OCCI-defined extensions to Resource, Link, Action and assigned Categories for IaaS model based Service providers.

3 Notational Conventions

All these parts and the information within are mandatory for implementors (unless otherwise specified). The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.

4 Infrastructure

The infrastructure domain resource types within OCCI, including their specification definitions, are:

  • Compute: Information processing resources.
  • Network: Interconnection resources.
  • Storage: Information recording resources.

These infrastructure resource types inherit Resource base type and all its attributes. OCCI implementors MUST implement these. The HTTP Rendering document define how to interact with these resource types using RESTful communication. OCCI makes an ideal interoperable boundary interface between the web and the internal resource management system of infrastructure providers.

As REQUIRED by the OCCI Core specification every resource type instantiated that is a subclass of Resource MUST be assigned a Category that identifies the instantiated resource type. Each such Category MUST be related to the Resource base type Category. These Categories, the core categories, MUST always remain immutable to any client.

The following table describe the Category defined for each of the infrastructure Resource subtypes:

Term Scheme Title Attributes Actions Related Category
compute http://schemas.ogf.org/occi/infrastructure# Compute Resource see belowsee below http://schemas.ogf.org/occi/core#resource
storage http://schemas.ogf.org/occi/infrastructure# Storage Resource see belowsee below http://schemas.ogf.org/occi/core#resource
network http://schemas.ogf.org/occi/infrastructure# Network Resource see belowsee below http://schemas.ogf.org/occi/core#resource

The following sections on Compute, Storage and Network detail the Attributes and Actions defined for each resource type.

4.1 Compute

The Compute Resource type is assigned the http://schemas.ogf.org/occi/infrastructure#compute Category. A Compute Resource instance MUST at least expose this Category.

4.1.1 Attributes

The attributes that MUST be exposed by an instance of the Compute Resource type are as follows:

Attribute Type Multiplicity Client Mutability Description
occi.compute.architecture Enumeration, {x86, x64} 1 Mutable CPU Architecture of the instance.
occi.compute.cores Integer 1 Mutable Number of CPU cores assigned to the instance.
occi.compute.hostname String 1 Mutable DNS hostname for the instance.
occi.compute.speed Float, 10^9 (giga) 1 Mutable CPU Clock frequency (speed) in gigahertz.
occi.compute.memory Float, 10^9 (giga) 1 Mutable Maximum RAM in gigabytes allocated to the instance.
occi.compute.state Enumeration , {active, inactive, suspended} 1 Immutable Current status of the instance.

4.1.2 Actions

Actions can be performed upon instances of the Compute Resource type. The set that MUST be supported are as follows:

Action Target State# Parameters
http://schemas.ogf.org/occi/infrastructure/compute/action#start active None
http://schemas.ogf.org/occi/infrastructure/compute/action#stop inactive Enumeration {graceful, acpioff, poweroff}
http://schemas.ogf.org/occi/infrastructure/compute/action#restart active (via stop and start chain) Enumeration {graceful, warm, cold}
http://schemas.ogf.org/occi/infrastructure/compute/action#suspend suspended Enumeration {hibernate, suspend }

4.1.3 States

Below illustrates the state diagram based on the actions defined above in 4.1.2.

compute-state-1.png

4.2 Network

The Network Resource type is assigned the http://schemas.ogf.org/occi/infrastructure#network Category. A Network Resource instance MUST at least expose this Category.

4.2.1 Attributes

The attributes that MUST be exposed by an instance of the Network Resource type are as follows:

Attribute Type Multiplicity Client Mutability Description
occi.network.vlan Integer, 0-4095 0…1 Mutable 802.1q VLAN Ientifier (e.g. 4095)
occi.network.label Token 0…1 Mutable Tag based VLANs (e.g. external-dmz)
occi.network.address IPv4 or IPv6 Address, CIDR notation 1...* Mutable Internet Protocol(IP) network address (e.g. 192.168.0.1/24, fc00::/7)
occi.network.gateway IPv4 or IPv6 Address, CIDR notation 0...* Mutable Internet Protocol (IP) network address(e.g. 192.168.0.1/24, fc00::/7)
occi.network.allocation Enumeration, {auto, dhcp, manual} 1 Mutable Address mechanism: auto use the provider default policy dhcp use the dynamic host configuration protocol manual use user supplied static network configurations
occi.network.state Enumeration, {active, inactive} 1 Immutable Current status of the instance.

4.2.2 Actions

Actions can be performed upon instances of the Storage Resource type. The set that must be supported are as follows:

Action Target State# Parameters
http://schemas.ogf.org/occi/infrastructure/network/action#up active None
http://schemas.ogf.org/occi/infrastructure/network/action#down inactive None

4.2.3 States

Below illustrates the state diagram based on the actions defined above in 4.2.2.

network-state-1.png

4.3 Storage

The Storage Resource type is assigned the http://schemas.ogf.org/occi/infrastructure#storage Category. A Storage Resource instance MUST at least expose this Category.

4.3.1 Attributes

The attributes that MUST be exposed by an instance of the Storage Resource type are as follows:

Attribute Type Multiplicity Client Mutability Description
occi.storage.size Float, 10^9 (giga) 1 Mutable Storage size in gigabytes of the instance
occi.storage.state Enumeration, {online, offline, degraded} 1 Immutable Current status of the instance.

4.3.2 Actions

Actions can be performed upon instances of the Storage Resource type. The set that MUST be supported are as follows:

Action Target State# Parameters
http://schemas.ogf.org/occi/infrastructure/storage/action#online online None
http://schemas.ogf.org/occi/infrastructure/storage/action#offline offline None
http://schemas.ogf.org/occi/infrastructure/storage/action#backup none None
http://schemas.ogf.org/occi/infrastructure/storage/action#snapshot none None
http://schemas.ogf.org/occi/infrastructure/storage/action#resize none Float size 10^9

4.3.3 States

Below illustrates the state diagram based on the actions defined above in 4.3.2.

storage-state-1.png

5 Contributors

  • Editors: Andy Edmonds, Thijs Metsch
  • Contributors: Ralf Nyrén, Sam Johnston

6 Glossary

Term Description
OCCI Open Cloud Computing Interface

7 Intellectual Property Statement

The OGF takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Copies of claims of rights made available for publication and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementers or users of this specification can be obtained from the OGF Secretariat.

The OGF invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights which may cover technology that may be required to practice this recommendation. Please address the information to the OGF Executive Director.

8 Disclaimer

This document and the information contained herein is provided on an “As Is” basis and the OGF disclaims all warranties, express or implied, including but not limited to any warranty that the use of the information herein will not infringe any rights or any implied warranties of merchantability or fitness for a particular purpose.

9 Full Copyright Notice

Copyright (C) Open Grid Forum (2009-2010). All Rights Reserved.

This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this paragraph are included on all such copies and derivative works. However, this document itself may not be modified in any way, such as by removing the copyright notice or references to the OGF or other organizations, except as needed for the purpose of developing Grid Recommendations in which case the procedures for copyrights defined in the OGF Document process must be followed, or as required to translate it into languages other than English.

The limited permissions granted above are perpetual and will not be revoked by the OGF or its successors or assignees.

10 References

Note that only permanent documents should be cited as references. Other items, such as Web pages or working groups, should be cited inline (i.e., see the Open Grid Forum, http://www.ogf.org). References should conform to a standard such as used by IEEE/ACM, MLA, Chicago or similar. Include an author, year, title, publisher, place of publication. For online materials, also add a URL. It is acceptable to separate out “normative references,” as IETF documents typically do. Some sample citations:

Attachments:
storage-state-1.png [Infrastructure/storage-state-1.png]
network-state-1.png [Infrastructure/network-state-1.png]
compute-state-1.png [Infrastructure/compute-state-1.png]
storage-state.png [Infrastructure/storage-state.png]
network-state.png [Infrastructure/network-state.png]
compute-state.png [Infrastructure/compute-state.png]
 



Versions Associations Attachments (6) Back Links  
Version Version Comment Created By
Version 29 Andy Edmonds - 10/14/2010
Version 28 Andy Edmonds - 10/12/2010
Version 27 Thijs Metsch - 09/22/2010
Version 26 Andy Edmonds - 09/17/2010
Version 25 Thijs Metsch - 09/08/2010
Version 24 Thijs Metsch - 09/08/2010
Version 23 Update of Category definitions according to new Core&Models. Ralf Nyrén - 09/04/2010
Version 22 Thijs Metsch - 08/16/2010
Version 21 Andy Edmonds - 08/11/2010
Version 20 Thijs Metsch - 08/06/2010
Version 19 Andy Edmonds - 08/05/2010
Version 18 updated state diagrams Andy Edmonds - 08/05/2010
Version 17 made changes to status->state and added occi.network.state Andy Edmonds - 08/05/2010
Version 16 Andy Edmonds - 08/04/2010
Version 15 Andy Edmonds - 08/04/2010
Version 14 Andy Edmonds - 08/04/2010
Version 13 Thijs Metsch - 07/28/2010
Version 12 format change Andy Edmonds - 07/28/2010
Version 11 added action state diagrams Andy Edmonds - 07/28/2010
Version 10 Thijs Metsch - 07/28/2010
Version 9 Thijs Metsch - 07/28/2010
Version 8 Thijs Metsch - 07/28/2010
Version 7 Thijs Metsch - 07/28/2010
Version 6 Thijs Metsch - 07/28/2010
Version 5 Thijs Metsch - 07/09/2010
Version 4 Thijs Metsch - 07/09/2010
Version 3 Andy Edmonds - 07/06/2010
Version 2 Andy Edmonds - 07/06/2010
Version 1 Thijs Metsch - 07/06/2010



The Open Grid Forum Contact Webmaster | Report a problem | GridForge Help
This is a static archive of the previous Open Grid Forum GridForge content management system saved from host forge.ogf.org file /sf/wiki/do/viewPage/projects.occi-wg/wiki/Infrastructure at Fri, 04 Nov 2022 20:05:05 GMT