Bug 3866: Support for Restconf HTTP Patch
[netconf.git] / opendaylight / restconf / sal-rest-connector / src / main / java / org / opendaylight / netconf / sal / restconf / impl / PATCHEditOperation.java
1 /*
2  * Copyright (c) 2016 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9 package org.opendaylight.netconf.sal.restconf.impl;
10
11 /**
12  *
13  * Each YANG patch edit specifies one edit operation on the target data
14  * node.  The set of operations is aligned with the NETCONF edit
15  * operations, but also includes some new operations.
16  *
17  */
18 enum PATCHEditOperation {
19     CREATE,  //post
20     DELETE,  //delete
21     INSERT,  //post
22     MERGE,
23     MOVE,    //delete+post
24     REPLACE, //put
25     REMOVE   //delete
26 }