blob: 302af6aa59a6a6076049080af2066380bdcddca0 [file] [log] [blame]
Vinod Kumar Scf044422016-02-09 19:53:45 +05301/*
2 * Copyright 2016 Open Networking Laboratory
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16package org.onosproject.yangutils.datamodel;
17
18/*
19 * Reference:RFC 6020.
20 * The "status" statement takes as an argument one of the strings
21 * "current", "deprecated", or "obsolete". If no status is specified,
22 * the default is "current".
23 */
24
25/**
Vinod Kumar S67e7be62016-02-11 20:13:28 +053026 * Represents the status of YANG entities.
Vinod Kumar Scf044422016-02-09 19:53:45 +053027 */
28public enum YangStatusType {
29 /**
30 * Reference:RFC 6020.
Vinod Kumar S67e7be62016-02-11 20:13:28 +053031 *
Vinod Kumar Scf044422016-02-09 19:53:45 +053032 * "current" means that the definition is current and valid.
33 */
34 CURRENT,
35
36 /**
37 * Reference:RFC 6020.
Vinod Kumar S67e7be62016-02-11 20:13:28 +053038 *
39 * "deprecated" indicates an obsolete definition, but it
40 * permits new/ continued implementation in order to foster interoperability
41 * with older/existing implementations.
Vinod Kumar Scf044422016-02-09 19:53:45 +053042 */
43 DEPRECATED,
44
45 /**
46 * Reference:RFC 6020.
Vinod Kumar S67e7be62016-02-11 20:13:28 +053047 *
48 * "obsolete" means the definition is obsolete and
49 * SHOULD NOT be implemented and/or can be removed from implementations.
Vinod Kumar Scf044422016-02-09 19:53:45 +053050 */
51 OBSOLETE
52}