The Open vSwitch Database Management Protocol
draft-pfaff-ovsdb-proto-01
Network Working Group B. Pfaff
Internet-Draft B. Davie, Ed.
Intended status: Informational VMware, Inc.
Expires: August 24, 2013 February 20, 2013
The Open vSwitch Database Management Protocol
draft-pfaff-ovsdb-proto-01
Abstract
Open vSwitch is an open source software switch designed to be used as
a vswitch (virtual switch) in virtualized server environments. A
vswitch forwards traffic between different virtual machines (VMs) on
the same physical host and also forwards traffic between VMs and the
physical network. Open vSwitch is open to programmatic extension and
control using OpenFlow and the OVSDB (Open vSwitch Database)
management protocol. This document defines the OVSDB management
protocol.
Status of this Memo
This Internet-Draft is submitted in full conformance with the
provisions of BCP 78 and BCP 79.
Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF). Note that other groups may also distribute
working documents as Internet-Drafts. The list of current Internet-
Drafts is at http://datatracker.ietf.org/drafts/current/.
Internet-Drafts are draft documents valid for a maximum of six months
and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress."
This Internet-Draft will expire on August 24, 2013.
Copyright Notice
Copyright (c) 2013 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents
(http://trustee.ietf.org/license-info) in effect on the date of
publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect
to this document. Code Components extracted from this document must
Pfaff & Davie Expires August 24, 2013 [Page 1]
Internet-Draft OVSDB Config Protocol February 2013
include Simplified BSD License text as described in Section 4.e of
the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License.
Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.1. Requirements Language . . . . . . . . . . . . . . . . . . 3
1.2. Terminology . . . . . . . . . . . . . . . . . . . . . . . 3
2. System Overview . . . . . . . . . . . . . . . . . . . . . . . 4
3. OVSDB Structure . . . . . . . . . . . . . . . . . . . . . . . 5
3.1. JSON Usage . . . . . . . . . . . . . . . . . . . . . . . . 5
3.2. Schema Format . . . . . . . . . . . . . . . . . . . . . . 7
4. Wire Protocol . . . . . . . . . . . . . . . . . . . . . . . . 11
4.1. RPC Methods . . . . . . . . . . . . . . . . . . . . . . . 11
4.1.1. List Databases . . . . . . . . . . . . . . . . . . . . 12
4.1.2. Get Schema . . . . . . . . . . . . . . . . . . . . . . 12
4.1.3. Transact . . . . . . . . . . . . . . . . . . . . . . . 12
4.1.4. Cancel . . . . . . . . . . . . . . . . . . . . . . . . 15
4.1.5. Monitor . . . . . . . . . . . . . . . . . . . . . . . 15
4.1.6. Update Notification . . . . . . . . . . . . . . . . . 17
4.1.7. Monitor Cancellation . . . . . . . . . . . . . . . . . 18
4.1.8. Lock Operations . . . . . . . . . . . . . . . . . . . 18
4.1.9. Locked Notification . . . . . . . . . . . . . . . . . 20
4.1.10. Stolen Notification . . . . . . . . . . . . . . . . . 20
4.1.11. Echo . . . . . . . . . . . . . . . . . . . . . . . . . 21
5. Database Operations . . . . . . . . . . . . . . . . . . . . . 21
5.1. Notation . . . . . . . . . . . . . . . . . . . . . . . . . 21
5.2. Operations . . . . . . . . . . . . . . . . . . . . . . . . 25
5.2.1. Insert . . . . . . . . . . . . . . . . . . . . . . . . 25
5.2.2. Select . . . . . . . . . . . . . . . . . . . . . . . . 26
5.2.3. Update . . . . . . . . . . . . . . . . . . . . . . . . 27
5.2.4. Mutate . . . . . . . . . . . . . . . . . . . . . . . . 27
5.2.5. Delete . . . . . . . . . . . . . . . . . . . . . . . . 28
5.2.6. Wait . . . . . . . . . . . . . . . . . . . . . . . . . 29
5.2.7. Commit . . . . . . . . . . . . . . . . . . . . . . . . 30
5.2.8. Abort . . . . . . . . . . . . . . . . . . . . . . . . 30
5.2.9. Comment . . . . . . . . . . . . . . . . . . . . . . . 30
5.2.10. Assert . . . . . . . . . . . . . . . . . . . . . . . . 31
6. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 31
7. Security Considerations . . . . . . . . . . . . . . . . . . . 31
Show full document text