bar
Base Information
| prefix |
bar |
| namespace |
urn:yang:bar |
| revision |
2014-03-21 |
| description |
|
| yang-version |
1 |
| imports | baz:baz;
|
Groupings Summary
Child Nodes Summary
RPCs Summary
Groupings
-
machine-ext
-
container: types
-
choice: machine-type
-
case: type-a
-
leaf: id
-
type: (urn:ietf:params:xml:ns:yang:1)string
-
machine-types
Datastore Structure
bar
Child nodes
Direct children
factory
- XML Path
- Restconf path
bar:factory
Direct children
XML example
<factory xmlns="urn:yang:bar">
<!-- See definition
for child nodes. -->
<alpha xmlns="urn:yang:bar">...</alpha>
<!-- See definition
for child nodes. -->
<beta xmlns="urn:yang:bar">...</beta>
</factory>
factory/alpha
- XML Path
- Restconf path
bar:factory/alpha
Direct children
XML example
<alpha xmlns="urn:yang:bar">
<!-- See definition
for child nodes. -->
<machine xmlns="urn:yang:bar">...</machine>
</alpha>
factory/alpha/machine
- XML Path
- Restconf path
bar:factory/alpha/machine
Direct children
XML example
<machine xmlns="urn:yang:bar">
<!-- See definition
for child nodes. -->
<atts xmlns="urn:yang:bar">...</atts>
</machine>
factory/alpha/machine/atts
- XML Path
- Restconf path
bar:factory/alpha/machine/atts
Direct children
XML example
<atts xmlns="urn:yang:bar">
<!-- See definition
for child nodes. -->
<types xmlns="urn:yang:foo">...</types>
</atts>
factory/alpha/machine/atts/types
- XML Path
- Restconf path
bar:factory/alpha/machine/atts/types
XML example
<types xmlns="urn:yang:foo">
</types>
XML example
<types xmlns="urn:yang:foo">
</types>
Direct children
- id (leaf)
- configuration data: true
- mandatory: false
XML example
<types xmlns="urn:yang:foo">
<id xmlns="urn:yang:foo">...</id>
</types>
factory/beta
- XML Path
- Restconf path
bar:factory/beta
Direct children
XML example
<beta xmlns="urn:yang:bar">
<!-- See definition
for child nodes. -->
<machine xmlns="urn:yang:bar">...</machine>
</beta>
factory/beta/machine
- XML Path
- Restconf path
bar:factory/beta/machine
Direct children
XML example
<machine xmlns="urn:yang:bar">
<!-- See definition
for child nodes. -->
<atts xmlns="urn:yang:bar">...</atts>
</machine>
factory/beta/machine/atts
- XML Path
- Restconf path
bar:factory/beta/machine/atts
Direct children
XML example
<atts xmlns="urn:yang:bar">
<!-- See definition
for child nodes. -->
<types xmlns="urn:yang:foo">...</types>
</atts>
factory/beta/machine/atts/types
- XML Path
- Restconf path
bar:factory/beta/machine/atts/types
XML example
<types xmlns="urn:yang:foo">
</types>
XML example
<types xmlns="urn:yang:foo">
</types>
Direct children
- id (leaf)
- configuration data: true
- mandatory: false
XML example
<types xmlns="urn:yang:foo">
<id xmlns="urn:yang:foo">...</id>
</types>
RPC Definitions
create-factory
-
container: input
-
uses: (urn:yang:baz)machine-def
-
container: machine
-
container: atts
-
container: types
-
choice: machine-type
-
case: type-a
-
leaf: id
-
type: (urn:ietf:params:xml:ns:yang:1)string
create-nested-factory
-
container: input
-
container: nested
-
uses: (urn:yang:baz)machine-def
-
container: machine
-
container: atts
-
container: types
-
choice: machine-type
-
case: type-a
-
leaf: id
-
type: (urn:ietf:params:xml:ns:yang:1)string