Skip to content
This repository has been archived by the owner on Oct 11, 2020. It is now read-only.

I am studying NETCONF and YANG for the first time. #1

Open
tibetia opened this issue Dec 7, 2016 · 1 comment
Open

I am studying NETCONF and YANG for the first time. #1

tibetia opened this issue Dec 7, 2016 · 1 comment

Comments

@tibetia
Copy link

tibetia commented Dec 7, 2016

Hi ksator,
I'm shhwang.

I am studying NETCONF and YANG for the first time.
I have a three question.

First, Do I have to add all of these yang module using 'request system yang add module' to Junos device?
'YANG Module(s) :iana-if-type.yang ietf-inet-types.yang ietf-interfaces.yang ietf-yang-types.yang jnx-aug-openconfig-bgp.yang jnx-aug-openconfig-if-ip.yang jnx-aug-openconfig-interfaces.yang jnx-aug-openconfig-lacp.yang jnx-aug-openconfig-lldp.yang jnx-aug-openconfig-mpls.yang jnx-openconfig-dev.yang openconfig-bgp-multiprotocol.yang openconfig-bgp-operational.yang openconfig-bgp-policy.yang openconfig-bgp-types.yang openconfig-bgp.yang openconfig-extensions.yang openconfig-if-aggregate.yang openconfig-if-ethernet.yang openconfig-if-ip-ext.yang openconfig-if-ip.yang openconfig-interfaces.yang openconfig-lacp.yang openconfig-lldp-types.yang openconfig-lldp.yang openconfig-local-routing.yang openconfig-mpls-igp.yang openconfig-mpls-ldp.yang openconfig-mpls-rsvp.yang openconfig-mpls-sr.yang openconfig-mpls-static.yang openconfig-mpls-te.yang openconfig-mpls-types.yang openconfig-mpls.yang openconfig-platform-types.yang openconfig-platform.yang openconfig-policy-types.yang openconfig-rib-bgp-ext.yang openconfig-rib-bgp-types.yang openconfig-rib-bgp.yang openconfig-routing-policy.yang openconfig-terminal-device.yang openconfig-transport-types.yang openconfig-types.yang openconfig-vlan-types.yang openconfig-vlan.yang'

Second, How can I create or get a programs?
' Translation Script(s) :openconfig-bgp.slax openconfig-interface.slax openconfig-local-routing.slax openconfig-mpls.slax openconfig-policy.slax'

Third, Have you used the 'NetConf Browser' created by mg-soft corporation with NETCONF and YANG?

I would be very happy if you answer these questions.
Thanks.

Regards,

@routelastresort
Copy link

shhwang, check out the OpenConfig Feature Guide, which will show you how to install the OpenConfig package for your version of Junos.

For #3, I have checked out mg-soft's YANG programs, and there's an evaluation available. Keep in mind that you'll want to increase the memory available to the JVM to read Juniper's configuration.yang (262k lines), and the mg-soft documentation has info on how to accomplish this. You may also want to check out YANG Creator. Cheers!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants