[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [YANG] YANG syntax



Hi Martin,

Martin Bjorklund píše v Pá 28. 03. 2008 v 14:53 +0100:

> > - What is the role of unknown-statement in stmtsep and stmtend?
> 
> It covers extension statements.  The grammar must allow e.g.:
> 
>   description "bla bla" {
>     my-ext:type "cli-help";
>   }
> 

How does this translate to YIN? E.g.,

<description>
  <text>bla bla</text>
  <myext:type value="cli-help"/>
</description>

Can the two subelements be swapped? Where can/should the myext prefix be
declared?

Lada

-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C

_______________________________________________
YANG mailing list
YANG at ietf.org
https://www.ietf.org/mailman/listinfo/yang