Advertisement
Guest User

Untitled

a guest
Jan 20th, 2016
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 70.66 KB | None | 0 0
  1. >>yttc ietf-interfaces.yang
  2. data_types:
  3. config:
  4. properties:
  5. interfaces:
  6. required: false
  7. type: interfaces
  8. edit-config:
  9. properties:
  10. config:
  11. type: config
  12. target:
  13. default: running
  14. interface:
  15. properties:
  16. description:
  17. required: false
  18. type: string
  19. enabled:
  20. default: 'true'
  21. required: false
  22. type: boolean
  23. link-up-down-trap-enable:
  24. required: false
  25. name:
  26. required: false
  27. type: string
  28. type:
  29. required: true
  30. interfaces:
  31. properties:
  32. interface:
  33. description: '[List_of: interface] '
  34. required: false
  35. node_types:
  36. ietf-interfaces:
  37. properties:
  38. edit-config:
  39. required: false
  40. type: edit-config
  41. metadata:
  42. default:
  43. xmlns:
  44. _: urn:ietf:params:xml:ns:yang:ietf-interfaces
  45.  
  46. #module: ietf-interfaces
  47. # +--rw interfaces
  48. # | +--rw interface* [name]
  49. # | +--rw name string
  50. # | +--rw description? string
  51. # | +--rw type identityref
  52. # | +--rw enabled? boolean
  53. # | +--rw link-up-down-trap-enable? enumeration {if-mib}?
  54. # +--ro interfaces-state
  55. # +--ro interface* [name]
  56. # +--ro name string
  57. # +--ro type identityref
  58. # +--ro admin-status enumeration {if-mib}?
  59. # +--ro oper-status enumeration
  60. # +--ro last-change? yang:date-and-time
  61. # +--ro if-index int32 {if-mib}?
  62. # +--ro phys-address? yang:phys-address
  63. # +--ro higher-layer-if* interface-state-ref
  64. # +--ro lower-layer-if* interface-state-ref
  65. # +--ro speed? yang:gauge64
  66. # +--ro statistics
  67. # +--ro discontinuity-time yang:date-and-time
  68. # +--ro in-octets? yang:counter64
  69. # +--ro in-unicast-pkts? yang:counter64
  70. # +--ro in-broadcast-pkts? yang:counter64
  71. # +--ro in-multicast-pkts? yang:counter64
  72. # +--ro in-discards? yang:counter32
  73. # +--ro in-errors? yang:counter32
  74. # +--ro in-unknown-protos? yang:counter32
  75. # +--ro out-octets? yang:counter64
  76. # +--ro out-unicast-pkts? yang:counter64
  77. # +--ro out-broadcast-pkts? yang:counter64
  78. # +--ro out-multicast-pkts? yang:counter64
  79. # +--ro out-discards? yang:counter32
  80. # +--ro out-errors? yang:counter32
  81. #
  82.  
  83.  
  84. >>yttc ietf-ipfix-psamp.yang
  85. data_types:
  86. cache:
  87. properties:
  88. exportingProcess:
  89. description: '[List_of: exportingProcess] '
  90. required: false
  91. type: string
  92. immediateCache:
  93. required: false
  94. type: immediateCache
  95. name:
  96. required: false
  97. naturalCache:
  98. required: false
  99. type: naturalCache
  100. permanentCache:
  101. required: false
  102. type: permanentCache
  103. timeoutCache:
  104. required: false
  105. type: timeoutCache
  106. cacheField:
  107. properties:
  108. ieEnterpriseNumber:
  109. default: '0'
  110. required: false
  111. type: integer
  112. ieId:
  113. required: false
  114. ieLength:
  115. required: false
  116. type: integer
  117. ieName:
  118. required: false
  119. isFlowKey:
  120. required: false
  121. name:
  122. required: false
  123. cacheLayout:
  124. properties:
  125. cacheField:
  126. description: '[List_of: cacheField] '
  127. required: false
  128. collectingProcess:
  129. properties:
  130. exportingProcess:
  131. description: '[List_of: exportingProcess] '
  132. required: false
  133. type: string
  134. fileReader:
  135. description: '[List_of: fileReader] '
  136. required: false
  137. name:
  138. required: false
  139. sctpCollector:
  140. description: '[List_of: sctpCollector] '
  141. required: false
  142. tcpCollector:
  143. description: '[List_of: tcpCollector] '
  144. required: false
  145. udpCollector:
  146. description: '[List_of: udpCollector] '
  147. required: false
  148. config:
  149. properties:
  150. ipfix:
  151. required: false
  152. type: ipfix
  153. destination:
  154. properties:
  155. fileWriter:
  156. required: false
  157. type: fileWriter
  158. name:
  159. required: false
  160. sctpExporter:
  161. required: false
  162. type: sctpExporter
  163. tcpExporter:
  164. required: false
  165. type: tcpExporter
  166. udpExporter:
  167. required: false
  168. type: udpExporter
  169. edit-config:
  170. properties:
  171. config:
  172. type: config
  173. target:
  174. default: running
  175. exportingProcess:
  176. properties:
  177. destination:
  178. description: '[List_of: destination] '
  179. required: false
  180. exportMode:
  181. default: parallel
  182. required: false
  183. name:
  184. required: false
  185. options:
  186. description: '[List_of: options] '
  187. required: false
  188. fileReader:
  189. properties:
  190. file:
  191. required: true
  192. name:
  193. required: false
  194. fileWriter:
  195. properties:
  196. file:
  197. required: true
  198. ipfixVersion:
  199. default: '10'
  200. required: false
  201. type: integer
  202. filterHash:
  203. properties:
  204. digestOutput:
  205. default: 'false'
  206. required: false
  207. type: boolean
  208. hashFunction:
  209. default: BOB
  210. required: false
  211. initializerValue:
  212. required: false
  213. type: integer
  214. ipPayloadOffset:
  215. default: '0'
  216. required: false
  217. type: integer
  218. ipPayloadSize:
  219. default: '8'
  220. required: false
  221. type: integer
  222. selectedRange:
  223. description: '[List_of: selectedRange] '
  224. required: false
  225. filterMatch:
  226. properties:
  227. ieEnterpriseNumber:
  228. default: '0'
  229. required: false
  230. type: integer
  231. ieId:
  232. required: false
  233. ieName:
  234. required: false
  235. value:
  236. required: true
  237. type: string
  238. immediateCache:
  239. properties:
  240. cacheLayout:
  241. required: false
  242. type: cacheLayout
  243. ipfix:
  244. properties:
  245. cache:
  246. description: '[List_of: cache] '
  247. required: false
  248. collectingProcess:
  249. description: '[List_of: collectingProcess] '
  250. required: false
  251. exportingProcess:
  252. description: '[List_of: exportingProcess] '
  253. required: false
  254. observationPoint:
  255. description: '[List_of: observationPoint] '
  256. required: false
  257. selectionProcess:
  258. description: '[List_of: selectionProcess] '
  259. required: false
  260. naturalCache:
  261. properties:
  262. activeTimeout:
  263. required: false
  264. type: integer
  265. cacheLayout:
  266. required: false
  267. type: cacheLayout
  268. exportInterval:
  269. required: false
  270. type: integer
  271. idleTimeout:
  272. required: false
  273. type: integer
  274. maxFlows:
  275. required: false
  276. type: integer
  277. observationPoint:
  278. properties:
  279. direction:
  280. default: both
  281. required: false
  282. entPhysicalIndex:
  283. description: '[List_of: entPhysicalIndex] '
  284. required: false
  285. type: integer
  286. entPhysicalName:
  287. description: '[List_of: entPhysicalName] '
  288. required: false
  289. type: string
  290. ifIndex:
  291. description: '[List_of: ifIndex] '
  292. required: false
  293. type: integer
  294. ifName:
  295. description: '[List_of: ifName] '
  296. required: false
  297. name:
  298. required: false
  299. observationDomainId:
  300. required: true
  301. type: integer
  302. selectionProcess:
  303. description: '[List_of: selectionProcess] '
  304. required: false
  305. type: string
  306. options:
  307. properties:
  308. name:
  309. required: false
  310. optionsTimeout:
  311. required: false
  312. type: integer
  313. optionsType:
  314. required: true
  315. permanentCache:
  316. properties:
  317. activeTimeout:
  318. required: false
  319. type: integer
  320. cacheLayout:
  321. required: false
  322. type: cacheLayout
  323. exportInterval:
  324. required: false
  325. type: integer
  326. idleTimeout:
  327. required: false
  328. type: integer
  329. maxFlows:
  330. required: false
  331. type: integer
  332. sampCountBased:
  333. properties:
  334. packetInterval:
  335. required: true
  336. type: integer
  337. packetSpace:
  338. required: true
  339. type: integer
  340. sampRandOutOfN:
  341. properties:
  342. population:
  343. required: true
  344. type: integer
  345. size:
  346. required: true
  347. type: integer
  348. sampTimeBased:
  349. properties:
  350. timeInterval:
  351. required: true
  352. type: integer
  353. timeSpace:
  354. required: true
  355. type: integer
  356. sampUniProb:
  357. properties:
  358. probability:
  359. required: true
  360. type: float
  361. sctpCollector:
  362. properties:
  363. localIPAddress:
  364. description: '[List_of: localIPAddress] '
  365. required: false
  366. localPort:
  367. required: false
  368. name:
  369. required: false
  370. transportLayerSecurity:
  371. required: false
  372. type: transportLayerSecurity
  373. sctpExporter:
  374. properties:
  375. destinationIPAddress:
  376. description: '[List_of: destinationIPAddress] '
  377. required: false
  378. destinationPort:
  379. required: false
  380. ifIndex:
  381. required: false
  382. type: integer
  383. ifName:
  384. required: false
  385. type: string
  386. ipfixVersion:
  387. default: '10'
  388. required: false
  389. type: integer
  390. rateLimit:
  391. required: false
  392. type: integer
  393. sendBufferSize:
  394. required: false
  395. type: integer
  396. sourceIPAddress:
  397. description: '[List_of: sourceIPAddress] '
  398. required: false
  399. timedReliability:
  400. default: '0'
  401. required: false
  402. type: integer
  403. transportLayerSecurity:
  404. required: false
  405. type: transportLayerSecurity
  406. selectedRange:
  407. properties:
  408. max:
  409. required: false
  410. type: integer
  411. min:
  412. required: false
  413. type: integer
  414. name:
  415. required: false
  416. selectionProcess:
  417. properties:
  418. cache:
  419. required: false
  420. type: string
  421. name:
  422. required: false
  423. selector:
  424. description: '[List_of: selector] '
  425. required: false
  426. selector:
  427. properties:
  428. filterHash:
  429. required: false
  430. type: filterHash
  431. filterMatch:
  432. required: false
  433. type: filterMatch
  434. name:
  435. required: false
  436. sampCountBased:
  437. required: false
  438. type: sampCountBased
  439. sampRandOutOfN:
  440. required: false
  441. type: sampRandOutOfN
  442. sampTimeBased:
  443. required: false
  444. type: sampTimeBased
  445. sampUniProb:
  446. required: false
  447. type: sampUniProb
  448. selectAll:
  449. required: false
  450. tcpCollector:
  451. properties:
  452. localIPAddress:
  453. description: '[List_of: localIPAddress] '
  454. required: false
  455. localPort:
  456. required: false
  457. name:
  458. required: false
  459. transportLayerSecurity:
  460. required: false
  461. type: transportLayerSecurity
  462. tcpExporter:
  463. properties:
  464. destinationIPAddress:
  465. required: true
  466. destinationPort:
  467. required: false
  468. ifIndex:
  469. required: false
  470. type: integer
  471. ifName:
  472. required: false
  473. type: string
  474. ipfixVersion:
  475. default: '10'
  476. required: false
  477. type: integer
  478. rateLimit:
  479. required: false
  480. type: integer
  481. sendBufferSize:
  482. required: false
  483. type: integer
  484. sourceIPAddress:
  485. required: false
  486. transportLayerSecurity:
  487. required: false
  488. type: transportLayerSecurity
  489. timeoutCache:
  490. properties:
  491. activeTimeout:
  492. required: false
  493. type: integer
  494. cacheLayout:
  495. required: false
  496. type: cacheLayout
  497. exportInterval:
  498. required: false
  499. type: integer
  500. idleTimeout:
  501. required: false
  502. type: integer
  503. maxFlows:
  504. required: false
  505. type: integer
  506. transportLayerSecurity:
  507. properties:
  508. localCertificationAuthorityDN:
  509. description: '[List_of: localCertificationAuthorityDN] '
  510. required: false
  511. type: string
  512. localSubjectDN:
  513. description: '[List_of: localSubjectDN] '
  514. required: false
  515. type: string
  516. localSubjectFQDN:
  517. description: '[List_of: localSubjectFQDN] '
  518. required: false
  519. remoteCertificationAuthorityDN:
  520. description: '[List_of: remoteCertificationAuthorityDN] '
  521. required: false
  522. type: string
  523. remoteSubjectDN:
  524. description: '[List_of: remoteSubjectDN] '
  525. required: false
  526. type: string
  527. remoteSubjectFQDN:
  528. description: '[List_of: remoteSubjectFQDN] '
  529. required: false
  530. udpCollector:
  531. properties:
  532. localIPAddress:
  533. description: '[List_of: localIPAddress] '
  534. required: false
  535. localPort:
  536. required: false
  537. name:
  538. required: false
  539. optionsTemplateLifePacket:
  540. required: false
  541. type: integer
  542. optionsTemplateLifeTime:
  543. default: '1800'
  544. required: false
  545. type: integer
  546. templateLifePacket:
  547. required: false
  548. type: integer
  549. templateLifeTime:
  550. default: '1800'
  551. required: false
  552. type: integer
  553. transportLayerSecurity:
  554. required: false
  555. type: transportLayerSecurity
  556. udpExporter:
  557. properties:
  558. destinationIPAddress:
  559. required: true
  560. destinationPort:
  561. required: false
  562. ifIndex:
  563. required: false
  564. type: integer
  565. ifName:
  566. required: false
  567. type: string
  568. ipfixVersion:
  569. default: '10'
  570. required: false
  571. type: integer
  572. maxPacketSize:
  573. required: false
  574. type: integer
  575. optionsTemplateRefreshPacket:
  576. required: false
  577. type: integer
  578. optionsTemplateRefreshTimeout:
  579. default: '600'
  580. required: false
  581. type: integer
  582. rateLimit:
  583. required: false
  584. type: integer
  585. sendBufferSize:
  586. required: false
  587. type: integer
  588. sourceIPAddress:
  589. required: false
  590. templateRefreshPacket:
  591. required: false
  592. type: integer
  593. templateRefreshTimeout:
  594. default: '600'
  595. required: false
  596. type: integer
  597. transportLayerSecurity:
  598. required: false
  599. type: transportLayerSecurity
  600. node_types:
  601. ietf-ipfix-psamp:
  602. properties:
  603. edit-config:
  604. required: false
  605. type: edit-config
  606. metadata:
  607. default:
  608. xmlns:
  609. _: urn:ietf:params:xml:ns:yang:ietf-ipfix-psamp
  610.  
  611. #module: ietf-ipfix-psamp
  612. # +--rw ipfix
  613. # +--rw collectingProcess* [name] {collector}?
  614. # | +--rw name nameType
  615. # | +--rw sctpCollector* [name]
  616. # | | +--rw name nameType
  617. # | | +--rw localPort? inet:port-number
  618. # | | +--rw transportLayerSecurity!
  619. # | | | +--rw localCertificationAuthorityDN* string
  620. # | | | +--rw localSubjectDN* string
  621. # | | | +--rw localSubjectFQDN* inet:domain-name
  622. # | | | +--rw remoteCertificationAuthorityDN* string
  623. # | | | +--rw remoteSubjectDN* string
  624. # | | | +--rw remoteSubjectFQDN* inet:domain-name
  625. # | | +--ro transportSession*
  626. # | | | +--ro ipfixVersion? uint16
  627. # | | | +--ro sourceAddress? inet:ip-address
  628. # | | | +--ro destinationAddress? inet:ip-address
  629. # | | | +--ro sourcePort? inet:port-number
  630. # | | | +--ro destinationPort? inet:port-number
  631. # | | | +--ro sctpAssocId? uint32
  632. # | | | +--ro status? transportSessionStatus
  633. # | | | +--ro rate? yang:gauge32
  634. # | | | +--ro bytes? yang:counter64
  635. # | | | +--ro messages? yang:counter64
  636. # | | | +--ro discardedMessages? yang:counter64
  637. # | | | +--ro records? yang:counter64
  638. # | | | +--ro templates? yang:counter32
  639. # | | | +--ro optionsTemplates? yang:counter32
  640. # | | | +--ro transportSessionStartTime? yang:date-and-time
  641. # | | | +--ro transportSessionDiscontinuityTime? yang:date-and-time
  642. # | | | +--ro template*
  643. # | | | +--ro observationDomainId? uint32
  644. # | | | +--ro templateId? uint16
  645. # | | | +--ro setId? uint16
  646. # | | | +--ro accessTime? yang:date-and-time
  647. # | | | +--ro templateDataRecords? yang:counter64
  648. # | | | +--ro templateDiscontinuityTime? yang:date-and-time
  649. # | | | +--ro field*
  650. # | | | +--ro ieId? ieIdType
  651. # | | | +--ro ieLength? uint16
  652. # | | | +--ro ieEnterpriseNumber? uint32
  653. # | | | +--ro isFlowKey? empty
  654. # | | | +--ro isScope? empty
  655. # | | +--rw localIPAddress* inet:ip-address
  656. # | +--rw udpCollector* [name] {udpTransport}?
  657. # | | +--rw name nameType
  658. # | | +--rw localPort? inet:port-number
  659. # | | +--rw transportLayerSecurity!
  660. # | | | +--rw localCertificationAuthorityDN* string
  661. # | | | +--rw localSubjectDN* string
  662. # | | | +--rw localSubjectFQDN* inet:domain-name
  663. # | | | +--rw remoteCertificationAuthorityDN* string
  664. # | | | +--rw remoteSubjectDN* string
  665. # | | | +--rw remoteSubjectFQDN* inet:domain-name
  666. # | | +--ro transportSession*
  667. # | | | +--ro ipfixVersion? uint16
  668. # | | | +--ro sourceAddress? inet:ip-address
  669. # | | | +--ro destinationAddress? inet:ip-address
  670. # | | | +--ro sourcePort? inet:port-number
  671. # | | | +--ro destinationPort? inet:port-number
  672. # | | | +--ro sctpAssocId? uint32
  673. # | | | +--ro status? transportSessionStatus
  674. # | | | +--ro rate? yang:gauge32
  675. # | | | +--ro bytes? yang:counter64
  676. # | | | +--ro messages? yang:counter64
  677. # | | | +--ro discardedMessages? yang:counter64
  678. # | | | +--ro records? yang:counter64
  679. # | | | +--ro templates? yang:counter32
  680. # | | | +--ro optionsTemplates? yang:counter32
  681. # | | | +--ro transportSessionStartTime? yang:date-and-time
  682. # | | | +--ro transportSessionDiscontinuityTime? yang:date-and-time
  683. # | | | +--ro template*
  684. # | | | +--ro observationDomainId? uint32
  685. # | | | +--ro templateId? uint16
  686. # | | | +--ro setId? uint16
  687. # | | | +--ro accessTime? yang:date-and-time
  688. # | | | +--ro templateDataRecords? yang:counter64
  689. # | | | +--ro templateDiscontinuityTime? yang:date-and-time
  690. # | | | +--ro field*
  691. # | | | +--ro ieId? ieIdType
  692. # | | | +--ro ieLength? uint16
  693. # | | | +--ro ieEnterpriseNumber? uint32
  694. # | | | +--ro isFlowKey? empty
  695. # | | | +--ro isScope? empty
  696. # | | +--rw localIPAddress* inet:ip-address
  697. # | | +--rw templateLifeTime? uint32
  698. # | | +--rw optionsTemplateLifeTime? uint32
  699. # | | +--rw templateLifePacket? uint32
  700. # | | +--rw optionsTemplateLifePacket? uint32
  701. # | +--rw tcpCollector* [name] {tcpTransport}?
  702. # | | +--rw name nameType
  703. # | | +--rw localPort? inet:port-number
  704. # | | +--rw transportLayerSecurity!
  705. # | | | +--rw localCertificationAuthorityDN* string
  706. # | | | +--rw localSubjectDN* string
  707. # | | | +--rw localSubjectFQDN* inet:domain-name
  708. # | | | +--rw remoteCertificationAuthorityDN* string
  709. # | | | +--rw remoteSubjectDN* string
  710. # | | | +--rw remoteSubjectFQDN* inet:domain-name
  711. # | | +--ro transportSession*
  712. # | | | +--ro ipfixVersion? uint16
  713. # | | | +--ro sourceAddress? inet:ip-address
  714. # | | | +--ro destinationAddress? inet:ip-address
  715. # | | | +--ro sourcePort? inet:port-number
  716. # | | | +--ro destinationPort? inet:port-number
  717. # | | | +--ro sctpAssocId? uint32
  718. # | | | +--ro status? transportSessionStatus
  719. # | | | +--ro rate? yang:gauge32
  720. # | | | +--ro bytes? yang:counter64
  721. # | | | +--ro messages? yang:counter64
  722. # | | | +--ro discardedMessages? yang:counter64
  723. # | | | +--ro records? yang:counter64
  724. # | | | +--ro templates? yang:counter32
  725. # | | | +--ro optionsTemplates? yang:counter32
  726. # | | | +--ro transportSessionStartTime? yang:date-and-time
  727. # | | | +--ro transportSessionDiscontinuityTime? yang:date-and-time
  728. # | | | +--ro template*
  729. # | | | +--ro observationDomainId? uint32
  730. # | | | +--ro templateId? uint16
  731. # | | | +--ro setId? uint16
  732. # | | | +--ro accessTime? yang:date-and-time
  733. # | | | +--ro templateDataRecords? yang:counter64
  734. # | | | +--ro templateDiscontinuityTime? yang:date-and-time
  735. # | | | +--ro field*
  736. # | | | +--ro ieId? ieIdType
  737. # | | | +--ro ieLength? uint16
  738. # | | | +--ro ieEnterpriseNumber? uint32
  739. # | | | +--ro isFlowKey? empty
  740. # | | | +--ro isScope? empty
  741. # | | +--rw localIPAddress* inet:ip-address
  742. # | +--rw fileReader* [name] {fileReader}?
  743. # | | +--rw name nameType
  744. # | | +--rw file inet:uri
  745. # | | +--ro bytes? yang:counter64
  746. # | | +--ro messages? yang:counter64
  747. # | | +--ro records? yang:counter64
  748. # | | +--ro templates? yang:counter32
  749. # | | +--ro optionsTemplates? yang:counter32
  750. # | | +--ro fileReaderDiscontinuityTime? yang:date-and-time
  751. # | | +--ro template*
  752. # | | +--ro observationDomainId? uint32
  753. # | | +--ro templateId? uint16
  754. # | | +--ro setId? uint16
  755. # | | +--ro accessTime? yang:date-and-time
  756. # | | +--ro templateDataRecords? yang:counter64
  757. # | | +--ro templateDiscontinuityTime? yang:date-and-time
  758. # | | +--ro field*
  759. # | | +--ro ieId? ieIdType
  760. # | | +--ro ieLength? uint16
  761. # | | +--ro ieEnterpriseNumber? uint32
  762. # | | +--ro isFlowKey? empty
  763. # | | +--ro isScope? empty
  764. # | +--rw exportingProcess* -> /ipfix/exportingProcess/name {exporter}?
  765. # +--rw observationPoint* [name] {meter}?
  766. # | +--rw name nameType
  767. # | +--ro observationPointId? uint32
  768. # | +--rw observationDomainId uint32
  769. # | +--rw ifName* ifNameType
  770. # | +--rw ifIndex* uint32
  771. # | +--rw entPhysicalName* string
  772. # | +--rw entPhysicalIndex* uint32
  773. # | +--rw direction? direction
  774. # | +--rw selectionProcess* -> /ipfix/selectionProcess/name
  775. # +--rw selectionProcess* [name] {meter}?
  776. # | +--rw name nameType
  777. # | +--rw selector* [name]
  778. # | | +--rw name nameType
  779. # | | +--rw (Method)
  780. # | | | +--:(selectAll)
  781. # | | | | +--rw selectAll? empty
  782. # | | | +--:(sampCountBased)
  783. # | | | | +--rw sampCountBased {psampSampCountBased}?
  784. # | | | | +--rw packetInterval uint32
  785. # | | | | +--rw packetSpace uint32
  786. # | | | +--:(sampTimeBased)
  787. # | | | | +--rw sampTimeBased {psampSampTimeBased}?
  788. # | | | | +--rw timeInterval uint32
  789. # | | | | +--rw timeSpace uint32
  790. # | | | +--:(sampRandOutOfN)
  791. # | | | | +--rw sampRandOutOfN {psampSampRandOutOfN}?
  792. # | | | | +--rw size uint32
  793. # | | | | +--rw population uint32
  794. # | | | +--:(sampUniProb)
  795. # | | | | +--rw sampUniProb {psampSampUniProb}?
  796. # | | | | +--rw probability decimal64
  797. # | | | +--:(filterMatch)
  798. # | | | | +--rw filterMatch {psampFilterMatch}?
  799. # | | | | +--rw (nameOrId)
  800. # | | | | | +--:(ieName)
  801. # | | | | | | +--rw ieName? ieNameType
  802. # | | | | | +--:(ieId)
  803. # | | | | | +--rw ieId? ieIdType
  804. # | | | | +--rw ieEnterpriseNumber? uint32
  805. # | | | | +--rw value string
  806. # | | | +--:(filterHash)
  807. # | | | +--rw filterHash {psampFilterHash}?
  808. # | | | +--rw hashFunction? identityref
  809. # | | | +--rw initializerValue? uint64
  810. # | | | +--rw ipPayloadOffset? uint64
  811. # | | | +--rw ipPayloadSize? uint64
  812. # | | | +--rw digestOutput? boolean
  813. # | | | +--ro outputRangeMin? uint64
  814. # | | | +--ro outputRangeMax? uint64
  815. # | | | +--rw selectedRange* [name]
  816. # | | | +--rw name nameType
  817. # | | | +--rw min? uint64
  818. # | | | +--rw max? uint64
  819. # | | +--ro packetsObserved? yang:counter64
  820. # | | +--ro packetsDropped? yang:counter64
  821. # | | +--ro selectorDiscontinuityTime? yang:date-and-time
  822. # | +--ro selectionSequence*
  823. # | | +--ro observationDomainId? uint32
  824. # | | +--ro selectionSequenceId? uint64
  825. # | +--rw cache? -> /ipfix/cache/name
  826. # +--rw cache* [name] {meter}?
  827. # | +--rw name nameType
  828. # | +--ro meteringProcessId? uint32
  829. # | +--ro dataRecords? yang:counter64
  830. # | +--ro cacheDiscontinuityTime? yang:date-and-time
  831. # | +--rw (CacheType)
  832. # | | +--:(immediateCache)
  833. # | | | +--rw immediateCache {immediateCache}?
  834. # | | | +--rw cacheLayout
  835. # | | | +--rw cacheField* [name]
  836. # | | | +--rw name nameType
  837. # | | | +--rw (nameOrId)
  838. # | | | | +--:(ieName)
  839. # | | | | | +--rw ieName? ieNameType
  840. # | | | | +--:(ieId)
  841. # | | | | +--rw ieId? ieIdType
  842. # | | | +--rw ieLength? uint16
  843. # | | | +--rw ieEnterpriseNumber? uint32
  844. # | | | +--rw isFlowKey? empty
  845. # | | +--:(timeoutCache)
  846. # | | | +--rw timeoutCache {timeoutCache}?
  847. # | | | +--rw maxFlows? uint32
  848. # | | | +--rw activeTimeout? uint32
  849. # | | | +--rw idleTimeout? uint32
  850. # | | | +--rw exportInterval? uint32
  851. # | | | +--ro activeFlows? yang:gauge32
  852. # | | | +--ro unusedCacheEntries? yang:gauge32
  853. # | | | +--rw cacheLayout
  854. # | | | +--rw cacheField* [name]
  855. # | | | +--rw name nameType
  856. # | | | +--rw (nameOrId)
  857. # | | | | +--:(ieName)
  858. # | | | | | +--rw ieName? ieNameType
  859. # | | | | +--:(ieId)
  860. # | | | | +--rw ieId? ieIdType
  861. # | | | +--rw ieLength? uint16
  862. # | | | +--rw ieEnterpriseNumber? uint32
  863. # | | | +--rw isFlowKey? empty
  864. # | | +--:(naturalCache)
  865. # | | | +--rw naturalCache {naturalCache}?
  866. # | | | +--rw maxFlows? uint32
  867. # | | | +--rw activeTimeout? uint32
  868. # | | | +--rw idleTimeout? uint32
  869. # | | | +--rw exportInterval? uint32
  870. # | | | +--ro activeFlows? yang:gauge32
  871. # | | | +--ro unusedCacheEntries? yang:gauge32
  872. # | | | +--rw cacheLayout
  873. # | | | +--rw cacheField* [name]
  874. # | | | +--rw name nameType
  875. # | | | +--rw (nameOrId)
  876. # | | | | +--:(ieName)
  877. # | | | | | +--rw ieName? ieNameType
  878. # | | | | +--:(ieId)
  879. # | | | | +--rw ieId? ieIdType
  880. # | | | +--rw ieLength? uint16
  881. # | | | +--rw ieEnterpriseNumber? uint32
  882. # | | | +--rw isFlowKey? empty
  883. # | | +--:(permanentCache)
  884. # | | +--rw permanentCache {permanentCache}?
  885. # | | +--rw maxFlows? uint32
  886. # | | +--rw activeTimeout? uint32
  887. # | | +--rw idleTimeout? uint32
  888. # | | +--rw exportInterval? uint32
  889. # | | +--ro activeFlows? yang:gauge32
  890. # | | +--ro unusedCacheEntries? yang:gauge32
  891. # | | +--rw cacheLayout
  892. # | | +--rw cacheField* [name]
  893. # | | +--rw name nameType
  894. # | | +--rw (nameOrId)
  895. # | | | +--:(ieName)
  896. # | | | | +--rw ieName? ieNameType
  897. # | | | +--:(ieId)
  898. # | | | +--rw ieId? ieIdType
  899. # | | +--rw ieLength? uint16
  900. # | | +--rw ieEnterpriseNumber? uint32
  901. # | | +--rw isFlowKey? empty
  902. # | +--rw exportingProcess* -> /ipfix/exportingProcess/name {exporter}?
  903. # +--rw exportingProcess* [name] {exporter}?
  904. # +--rw name nameType
  905. # +--ro exportingProcessId? uint32
  906. # +--rw exportMode? identityref
  907. # +--rw destination* [name]
  908. # | +--rw name nameType
  909. # | +--rw (DestinationParameters)
  910. # | +--:(sctpExporter)
  911. # | | +--rw sctpExporter
  912. # | | +--rw ipfixVersion? uint16
  913. # | | +--rw destinationPort? inet:port-number
  914. # | | +--rw (indexOrName)?
  915. # | | | +--:(ifIndex)
  916. # | | | | +--rw ifIndex? uint32
  917. # | | | +--:(ifName)
  918. # | | | +--rw ifName? string
  919. # | | +--rw sendBufferSize? uint32
  920. # | | +--rw rateLimit? uint32
  921. # | | +--rw transportLayerSecurity!
  922. # | | | +--rw localCertificationAuthorityDN* string
  923. # | | | +--rw localSubjectDN* string
  924. # | | | +--rw localSubjectFQDN* inet:domain-name
  925. # | | | +--rw remoteCertificationAuthorityDN* string
  926. # | | | +--rw remoteSubjectDN* string
  927. # | | | +--rw remoteSubjectFQDN* inet:domain-name
  928. # | | +--ro transportSession
  929. # | | | +--ro ipfixVersion? uint16
  930. # | | | +--ro sourceAddress? inet:ip-address
  931. # | | | +--ro destinationAddress? inet:ip-address
  932. # | | | +--ro sourcePort? inet:port-number
  933. # | | | +--ro destinationPort? inet:port-number
  934. # | | | +--ro sctpAssocId? uint32
  935. # | | | +--ro status? transportSessionStatus
  936. # | | | +--ro rate? yang:gauge32
  937. # | | | +--ro bytes? yang:counter64
  938. # | | | +--ro messages? yang:counter64
  939. # | | | +--ro discardedMessages? yang:counter64
  940. # | | | +--ro records? yang:counter64
  941. # | | | +--ro templates? yang:counter32
  942. # | | | +--ro optionsTemplates? yang:counter32
  943. # | | | +--ro transportSessionStartTime? yang:date-and-time
  944. # | | | +--ro transportSessionDiscontinuityTime? yang:date-and-time
  945. # | | | +--ro template*
  946. # | | | +--ro observationDomainId? uint32
  947. # | | | +--ro templateId? uint16
  948. # | | | +--ro setId? uint16
  949. # | | | +--ro accessTime? yang:date-and-time
  950. # | | | +--ro templateDataRecords? yang:counter64
  951. # | | | +--ro templateDiscontinuityTime? yang:date-and-time
  952. # | | | +--ro field*
  953. # | | | +--ro ieId? ieIdType
  954. # | | | +--ro ieLength? uint16
  955. # | | | +--ro ieEnterpriseNumber? uint32
  956. # | | | +--ro isFlowKey? empty
  957. # | | | +--ro isScope? empty
  958. # | | +--rw sourceIPAddress* inet:ip-address
  959. # | | +--rw destinationIPAddress* inet:ip-address
  960. # | | +--rw timedReliability? uint32
  961. # | +--:(udpExporter)
  962. # | | +--rw udpExporter {udpTransport}?
  963. # | | +--rw ipfixVersion? uint16
  964. # | | +--rw destinationPort? inet:port-number
  965. # | | +--rw (indexOrName)?
  966. # | | | +--:(ifIndex)
  967. # | | | | +--rw ifIndex? uint32
  968. # | | | +--:(ifName)
  969. # | | | +--rw ifName? string
  970. # | | +--rw sendBufferSize? uint32
  971. # | | +--rw rateLimit? uint32
  972. # | | +--rw transportLayerSecurity!
  973. # | | | +--rw localCertificationAuthorityDN* string
  974. # | | | +--rw localSubjectDN* string
  975. # | | | +--rw localSubjectFQDN* inet:domain-name
  976. # | | | +--rw remoteCertificationAuthorityDN* string
  977. # | | | +--rw remoteSubjectDN* string
  978. # | | | +--rw remoteSubjectFQDN* inet:domain-name
  979. # | | +--ro transportSession
  980. # | | | +--ro ipfixVersion? uint16
  981. # | | | +--ro sourceAddress? inet:ip-address
  982. # | | | +--ro destinationAddress? inet:ip-address
  983. # | | | +--ro sourcePort? inet:port-number
  984. # | | | +--ro destinationPort? inet:port-number
  985. # | | | +--ro sctpAssocId? uint32
  986. # | | | +--ro status? transportSessionStatus
  987. # | | | +--ro rate? yang:gauge32
  988. # | | | +--ro bytes? yang:counter64
  989. # | | | +--ro messages? yang:counter64
  990. # | | | +--ro discardedMessages? yang:counter64
  991. # | | | +--ro records? yang:counter64
  992. # | | | +--ro templates? yang:counter32
  993. # | | | +--ro optionsTemplates? yang:counter32
  994. # | | | +--ro transportSessionStartTime? yang:date-and-time
  995. # | | | +--ro transportSessionDiscontinuityTime? yang:date-and-time
  996. # | | | +--ro template*
  997. # | | | +--ro observationDomainId? uint32
  998. # | | | +--ro templateId? uint16
  999. # | | | +--ro setId? uint16
  1000. # | | | +--ro accessTime? yang:date-and-time
  1001. # | | | +--ro templateDataRecords? yang:counter64
  1002. # | | | +--ro templateDiscontinuityTime? yang:date-and-time
  1003. # | | | +--ro field*
  1004. # | | | +--ro ieId? ieIdType
  1005. # | | | +--ro ieLength? uint16
  1006. # | | | +--ro ieEnterpriseNumber? uint32
  1007. # | | | +--ro isFlowKey? empty
  1008. # | | | +--ro isScope? empty
  1009. # | | +--rw sourceIPAddress? inet:ip-address
  1010. # | | +--rw destinationIPAddress inet:ip-address
  1011. # | | +--rw maxPacketSize? uint16
  1012. # | | +--rw templateRefreshTimeout? uint32
  1013. # | | +--rw optionsTemplateRefreshTimeout? uint32
  1014. # | | +--rw templateRefreshPacket? uint32
  1015. # | | +--rw optionsTemplateRefreshPacket? uint32
  1016. # | +--:(tcpExporter)
  1017. # | | +--rw tcpExporter {tcpTransport}?
  1018. # | | +--rw ipfixVersion? uint16
  1019. # | | +--rw destinationPort? inet:port-number
  1020. # | | +--rw (indexOrName)?
  1021. # | | | +--:(ifIndex)
  1022. # | | | | +--rw ifIndex? uint32
  1023. # | | | +--:(ifName)
  1024. # | | | +--rw ifName? string
  1025. # | | +--rw sendBufferSize? uint32
  1026. # | | +--rw rateLimit? uint32
  1027. # | | +--rw transportLayerSecurity!
  1028. # | | | +--rw localCertificationAuthorityDN* string
  1029. # | | | +--rw localSubjectDN* string
  1030. # | | | +--rw localSubjectFQDN* inet:domain-name
  1031. # | | | +--rw remoteCertificationAuthorityDN* string
  1032. # | | | +--rw remoteSubjectDN* string
  1033. # | | | +--rw remoteSubjectFQDN* inet:domain-name
  1034. # | | +--ro transportSession
  1035. # | | | +--ro ipfixVersion? uint16
  1036. # | | | +--ro sourceAddress? inet:ip-address
  1037. # | | | +--ro destinationAddress? inet:ip-address
  1038. # | | | +--ro sourcePort? inet:port-number
  1039. # | | | +--ro destinationPort? inet:port-number
  1040. # | | | +--ro sctpAssocId? uint32
  1041. # | | | +--ro status? transportSessionStatus
  1042. # | | | +--ro rate? yang:gauge32
  1043. # | | | +--ro bytes? yang:counter64
  1044. # | | | +--ro messages? yang:counter64
  1045. # | | | +--ro discardedMessages? yang:counter64
  1046. # | | | +--ro records? yang:counter64
  1047. # | | | +--ro templates? yang:counter32
  1048. # | | | +--ro optionsTemplates? yang:counter32
  1049. # | | | +--ro transportSessionStartTime? yang:date-and-time
  1050. # | | | +--ro transportSessionDiscontinuityTime? yang:date-and-time
  1051. # | | | +--ro template*
  1052. # | | | +--ro observationDomainId? uint32
  1053. # | | | +--ro templateId? uint16
  1054. # | | | +--ro setId? uint16
  1055. # | | | +--ro accessTime? yang:date-and-time
  1056. # | | | +--ro templateDataRecords? yang:counter64
  1057. # | | | +--ro templateDiscontinuityTime? yang:date-and-time
  1058. # | | | +--ro field*
  1059. # | | | +--ro ieId? ieIdType
  1060. # | | | +--ro ieLength? uint16
  1061. # | | | +--ro ieEnterpriseNumber? uint32
  1062. # | | | +--ro isFlowKey? empty
  1063. # | | | +--ro isScope? empty
  1064. # | | +--rw sourceIPAddress? inet:ip-address
  1065. # | | +--rw destinationIPAddress inet:ip-address
  1066. # | +--:(fileWriter)
  1067. # | +--rw fileWriter {fileWriter}?
  1068. # | +--rw ipfixVersion? uint16
  1069. # | +--rw file inet:uri
  1070. # | +--ro bytes? yang:counter64
  1071. # | +--ro messages? yang:counter64
  1072. # | +--ro discardedMessages? yang:counter64
  1073. # | +--ro records? yang:counter64
  1074. # | +--ro templates? yang:counter32
  1075. # | +--ro optionsTemplates? yang:counter32
  1076. # | +--ro fileWriterDiscontinuityTime? yang:date-and-time
  1077. # | +--ro template*
  1078. # | +--ro observationDomainId? uint32
  1079. # | +--ro templateId? uint16
  1080. # | +--ro setId? uint16
  1081. # | +--ro accessTime? yang:date-and-time
  1082. # | +--ro templateDataRecords? yang:counter64
  1083. # | +--ro templateDiscontinuityTime? yang:date-and-time
  1084. # | +--ro field*
  1085. # | +--ro ieId? ieIdType
  1086. # | +--ro ieLength? uint16
  1087. # | +--ro ieEnterpriseNumber? uint32
  1088. # | +--ro isFlowKey? empty
  1089. # | +--ro isScope? empty
  1090. # +--rw options* [name]
  1091. # +--rw name nameType
  1092. # +--rw optionsType identityref
  1093. # +--rw optionsTimeout? uint32
  1094. #
  1095.  
  1096.  
  1097. >>yttc ietf-netconf-acm.yang
  1098. data_types:
  1099. config:
  1100. properties:
  1101. nacm:
  1102. required: false
  1103. type: nacm
  1104. edit-config:
  1105. properties:
  1106. config:
  1107. type: config
  1108. target:
  1109. default: running
  1110. group:
  1111. properties:
  1112. name:
  1113. required: false
  1114. user-name:
  1115. description: '[List_of: user-name] '
  1116. required: false
  1117. groups:
  1118. properties:
  1119. group:
  1120. description: '[List_of: group] '
  1121. required: false
  1122. nacm:
  1123. properties:
  1124. enable-external-groups:
  1125. default: 'true'
  1126. required: false
  1127. type: boolean
  1128. enable-nacm:
  1129. default: 'true'
  1130. required: false
  1131. type: boolean
  1132. exec-default:
  1133. default: permit
  1134. required: false
  1135. groups:
  1136. required: false
  1137. type: groups
  1138. read-default:
  1139. default: permit
  1140. required: false
  1141. rule-list:
  1142. description: '[List_of: rule-list] '
  1143. required: false
  1144. write-default:
  1145. default: deny
  1146. required: false
  1147. rule:
  1148. properties:
  1149. access-operations:
  1150. default: '*'
  1151. required: false
  1152. action:
  1153. required: true
  1154. comment:
  1155. required: false
  1156. type: string
  1157. module-name:
  1158. default: '*'
  1159. required: false
  1160. name:
  1161. required: false
  1162. type: string
  1163. notification-name:
  1164. required: false
  1165. path:
  1166. required: true
  1167. rpc-name:
  1168. required: false
  1169. rule-list:
  1170. properties:
  1171. group:
  1172. description: '[List_of: group] '
  1173. required: false
  1174. name:
  1175. required: false
  1176. type: string
  1177. rule:
  1178. description: '[List_of: rule] '
  1179. required: false
  1180. node_types:
  1181. ietf-netconf-acm:
  1182. properties:
  1183. edit-config:
  1184. required: false
  1185. type: edit-config
  1186. metadata:
  1187. default:
  1188. xmlns:
  1189. _: urn:ietf:params:xml:ns:yang:ietf-netconf-acm
  1190.  
  1191. #module: ietf-netconf-acm
  1192. # +--rw nacm
  1193. # +--rw enable-nacm? boolean
  1194. # +--rw read-default? action-type
  1195. # +--rw write-default? action-type
  1196. # +--rw exec-default? action-type
  1197. # +--rw enable-external-groups? boolean
  1198. # +--ro denied-operations yang:zero-based-counter32
  1199. # +--ro denied-data-writes yang:zero-based-counter32
  1200. # +--ro denied-notifications yang:zero-based-counter32
  1201. # +--rw groups
  1202. # | +--rw group* [name]
  1203. # | +--rw name group-name-type
  1204. # | +--rw user-name* user-name-type
  1205. # +--rw rule-list* [name]
  1206. # +--rw name string
  1207. # +--rw group* union
  1208. # +--rw rule* [name]
  1209. # +--rw name string
  1210. # +--rw module-name? union
  1211. # +--rw (rule-type)?
  1212. # | +--:(protocol-operation)
  1213. # | | +--rw rpc-name? union
  1214. # | +--:(notification)
  1215. # | | +--rw notification-name? union
  1216. # | +--:(data-node)
  1217. # | +--rw path node-instance-identifier
  1218. # +--rw access-operations? union
  1219. # +--rw action action-type
  1220. # +--rw comment? string
  1221. #
  1222.  
  1223.  
  1224. >>yttc ietf-netconf-monitoring.yang
  1225. data_types:
  1226. config:
  1227. properties: {}
  1228. edit-config:
  1229. properties:
  1230. config:
  1231. type: config
  1232. target:
  1233. default: running
  1234. get-schema:
  1235. properties:
  1236. format:
  1237. required: false
  1238. identifier:
  1239. required: true
  1240. type: string
  1241. version:
  1242. required: false
  1243. type: string
  1244. node_types:
  1245. ietf-netconf-monitoring:
  1246. properties:
  1247. edit-config:
  1248. required: false
  1249. type: edit-config
  1250. get-schema:
  1251. required: false
  1252. type: get-schema
  1253. metadata:
  1254. default:
  1255. xmlns:
  1256. _: urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring
  1257.  
  1258. #module: ietf-netconf-monitoring
  1259. # +--ro netconf-state
  1260. # +--ro capabilities
  1261. # | +--ro capability* inet:uri
  1262. # +--ro datastores
  1263. # | +--ro datastore* [name]
  1264. # | +--ro name netconf-datastore-type
  1265. # | +--ro locks!
  1266. # | +--ro (lock-type)?
  1267. # | +--:(global-lock)
  1268. # | | +--ro global-lock
  1269. # | | +--ro locked-by-session uint32
  1270. # | | +--ro locked-time yang:date-and-time
  1271. # | +--:(partial-lock)
  1272. # | +--ro partial-lock* [lock-id]
  1273. # | +--ro lock-id uint32
  1274. # | +--ro locked-by-session uint32
  1275. # | +--ro locked-time yang:date-and-time
  1276. # | +--ro select* yang:xpath1.0
  1277. # | +--ro locked-node* instance-identifier
  1278. # +--ro schemas
  1279. # | +--ro schema* [identifier version format]
  1280. # | +--ro identifier string
  1281. # | +--ro version string
  1282. # | +--ro format identityref
  1283. # | +--ro namespace inet:uri
  1284. # | +--ro location* union
  1285. # +--ro sessions
  1286. # | +--ro session* [session-id]
  1287. # | +--ro session-id uint32
  1288. # | +--ro transport identityref
  1289. # | +--ro username string
  1290. # | +--ro source-host? inet:host
  1291. # | +--ro login-time yang:date-and-time
  1292. # | +--ro in-rpcs? yang:zero-based-counter32
  1293. # | +--ro in-bad-rpcs? yang:zero-based-counter32
  1294. # | +--ro out-rpc-errors? yang:zero-based-counter32
  1295. # | +--ro out-notifications? yang:zero-based-counter32
  1296. # +--ro statistics
  1297. # +--ro netconf-start-time? yang:date-and-time
  1298. # +--ro in-bad-hellos? yang:zero-based-counter32
  1299. # +--ro in-sessions? yang:zero-based-counter32
  1300. # +--ro dropped-sessions? yang:zero-based-counter32
  1301. # +--ro in-rpcs? yang:zero-based-counter32
  1302. # +--ro in-bad-rpcs? yang:zero-based-counter32
  1303. # +--ro out-rpc-errors? yang:zero-based-counter32
  1304. # +--ro out-notifications? yang:zero-based-counter32
  1305. #rpcs:
  1306. # +---x get-schema
  1307. # +---w input
  1308. # | +---w identifier string
  1309. # | +---w version? string
  1310. # | +---w format? identityref
  1311. # +--ro output
  1312. # +--ro data
  1313. #
  1314.  
  1315. >>yttc ietf-snmp.yang
  1316. data_types:
  1317. access:
  1318. properties:
  1319. context:
  1320. required: false
  1321. context-match:
  1322. default: exact
  1323. required: false
  1324. notify-view:
  1325. required: false
  1326. read-view:
  1327. required: false
  1328. security-level:
  1329. required: false
  1330. security-model:
  1331. required: false
  1332. write-view:
  1333. required: false
  1334. aes:
  1335. properties:
  1336. key:
  1337. required: true
  1338. auth:
  1339. properties:
  1340. md5:
  1341. required: false
  1342. type: md5
  1343. sha:
  1344. required: false
  1345. type: sha
  1346. cert-to-name:
  1347. properties:
  1348. fingerprint:
  1349. required: true
  1350. id:
  1351. required: false
  1352. type: integer
  1353. map-type:
  1354. required: true
  1355. name:
  1356. required: true
  1357. type: string
  1358. community:
  1359. properties:
  1360. binary-name:
  1361. required: false
  1362. context:
  1363. default: ''
  1364. required: false
  1365. engine-id:
  1366. required: false
  1367. index:
  1368. required: false
  1369. security-name:
  1370. required: true
  1371. target-tag:
  1372. required: false
  1373. text-name:
  1374. required: false
  1375. type: string
  1376. config:
  1377. properties:
  1378. snmp:
  1379. required: false
  1380. type: snmp
  1381. des:
  1382. properties:
  1383. key:
  1384. required: true
  1385. dtls:
  1386. properties:
  1387. client-fingerprint:
  1388. required: false
  1389. ip:
  1390. required: true
  1391. port:
  1392. default: '10161'
  1393. required: false
  1394. server-fingerprint:
  1395. required: false
  1396. server-identity:
  1397. required: false
  1398. edit-config:
  1399. properties:
  1400. config:
  1401. type: config
  1402. target:
  1403. default: running
  1404. engine:
  1405. properties:
  1406. enable-authen-traps:
  1407. required: false
  1408. type: boolean
  1409. enabled:
  1410. default: 'false'
  1411. required: false
  1412. type: boolean
  1413. engine-id:
  1414. required: false
  1415. listen:
  1416. description: '[List_of: listen] '
  1417. required: false
  1418. version:
  1419. required: false
  1420. type: version
  1421. group:
  1422. properties:
  1423. access:
  1424. description: '[List_of: access] '
  1425. required: false
  1426. member:
  1427. description: '[List_of: member] '
  1428. required: false
  1429. name:
  1430. required: false
  1431. listen:
  1432. properties:
  1433. dtls:
  1434. required: false
  1435. type: dtls
  1436. name:
  1437. required: false
  1438. ssh:
  1439. required: false
  1440. type: ssh
  1441. tls:
  1442. required: false
  1443. type: tls
  1444. udp:
  1445. required: false
  1446. type: udp
  1447. local:
  1448. properties:
  1449. user:
  1450. description: '[List_of: user] '
  1451. required: false
  1452. md5:
  1453. properties:
  1454. key:
  1455. required: true
  1456. member:
  1457. properties:
  1458. security-model:
  1459. description: '[List_of: security-model] '
  1460. required: false
  1461. security-name:
  1462. required: false
  1463. notify:
  1464. properties:
  1465. name:
  1466. required: false
  1467. tag:
  1468. required: true
  1469. type:
  1470. default: trap
  1471. required: false
  1472. notify-filter-profile:
  1473. properties:
  1474. exclude:
  1475. description: '[List_of: exclude] '
  1476. required: false
  1477. include:
  1478. description: '[List_of: include] '
  1479. required: false
  1480. name:
  1481. required: false
  1482. priv:
  1483. properties:
  1484. aes:
  1485. required: false
  1486. type: aes
  1487. des:
  1488. required: false
  1489. type: des
  1490. proxy:
  1491. properties:
  1492. context-engine-id:
  1493. required: true
  1494. context-name:
  1495. required: false
  1496. multiple-target-out:
  1497. required: false
  1498. name:
  1499. required: false
  1500. single-target-out:
  1501. required: false
  1502. target-params-in:
  1503. required: false
  1504. type:
  1505. required: true
  1506. remote:
  1507. properties:
  1508. engine-id:
  1509. required: false
  1510. user:
  1511. description: '[List_of: user] '
  1512. required: false
  1513. sha:
  1514. properties:
  1515. key:
  1516. required: true
  1517. snmp:
  1518. properties:
  1519. community:
  1520. description: '[List_of: community] '
  1521. required: false
  1522. engine:
  1523. required: false
  1524. type: engine
  1525. notify:
  1526. description: '[List_of: notify] '
  1527. required: false
  1528. notify-filter-profile:
  1529. description: '[List_of: notify-filter-profile] '
  1530. required: false
  1531. proxy:
  1532. description: '[List_of: proxy] '
  1533. required: false
  1534. target:
  1535. description: '[List_of: target] '
  1536. required: false
  1537. target-params:
  1538. description: '[List_of: target-params] '
  1539. required: false
  1540. tlstm:
  1541. required: false
  1542. type: tlstm
  1543. tsm:
  1544. required: false
  1545. type: tsm
  1546. usm:
  1547. required: false
  1548. type: usm
  1549. vacm:
  1550. required: false
  1551. type: vacm
  1552. ssh:
  1553. properties:
  1554. ip:
  1555. required: true
  1556. port:
  1557. default: '5161'
  1558. required: false
  1559. username:
  1560. required: false
  1561. type: string
  1562. target:
  1563. properties:
  1564. dtls:
  1565. required: false
  1566. type: dtls
  1567. mms:
  1568. default: '484'
  1569. required: false
  1570. name:
  1571. required: false
  1572. retries:
  1573. default: '3'
  1574. required: false
  1575. type: integer
  1576. ssh:
  1577. required: false
  1578. type: ssh
  1579. tag:
  1580. description: '[List_of: tag] '
  1581. required: false
  1582. target-params:
  1583. required: true
  1584. timeout:
  1585. default: '1500'
  1586. required: false
  1587. type: integer
  1588. tls:
  1589. required: false
  1590. type: tls
  1591. udp:
  1592. required: false
  1593. type: udp
  1594. target-params:
  1595. properties:
  1596. name:
  1597. required: false
  1598. notify-filter-profile:
  1599. required: false
  1600. type: string
  1601. tsm:
  1602. required: false
  1603. type: tsm
  1604. usm:
  1605. required: false
  1606. type: usm
  1607. v1:
  1608. required: false
  1609. type: v1
  1610. v2c:
  1611. required: false
  1612. type: v2c
  1613. tls:
  1614. properties:
  1615. client-fingerprint:
  1616. required: false
  1617. ip:
  1618. required: true
  1619. port:
  1620. default: '10161'
  1621. required: false
  1622. server-fingerprint:
  1623. required: false
  1624. server-identity:
  1625. required: false
  1626. tlstm:
  1627. properties:
  1628. cert-to-name:
  1629. description: '[List_of: cert-to-name] '
  1630. required: false
  1631. tsm:
  1632. properties:
  1633. use-prefix:
  1634. default: 'false'
  1635. required: false
  1636. type: boolean
  1637. udp:
  1638. properties:
  1639. ip:
  1640. required: true
  1641. port:
  1642. default: '162'
  1643. required: false
  1644. prefix-length:
  1645. required: false
  1646. type: integer
  1647. user:
  1648. properties:
  1649. auth:
  1650. required: false
  1651. type: auth
  1652. name:
  1653. required: false
  1654. priv:
  1655. required: false
  1656. type: priv
  1657. usm:
  1658. properties:
  1659. local:
  1660. required: false
  1661. type: local
  1662. remote:
  1663. description: '[List_of: remote] '
  1664. required: false
  1665. v1:
  1666. properties:
  1667. security-name:
  1668. required: true
  1669. v2c:
  1670. properties:
  1671. security-name:
  1672. required: true
  1673. vacm:
  1674. properties:
  1675. group:
  1676. description: '[List_of: group] '
  1677. required: false
  1678. view:
  1679. description: '[List_of: view] '
  1680. required: false
  1681. version:
  1682. properties:
  1683. v1:
  1684. required: false
  1685. v2c:
  1686. required: false
  1687. v3:
  1688. required: false
  1689. view:
  1690. properties:
  1691. exclude:
  1692. description: '[List_of: exclude] '
  1693. required: false
  1694. include:
  1695. description: '[List_of: include] '
  1696. required: false
  1697. name:
  1698. required: false
  1699. node_types:
  1700. ietf-snmp:
  1701. properties:
  1702. edit-config:
  1703. required: false
  1704. type: edit-config
  1705. metadata:
  1706. default:
  1707. xmlns:
  1708. _: urn:ietf:params:xml:ns:yang:ietf-snmp
  1709.  
  1710. #module: ietf-snmp
  1711. # +--rw snmp
  1712. # +--rw engine
  1713. # | +--rw enabled? boolean
  1714. # | +--rw listen* [name]
  1715. # | | +--rw name snmp:identifier
  1716. # | | +--rw (transport)
  1717. # | | +--:(udp)
  1718. # | | | +--rw udp
  1719. # | | | +--rw ip inet:ip-address
  1720. # | | | +--rw port? inet:port-number
  1721. # | | +--:(tls) {tlstm}?
  1722. # | | | +--rw tls
  1723. # | | | +--rw ip inet:ip-address
  1724. # | | | +--rw port? inet:port-number
  1725. # | | +--:(dtls) {tlstm}?
  1726. # | | | +--rw dtls
  1727. # | | | +--rw ip inet:ip-address
  1728. # | | | +--rw port? inet:port-number
  1729. # | | +--:(ssh) {sshtm}?
  1730. # | | +--rw ssh
  1731. # | | +--rw ip inet:ip-address
  1732. # | | +--rw port? inet:port-number
  1733. # | +--rw version
  1734. # | | +--rw v1? empty
  1735. # | | +--rw v2c? empty
  1736. # | | +--rw v3? empty
  1737. # | +--rw engine-id? snmp:engine-id
  1738. # | +--rw enable-authen-traps? boolean
  1739. # +--rw target* [name]
  1740. # | +--rw name snmp:identifier
  1741. # | +--rw (transport)
  1742. # | | +--:(udp)
  1743. # | | | +--rw udp
  1744. # | | | +--rw ip inet:ip-address
  1745. # | | | +--rw port? inet:port-number
  1746. # | | | +--rw prefix-length? uint8
  1747. # | | +--:(tls) {tlstm}?
  1748. # | | | +--rw tls
  1749. # | | | +--rw ip inet:host
  1750. # | | | +--rw port? inet:port-number
  1751. # | | | +--rw client-fingerprint? x509c2n:tls-fingerprint
  1752. # | | | +--rw server-fingerprint? x509c2n:tls-fingerprint
  1753. # | | | +--rw server-identity? snmp:admin-string
  1754. # | | +--:(dtls) {tlstm}?
  1755. # | | | +--rw dtls
  1756. # | | | +--rw ip inet:host
  1757. # | | | +--rw port? inet:port-number
  1758. # | | | +--rw client-fingerprint? x509c2n:tls-fingerprint
  1759. # | | | +--rw server-fingerprint? x509c2n:tls-fingerprint
  1760. # | | | +--rw server-identity? snmp:admin-string
  1761. # | | +--:(ssh) {sshtm}?
  1762. # | | +--rw ssh
  1763. # | | +--rw ip inet:host
  1764. # | | +--rw port? inet:port-number
  1765. # | | +--rw username? string
  1766. # | +--rw tag* snmp:tag-value
  1767. # | +--rw timeout? uint32
  1768. # | +--rw retries? uint8
  1769. # | +--rw target-params snmp:identifier
  1770. # | +--rw mms? union
  1771. # +--rw target-params* [name]
  1772. # | +--rw name snmp:identifier
  1773. # | +--rw (params)?
  1774. # | | +--:(v1)
  1775. # | | | +--rw v1
  1776. # | | | +--rw security-name snmp:security-name
  1777. # | | +--:(v2c)
  1778. # | | | +--rw v2c
  1779. # | | | +--rw security-name snmp:security-name
  1780. # | | +--:(usm)
  1781. # | | | +--rw usm
  1782. # | | | +--rw user-name snmp:security-name
  1783. # | | | +--rw security-level snmp:security-level
  1784. # | | +--:(tsm) {tsm}?
  1785. # | | +--rw tsm
  1786. # | | +--rw security-name snmp:security-name
  1787. # | | +--rw security-level snmp:security-level
  1788. # | +--rw notify-filter-profile? -> /snmp/notify-filter-profile/name {snmp:notification-filter}?
  1789. # +--rw notify* [name]
  1790. # | +--rw name snmp:identifier
  1791. # | +--rw tag snmp:tag-value
  1792. # | +--rw type? enumeration
  1793. # +--rw notify-filter-profile* [name] {snmp:notification-filter}?
  1794. # | +--rw name snmp:identifier
  1795. # | +--rw include* snmp:wildcard-object-identifier
  1796. # | +--rw exclude* snmp:wildcard-object-identifier
  1797. # +--rw proxy* [name] {snmp:proxy}?
  1798. # | +--rw name snmp:identifier
  1799. # | +--rw type enumeration
  1800. # | +--rw context-engine-id snmp:engine-id
  1801. # | +--rw context-name? snmp:context-name
  1802. # | +--rw target-params-in? snmp:identifier
  1803. # | +--rw single-target-out? snmp:identifier
  1804. # | +--rw multiple-target-out? snmp:tag-value
  1805. # +--rw community* [index]
  1806. # | +--rw index snmp:identifier
  1807. # | +--rw (name)?
  1808. # | | +--:(text-name)
  1809. # | | | +--rw text-name? string
  1810. # | | +--:(binary-name)
  1811. # | | +--rw binary-name? binary
  1812. # | +--rw security-name snmp:security-name
  1813. # | +--rw engine-id? snmp:engine-id {snmp:proxy}?
  1814. # | +--rw context? snmp:context-name
  1815. # | +--rw target-tag? snmp:tag-value
  1816. # +--rw usm
  1817. # | +--rw local
  1818. # | | +--rw user* [name]
  1819. # | | +--rw name snmp:identifier
  1820. # | | +--rw auth!
  1821. # | | | +--rw (protocol)
  1822. # | | | +--:(md5)
  1823. # | | | | +--rw md5
  1824. # | | | | +--rw key yang:hex-string
  1825. # | | | +--:(sha)
  1826. # | | | +--rw sha
  1827. # | | | +--rw key yang:hex-string
  1828. # | | +--rw priv!
  1829. # | | +--rw (protocol)
  1830. # | | +--:(des)
  1831. # | | | +--rw des
  1832. # | | | +--rw key yang:hex-string
  1833. # | | +--:(aes)
  1834. # | | +--rw aes
  1835. # | | +--rw key yang:hex-string
  1836. # | +--rw remote* [engine-id]
  1837. # | +--rw engine-id snmp:engine-id
  1838. # | +--rw user* [name]
  1839. # | +--rw name snmp:identifier
  1840. # | +--rw auth!
  1841. # | | +--rw (protocol)
  1842. # | | +--:(md5)
  1843. # | | | +--rw md5
  1844. # | | | +--rw key yang:hex-string
  1845. # | | +--:(sha)
  1846. # | | +--rw sha
  1847. # | | +--rw key yang:hex-string
  1848. # | +--rw priv!
  1849. # | +--rw (protocol)
  1850. # | +--:(des)
  1851. # | | +--rw des
  1852. # | | +--rw key yang:hex-string
  1853. # | +--:(aes)
  1854. # | +--rw aes
  1855. # | +--rw key yang:hex-string
  1856. # +--rw tsm {tsm}?
  1857. # | +--rw use-prefix? boolean
  1858. # +--rw vacm
  1859. # | +--rw group* [name]
  1860. # | | +--rw name group-name
  1861. # | | +--rw member* [security-name]
  1862. # | | | +--rw security-name snmp:security-name
  1863. # | | | +--rw security-model* snmp:security-model
  1864. # | | +--rw access* [context security-model security-level]
  1865. # | | +--rw context snmp:context-name
  1866. # | | +--rw context-match? enumeration
  1867. # | | +--rw security-model snmp:security-model-or-any
  1868. # | | +--rw security-level snmp:security-level
  1869. # | | +--rw read-view? view-name
  1870. # | | +--rw write-view? view-name
  1871. # | | +--rw notify-view? view-name
  1872. # | +--rw view* [name]
  1873. # | +--rw name view-name
  1874. # | +--rw include* snmp:wildcard-object-identifier
  1875. # | +--rw exclude* snmp:wildcard-object-identifier
  1876. # +--rw tlstm {tlstm}?
  1877. # +--rw cert-to-name* [id]
  1878. # +--rw id uint32
  1879. # +--rw fingerprint x509c2n:tls-fingerprint
  1880. # +--rw map-type identityref
  1881. # +--rw name string
  1882. #
  1883.  
  1884.  
  1885. >>yttc ietf-system.yang
  1886. data_types:
  1887. authentication:
  1888. properties:
  1889. user:
  1890. description: '[List_of: user] '
  1891. required: false
  1892. user-authentication-order:
  1893. description: '[List_of: user-authentication-order] '
  1894. required: false
  1895. authorized-key:
  1896. properties:
  1897. algorithm:
  1898. required: true
  1899. type: string
  1900. key-data:
  1901. required: true
  1902. name:
  1903. required: false
  1904. type: string
  1905. clock:
  1906. properties:
  1907. timezone-name:
  1908. required: false
  1909. timezone-utc-offset:
  1910. required: false
  1911. type: integer
  1912. config:
  1913. properties:
  1914. system:
  1915. required: false
  1916. type: system
  1917. dns-resolver:
  1918. properties:
  1919. options:
  1920. required: false
  1921. type: options
  1922. search:
  1923. description: '[List_of: search] '
  1924. required: false
  1925. server:
  1926. description: '[List_of: server] '
  1927. required: false
  1928. edit-config:
  1929. properties:
  1930. config:
  1931. type: config
  1932. target:
  1933. default: running
  1934. ntp:
  1935. properties:
  1936. enabled:
  1937. default: 'true'
  1938. required: false
  1939. type: boolean
  1940. server:
  1941. description: '[List_of: server] '
  1942. required: false
  1943. options:
  1944. properties:
  1945. attempts:
  1946. default: '2'
  1947. required: false
  1948. type: integer
  1949. timeout:
  1950. default: '5'
  1951. required: false
  1952. type: integer
  1953. radius:
  1954. properties:
  1955. options:
  1956. required: false
  1957. type: options
  1958. server:
  1959. description: '[List_of: server] '
  1960. required: false
  1961. server:
  1962. properties:
  1963. authentication-type:
  1964. default: radius-pap
  1965. required: false
  1966. name:
  1967. required: false
  1968. type: string
  1969. udp:
  1970. required: false
  1971. type: udp
  1972. set-current-datetime:
  1973. properties:
  1974. current-datetime:
  1975. required: true
  1976. system:
  1977. properties:
  1978. authentication:
  1979. required: false
  1980. type: authentication
  1981. clock:
  1982. required: false
  1983. type: clock
  1984. contact:
  1985. required: false
  1986. type: string
  1987. dns-resolver:
  1988. required: false
  1989. type: dns-resolver
  1990. hostname:
  1991. required: false
  1992. location:
  1993. required: false
  1994. type: string
  1995. ntp:
  1996. required: false
  1997. type: ntp
  1998. radius:
  1999. required: false
  2000. type: radius
  2001. udp:
  2002. properties:
  2003. address:
  2004. required: true
  2005. authentication-port:
  2006. default: '1812'
  2007. required: false
  2008. shared-secret:
  2009. required: true
  2010. type: string
  2011. udp-and-tcp:
  2012. properties:
  2013. address:
  2014. required: true
  2015. port:
  2016. default: '53'
  2017. required: false
  2018. user:
  2019. properties:
  2020. authorized-key:
  2021. description: '[List_of: authorized-key] '
  2022. required: false
  2023. name:
  2024. required: false
  2025. type: string
  2026. password:
  2027. required: false
  2028. node_types:
  2029. ietf-system:
  2030. properties:
  2031. edit-config:
  2032. required: false
  2033. type: edit-config
  2034. metadata:
  2035. default:
  2036. xmlns:
  2037. _: urn:ietf:params:xml:ns:yang:ietf-system
  2038. set-current-datetime:
  2039. required: false
  2040. type: set-current-datetime
  2041. system-restart:
  2042. default: {}
  2043. required: false
  2044. system-shutdown:
  2045. default: {}
  2046. required: false
  2047.  
  2048. #module: ietf-system
  2049. # +--rw system
  2050. # | +--rw contact? string
  2051. # | +--rw hostname? inet:domain-name
  2052. # | +--rw location? string
  2053. # | +--rw clock
  2054. # | | +--rw (timezone)?
  2055. # | | +--:(timezone-name) {timezone-name}?
  2056. # | | | +--rw timezone-name? timezone-name
  2057. # | | +--:(timezone-utc-offset)
  2058. # | | +--rw timezone-utc-offset? int16
  2059. # | +--rw ntp! {ntp}?
  2060. # | | +--rw enabled? boolean
  2061. # | | +--rw server* [name]
  2062. # | | +--rw name string
  2063. # | | +--rw (transport)
  2064. # | | | +--:(udp)
  2065. # | | | +--rw udp
  2066. # | | | +--rw address inet:host
  2067. # | | | +--rw port? inet:port-number {ntp-udp-port}?
  2068. # | | +--rw association-type? enumeration
  2069. # | | +--rw iburst? boolean
  2070. # | | +--rw prefer? boolean
  2071. # | +--rw dns-resolver
  2072. # | | +--rw search* inet:domain-name
  2073. # | | +--rw server* [name]
  2074. # | | | +--rw name string
  2075. # | | | +--rw (transport)
  2076. # | | | +--:(udp-and-tcp)
  2077. # | | | +--rw udp-and-tcp
  2078. # | | | +--rw address inet:ip-address
  2079. # | | | +--rw port? inet:port-number {dns-udp-tcp-port}?
  2080. # | | +--rw options
  2081. # | | +--rw timeout? uint8
  2082. # | | +--rw attempts? uint8
  2083. # | +--rw radius {radius}?
  2084. # | | +--rw server* [name]
  2085. # | | | +--rw name string
  2086. # | | | +--rw (transport)
  2087. # | | | | +--:(udp)
  2088. # | | | | +--rw udp
  2089. # | | | | +--rw address inet:host
  2090. # | | | | +--rw authentication-port? inet:port-number
  2091. # | | | | +--rw shared-secret string
  2092. # | | | +--rw authentication-type? identityref
  2093. # | | +--rw options
  2094. # | | +--rw timeout? uint8
  2095. # | | +--rw attempts? uint8
  2096. # | +--rw authentication {authentication}?
  2097. # | +--rw user-authentication-order* identityref
  2098. # | +--rw user* [name] {local-users}?
  2099. # | +--rw name string
  2100. # | +--rw password? ianach:crypt-hash
  2101. # | +--rw authorized-key* [name]
  2102. # | +--rw name string
  2103. # | +--rw algorithm string
  2104. # | +--rw key-data binary
  2105. # +--ro system-state
  2106. # +--ro platform
  2107. # | +--ro os-name? string
  2108. # | +--ro os-release? string
  2109. # | +--ro os-version? string
  2110. # | +--ro machine? string
  2111. # +--ro clock
  2112. # +--ro current-datetime? yang:date-and-time
  2113. # +--ro boot-datetime? yang:date-and-time
  2114. #rpcs:
  2115. # +---x set-current-datetime
  2116. # | +---w input
  2117. # | +---w current-datetime yang:date-and-time
  2118. # +---x system-restart
  2119. # +---x system-shutdown
  2120. #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement