diff options
author | YAMAMOTO Takashi <yamamoto@valinux.co.jp> | 2014-03-12 16:13:37 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2014-03-16 20:37:39 +0900 |
commit | 13ec0df56d2f0c5889731b47005e8d22f0a75623 (patch) | |
tree | e4686d3edf894a8ac2a2ef0d19fa6f6eb75fb97e /tools/pyang_plugins/__init__.py | |
parent | 6394a34804c9bb372aea570771e6ab0649724778 (diff) |
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 <yamamoto@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'tools/pyang_plugins/__init__.py')
-rw-r--r-- | tools/pyang_plugins/__init__.py | 15 |
1 files changed, 15 insertions, 0 deletions
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 <yamamoto at valinux co jp> +# +# 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. |