Gaurav Agrawal | b102b01 | 2016-08-02 12:52:48 +0530 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2016-present 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 | */ |
| 16 | |
| 17 | /** |
| 18 | * Provides interfaces to YANG management system. YANG management system |
| 19 | * is a core of YANG in ONOS. |
| 20 | * |
| 21 | * In NBI, it acts as a broker in between the protocol and application, |
| 22 | * here there is a separate protocol implementation, which does the conversion |
| 23 | * of protocol representation to abstract data tree. The protocol |
| 24 | * implementation takes care of the protocol specific actions for |
| 25 | * e.g. RESTCONF handling the entity-tag / timestamp related operations. |
| 26 | * |
| 27 | * In SBI, driver or provider uses YANG codec handler as a utility to translate |
| 28 | * the request information in java(YANG utils generated) to protocol specific |
| 29 | * format and vice versa. |
| 30 | */ |
| 31 | package org.onosproject.yms; |