blob: 81fd7880467dc10b2c195b4f8d83d868695a5a98 [file] [log] [blame]
Gaurav Agrawalb102b012016-08-02 12:52:48 +05301/*
Brian O'Connora09fe5b2017-08-03 21:12:30 -07002 * Copyright 2016-present Open Networking Foundation
Gaurav Agrawalb102b012016-08-02 12:52:48 +05303 *
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 * In SBI, the provider or driver uses YANG management system as a CODEC
19 * utility. These providers/drivers use the YANG codec utility to register
20 * the device schema. YANG utils is used to generate the java files
21 * corresponding to the device schema. Provider or driver use these classes
22 * to seamlessly manage the device as java objects. While sending the request
23 * to device, drivers use the utility to translate the objects to protocol
24 * specific data representation and then send to the device.
25 * Protocol or driver use the same instance of the codec utility across multiple
26 * translation request.
27 * Protocol or driver should not use the same instance of utility concurrently.
28 */
29package org.onosproject.yms.ych;