openconfig / public

Repository for publishing OpenConfig models, documentation, and other material for the community.
Apache License 2.0
875 stars 643 forks source link

the VRF of ntp\logging remote-server configuration #211

Open luffycjf opened 5 years ago

luffycjf commented 5 years ago

As I said in google group: I'm trying to map the "the vrf of ntp\logging remote-server" configuration available on most vendor CLI to the right Openconfig model leafs, but i don't see a direct match. +--rw remote-servers +--rw remote-server* [host] +--rw host -> ../config/host +--rw config | +--rw host? oc-inet:host

remote-server should have a leaf 'vrf ',like this: +--rw remote-servers +--rw remote-server* [host] +--rw host -> ../config/host +--rw config | +--rw vrf? oc-netinst:name | +--rw host? oc-inet:host

grouping logging-remote-config { leaf vrf { type oc-netinst:name; description "the vrf to the log server"; }
}

chrisy commented 5 years ago

In our internal model, we've modeled this like this:

/oc-sys:system/oc-sys:logging/oc-sys:remote-servers/oc-sys:network-instances/oc-sys:network-instance/oc-sys:config/name
type: leafref
path reference: /network-instances/network-instance/name
github-actions[bot] commented 2 weeks ago

This issue is stale because it has been open 180 days with no activity. If you wish to keep this issue active, please remove the stale label or add a comment, otherwise will be closed in 14 days.