From 13ec0df56d2f0c5889731b47005e8d22f0a75623 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Wed, 12 Mar 2014 16:13:37 +0900 Subject: pyang plugin to generate of_config.generated_classes the current version of generated_classes was written by hand. this plugin allows it to be auto-generated from the yang module of OF-Config if/when it's available. unfortunately, there seems to be no yang modules usable for this purpose publically available yet, though. the yang module of OF-Config 1.1.1 is embedded in pdf. besides that it's hard to extract from the pdf, its license is unclear. OF-Config 1.2 says that its yang module is distributed as a separate file. but i couldn't find it on ONF site. Signed-off-by: YAMAMOTO Takashi Signed-off-by: FUJITA Tomonori --- tools/pyang_plugins/__init__.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tools/pyang_plugins/__init__.py (limited to 'tools/pyang_plugins/__init__.py') diff --git a/tools/pyang_plugins/__init__.py b/tools/pyang_plugins/__init__.py new file mode 100644 index 00000000..39113979 --- /dev/null +++ b/tools/pyang_plugins/__init__.py @@ -0,0 +1,15 @@ +# Copyright (C) 2013,2014 Nippon Telegraph and Telephone Corporation. +# Copyright (C) 2013,2014 YAMAMOTO Takashi +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. +# See the License for the specific language governing permissions and +# limitations under the License. -- cgit v1.2.3