CSR1000V (IOS16)のRestconfを試してみる

[CSR1000V (IOS16)のNetconf/YANGを試してみる](http://qiita.com/kikuta1978/items/da7957fc3bab511231da)の続編。前回はNetconf/YANGのメモ、今回はRestconfのメモ。メーカーによるとRestconfはIOS-XE 16.4.1では正式サポートではなくベータらしい。なお、混同しがちですが、IOS-XEのREST-API（例：[CSR1000VとPostmanでREST-API](http://qiita.com/kikuta1978/items/0e9e28fa85ff08c883c3)）とは全く別物です。

バージョンや設定は、[こちら](http://qiita.com/kikuta1978/items/da7957fc3bab511231da#%E3%83%90%E3%83%BC%E3%82%B8%E3%83%A7%E3%83%B3)と同じなので省略。

##整理
一つのIOS/IOS-XEでサポートされているデバイスAPI。

 オペレーションまたは機能名| データモデル | メモ |次期
|:-----------|------------|------------|------------|
|CNS* |独自（非公開） | |2001年頃
| WSMA*      |独自（公開） |IOS12.4.24T〜、CNSのOpen実装、内部では使われている|2009年頃
| REST-API  |独自（公開） |Webで検索するとこれを試している人が多い|2014年頃
| PnP Agent  |独自（公開） |[仕様](https://developer.cisco.com/site/open-plug-n-play/)|2015年頃
| Netconf   |独自（公開） |RFC4741/4742ベース、IOS12.4.9T〜|2007年頃
| Netconf |YANG, RFC6020 |RFC6241ベース、本命、IOS16以降、Cat3850やCSR1000Vなどから|2016年〜
| Restconf（本エントリの対象★）|YANG, RFC6020 |RFC8040ベース、本命、IOS16以降、Cat3850やCSR1000Vなどから|2017年〜

*CNS .. Cisco Networking Service
*WSMA .. Web Service Management Agent

##cURLでCapabilityを確認（HTTP/80）
HTTP（ベーシック認証）でCapabilityリソースに対してGETすると、以下の通りリターン。

```bash:bash
~ $curl -u cisco:cisco -H "Accept: application/vnd.yang.data+json" http://10.71.130.58/restconf/api/operational/netconf-state/capabilities --insecure | jq .
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 28795    0 28795    0     0  11710      0 --:--:--  0:00:02 --:--:-- 11710
{
  "ietf-netconf-monitoring:capabilities": {
    "capability": [
      "urn:ietf:params:netconf:base:1.0",
      "urn:ietf:params:netconf:base:1.1",
      "urn:ietf:params:netconf:capability:writable-running:1.0",
      "urn:ietf:params:netconf:capability:xpath:1.0",
      "urn:ietf:params:netconf:capability:validate:1.0",
      "urn:ietf:params:netconf:capability:validate:1.1",
      "urn:ietf:params:netconf:capability:rollback-on-error:1.0",
      "urn:ietf:params:netconf:capability:notification:1.0",
      "urn:ietf:params:netconf:capability:interleave:1.0",
      "http://tail-f.com/ns/netconf/actions/1.0",
      "http://tail-f.com/ns/netconf/extensions",
      "urn:ietf:params:netconf:capability:with-defaults:1.0?basic-mode=explicit&also-supported=report-all-tagged",
      "urn:ietf:params:xml:ns:yang:ietf-netconf-with-defaults?revision=2011-06-01&module=ietf-netconf-with-defaults",
      "http://cisco.com/ns/yang/ned/ios?module=ned&revision=2016-10-24&features=zone,vservice,vpdn,voice,service-insertion,seg-routing,ptp,pfr,otv,mpls-te,mls,l3vpn,l2vpn,intf-service,eth-evc,esmc,controller,card,bridge-domain,bba-group",
      "http://cisco.com/ns/yang/ned/ios/asr1k?module=ned-asr1k&revision=2016-04-07",
      "http://cisco.com/yang/cisco-ia?module=cisco-ia&revision=2016-06-30",
      "http://cisco.com/yang/cisco-odm?module=cisco-odm&revision=2016-08-05",
      "http://cisco.com/yang/cisco-self-mgmt?module=cisco-self-mgmt&revision=2016-05-14",
      "http://tail-f.com/ns/aaa/1.1?module=tailf-aaa&revision=2015-06-16",
      "http://tail-f.com/ns/mibs/IPV6-TC/199812010000Z?module=IPV6-TC&revision=1998-12-01",
      "http://tail-f.com/ns/mibs/SNMP-COMMUNITY-MIB/200308060000Z?module=SNMP-COMMUNITY-MIB&revision=2003-08-06",
      "http://tail-f.com/ns/mibs/SNMP-FRAMEWORK-MIB/200210140000Z?module=SNMP-FRAMEWORK-MIB&revision=2002-10-14",
      "http://tail-f.com/ns/mibs/SNMP-MPD-MIB/200210140000Z?module=SNMP-MPD-MIB&revision=2002-10-14",
      "http://tail-f.com/ns/mibs/SNMP-NOTIFICATION-MIB/200210140000Z?module=SNMP-NOTIFICATION-MIB&revision=2002-10-14",
      "http://tail-f.com/ns/mibs/SNMP-TARGET-MIB/200210140000Z?module=SNMP-TARGET-MIB&revision=2002-10-14",
      "http://tail-f.com/ns/mibs/SNMP-USER-BASED-SM-MIB/200210160000Z?module=SNMP-USER-BASED-SM-MIB&revision=2002-10-16",
      "http://tail-f.com/ns/mibs/SNMP-VIEW-BASED-ACM-MIB/200210160000Z?module=SNMP-VIEW-BASED-ACM-MIB&revision=2002-10-16",
      "http://tail-f.com/ns/mibs/SNMPv2-MIB/200210160000Z?module=SNMPv2-MIB&revision=2002-10-16",
      "http://tail-f.com/ns/mibs/SNMPv2-SMI/1.0?module=SNMPv2-SMI",
      "http://tail-f.com/ns/mibs/SNMPv2-TC/1.0?module=SNMPv2-TC",
      "http://tail-f.com/ns/mibs/TRANSPORT-ADDRESS-MIB/200211010000Z?module=TRANSPORT-ADDRESS-MIB&revision=2002-11-01",
      "http://tail-f.com/ns/webui?module=tailf-webui&revision=2013-03-07",
      "http://tail-f.com/yang/acm?module=tailf-acm&revision=2013-03-07",
      "http://tail-f.com/yang/common-monitoring?module=tailf-common-monitoring&revision=2013-06-14",
      "http://tail-f.com/yang/confd-monitoring?module=tailf-confd-monitoring&revision=2013-06-14",
      "http://tail-f.com/yang/netconf-monitoring?module=tailf-netconf-monitoring&revision=2014-11-13",
      "urn:cisco:params:xml:ns:yang:cisco-acl-oper?module=cisco-acl-oper&revision=2016-03-30",
      "urn:cisco:params:xml:ns:yang:cisco-bfd-state?module=cisco-bfd-state&revision=2015-04-09",
      "urn:cisco:params:xml:ns:yang:cisco-bgp-state?module=cisco-bgp-state&revision=2015-10-16",
      "urn:cisco:params:xml:ns:yang:cisco-bridge-common?module=cisco-bridge-common&revision=2014-09-25&features=configurable-bd-mac-limit-notif,configurable-bd-mac-limit-max,configurable-bd-mac-limit-actions,configurable-bd-mac-aging-types,configurable-bd-flooding-control",
      "urn:cisco:params:xml:ns:yang:cisco-bridge-domain?module=cisco-bridge-domain&revision=2014-12-01&features=parameterized-bridge-domains,configurable-bd-storm-control,configurable-bd-static-mac,configurable-bd-snooping-profiles,configurable-bd-sh-group-number,configurable-bd-mtu,configurable-bd-member-features,configurable-bd-mac-secure,configurable-bd-mac-features,configurable-bd-mac-event-action,configurable-bd-ipsg,configurable-bd-groups,configurable-bd-flooding-mode,configurable-bd-flooding,configurable-bd-dai,clear-bridge-domain",
      "urn:cisco:params:xml:ns:yang:cisco-cfm-stats?module=cisco-cfm-stats&revision=2015-04-09",
      "urn:cisco:params:xml:ns:yang:cisco-cfm-stats-dev?module=cisco-cfm-stats-dev&revision=2015-05-27",
      "urn:cisco:params:xml:ns:yang:cisco-checkpoint-archive?module=cisco-checkpoint-archive&revision=2015-05-20",
      "urn:cisco:params:xml:ns:yang:cisco-efp-stats?module=cisco-efp-stats&revision=2015-07-07",
      "urn:cisco:params:xml:ns:yang:cisco-environment?module=cisco-environment&revision=2015-04-09",
      "urn:cisco:params:xml:ns:yang:cisco-ethernet?module=cisco-ethernet&revision=2016-05-10",
      "urn:cisco:params:xml:ns:yang:cisco-flow-monitor?module=cisco-flow-monitor&revision=2015-10-26",
      "urn:cisco:params:xml:ns:yang:cisco-ip-sla-stats?module=cisco-ip-sla-stats&revision=2015-05-29",
      "urn:cisco:params:xml:ns:yang:cisco-ip-sla-stats-dev?module=cisco-ip-sla-stats-dev&revision=2015-06-30",
      "urn:cisco:params:xml:ns:yang:cisco-lldp-state?module=cisco-lldp-state&revision=2015-04-09",
      "urn:cisco:params:xml:ns:yang:cisco-memory-stats?module=cisco-memory-stats&revision=2015-04-09",
      "urn:cisco:params:xml:ns:yang:cisco-mpls-fwd?module=cisco-mpls-fwd&revision=2015-04-09",
      "urn:cisco:params:xml:ns:yang:cisco-platform-software?module=cisco-platform-software&revision=2015-07-09",
      "urn:cisco:params:xml:ns:yang:cisco-process-cpu?module=cisco-process-cpu&revision=2015-04-09",
      "urn:cisco:params:xml:ns:yang:cisco-process-memory?module=cisco-process-memory&revision=2015-04-09",
      "urn:cisco:params:xml:ns:yang:cisco-qos-action-marking-cfg?module=cisco-qos-action-marking-cfg&revision=2015-05-09&features=set-wlan-user-priority-support,set-vlan-inner-support,set-srp-priority-support,set-qos-grp-support,set-prec-tunnel-support,set-prec-support,set-mpls-exp-top-support,set-mpls-exp-imp-support,set-fr-fecn-becn-support,set-fr-de-support,set-dscp-tunnel-support,set-discard-class-support,set-dei-support,set-dei-imp-support,set-cos-support,set-cos-inner-suppport,set-atm-clp-support",
      "urn:cisco:params:xml:ns:yang:cisco-qos-action-oper?module=cisco-qos-action-oper&revision=2015-05-09&features=queue-peak-size-stats-support,priority-bandwidth-exceed-drops-support,marking-stats-support,drop-pkts-no-buffer-stats-support,drop-pkts-flow-stats-support,aggregate-priority-stats-support",
      "urn:cisco:params:xml:ns:yang:cisco-qos-action-qlimit-cfg?module=cisco-qos-action-qlimit-cfg&revision=2015-05-09&features=qos-grp-based-queuing-support,mpls-exp-based-queuing-support,disc-class-based-queuing-support",
      "urn:cisco:params:xml:ns:yang:cisco-qos-common?module=cisco-qos-common&revision=2015-05-09",
      "urn:cisco:params:xml:ns:yang:cisco-routing-ext?module=cisco-routing-ext&revision=2016-07-09",
      "urn:cisco:params:xml:ns:yang:cisco-storm-control?module=cisco-storm-control&revision=2014-09-25&features=configurable-storm-control-actions",
      "urn:cisco:params:xml:ns:yang:cisco-virtual-service?module=cisco-virtual-service&revision=2016-04-19",
      "urn:cisco:params:xml:ns:yang:govern?module=govern&revision=2014-07-16",
      "urn:cisco:params:xml:ns:yang:pim?module=pim&revision=2014-06-27&features=bsr,auto-rp",
      "urn:cisco:params:xml:ns:yang:pw?module=cisco-pw&revision=2014-12-01&features=static-label-direct-config,pw-vccv,pw-tag-impose-vlan-id,pw-status-config,pw-static-oam-config,pw-short-config,pw-sequencing,pw-preferred-path,pw-port-profiles,pw-oam-refresh-config,pw-mac-withdraw-config,pw-load-balancing,pw-ipv6-source,pw-interface,pw-grouping-config,pw-class-tag-rewrite,pw-class-switchover-delay,pw-class-status,pw-class-source-ip,pw-class-flow-setting,preferred-path-peer,predictive-redundancy-config,flow-label-tlv-code17,flow-label-static-config",
      "urn:cisco:params:xml:ns:yang:table-map?module=cisco-table-map&revision=2015-05-19&features=table-map-template-support",
      "urn:ietf:params:xml:ns:yang:c3pl-types?module=policy-types&revision=2013-10-07&features=protocol-name-support,match-wlan-user-priority-support,match-vpls-support,match-vlan-support,match-vlan-inner-support,match-src-mac-support,match-security-group-support,match-qos-group-support,match-prec-support,match-packet-length-support,match-mpls-exp-top-support,match-mpls-exp-imp-support,match-metadata-support,match-ipv6-acl-support,match-ipv6-acl-name-support,match-ipv4-acl-support,match-ipv4-acl-name-support,match-ip-rtp-support,match-input-interface-support,match-fr-dlci-support,match-fr-de-support,match-flow-record-support,match-flow-ip-support,match-dst-mac-support,match-discard-class-support,match-dei-support,match-dei-inner-support,match-cos-support,match-cos-inner-support,match-class-map-support,match-atm-vci-support,match-atm-clp-support,match-application-support",
      "urn:ietf:params:xml:ns:yang:cisco-ospf?module=cisco-ospf&revision=2016-03-30&features=graceful-shutdown,flood-reduction,database-filter",
      "urn:ietf:params:xml:ns:yang:cisco-policy?module=cisco-policy&revision=2016-03-30",
      "urn:ietf:params:xml:ns:yang:cisco-policy-filters?module=cisco-policy-filters&revision=2016-03-30",
      "urn:ietf:params:xml:ns:yang:cisco-policy-target?module=cisco-policy-target&revision=2016-03-30",
      "urn:ietf:params:xml:ns:yang:common-mpls-static?module=common-mpls-static&revision=2015-07-22&deviations=common-mpls-static-devs",
      "urn:ietf:params:xml:ns:yang:common-mpls-types?module=common-mpls-types&revision=2015-05-28",
      "urn:ietf:params:xml:ns:yang:iana-crypt-hash?module=iana-crypt-hash&revision=2014-04-04&features=crypt-hash-sha-512,crypt-hash-sha-256,crypt-hash-md5",
      "urn:ietf:params:xml:ns:yang:iana-if-type?module=iana-if-type&revision=2014-05-08",
      "urn:ietf:params:xml:ns:yang:ietf-diffserv-action?module=ietf-diffserv-action&revision=2015-04-07&features=priority-rate-burst-support,hierarchial-policy-support,aqm-red-support",
      "urn:ietf:params:xml:ns:yang:ietf-diffserv-classifier?module=ietf-diffserv-classifier&revision=2015-04-07&features=policy-inline-classifier-config",
      "urn:ietf:params:xml:ns:yang:ietf-diffserv-policy?module=ietf-diffserv-policy&revision=2015-04-07&features=policy-template-support,hierarchial-policy-support",
      "urn:ietf:params:xml:ns:yang:ietf-diffserv-target?module=ietf-diffserv-target&revision=2015-04-07&features=target-inline-policy-config",
      "urn:ietf:params:xml:ns:yang:ietf-inet-types?module=ietf-inet-types&revision=2013-07-15",
      "urn:ietf:params:xml:ns:yang:ietf-interfaces?module=ietf-interfaces&revision=2014-05-08&features=pre-provisioning,if-mib,arbitrary-names&deviations=ietf-ip-devs",
      "urn:ietf:params:xml:ns:yang:ietf-interfaces-ext?module=ietf-interfaces-ext",
      "urn:ietf:params:xml:ns:yang:ietf-ip?module=ietf-ip&revision=2014-06-16&features=ipv6-privacy-autoconf,ipv4-non-contiguous-netmasks",
      "urn:ietf:params:xml:ns:yang:ietf-ipv4-unicast-routing?module=ietf-ipv4-unicast-routing&revision=2015-05-25",
      "urn:ietf:params:xml:ns:yang:ietf-ipv6-unicast-routing?module=ietf-ipv6-unicast-routing&revision=2015-05-25",
      "urn:ietf:params:xml:ns:yang:ietf-key-chain?module=ietf-key-chain&revision=2015-02-24&features=independent-send-accept-lifetime,hex-key-string,accept-tolerance",
      "urn:ietf:params:xml:ns:yang:ietf-netconf-acm?module=ietf-netconf-acm&revision=2012-02-22",
      "urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring?module=ietf-netconf-monitoring&revision=2010-10-04",
      "urn:ietf:params:xml:ns:yang:ietf-netconf-notifications?module=ietf-netconf-notifications&revision=2012-02-06",
      "urn:ietf:params:xml:ns:yang:ietf-ospf?module=ietf-ospf&revision=2015-03-09&features=ttl-security,te-rid,router-id,remote-lfa,prefix-suppression,ospfv3-authentication-ipsec,nsr,node-flag,multi-topology,multi-area-adj,mtu-ignore,max-lsa,max-ecmp,lls,lfa,ldp-igp-sync,ldp-igp-autoconfig,interface-inheritance,instance-inheritance,graceful-restart,fast-reroute,demand-circuit,bfd,auto-cost,area-inheritance,admin-control&deviations=ietf-ospf-devs",
      "urn:ietf:params:xml:ns:yang:ietf-routing?module=ietf-routing&revision=2015-05-25&features=router-id,multiple-ribs&deviations=ietf-ipv4-unicast-routing-devs,ietf-ipv6-unicast-routing-devs,ietf-ospf-devs,ietf-routing-devs",
      "urn:ietf:params:xml:ns:yang:ietf-yang-smiv2?module=ietf-yang-smiv2&revision=2012-06-22",
      "urn:ietf:params:xml:ns:yang:ietf-yang-types?module=ietf-yang-types&revision=2013-07-15",
      "urn:ietf:params:xml:ns:yang:mpls-ldp?module=mpls-ldp&revision=2014-09-19&features=mpls-ldp-nsr,mpls-ldp-iccp,mpls-ldp-extended,mpls-ldp-bgp",
      "urn:ietf:params:xml:ns:yang:nvo?module=nvo&revision=2015-06-02&deviations=nvo-devs",
      "urn:ietf:params:xml:ns:yang:policy-attr?module=policy-attr&revision=2015-04-27",
      "urn:ietf:params:xml:ns:yang:smiv2:ATM-FORUM-TC-MIB?module=ATM-FORUM-TC-MIB",
      "urn:ietf:params:xml:ns:yang:smiv2:ATM-MIB?module=ATM-MIB&revision=1998-10-19",
      "urn:ietf:params:xml:ns:yang:smiv2:ATM-TC-MIB?module=ATM-TC-MIB&revision=1998-10-19",
      "urn:ietf:params:xml:ns:yang:smiv2:BGP4-MIB?module=BGP4-MIB&revision=1994-05-05",
      "urn:ietf:params:xml:ns:yang:smiv2:BRIDGE-MIB?module=BRIDGE-MIB&revision=2005-09-19",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-AAA-SERVER-MIB?module=CISCO-AAA-SERVER-MIB&revision=2003-11-17",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-AAA-SESSION-MIB?module=CISCO-AAA-SESSION-MIB&revision=2006-03-21",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-AAL5-MIB?module=CISCO-AAL5-MIB&revision=2003-09-22",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-ATM-EXT-MIB?module=CISCO-ATM-EXT-MIB&revision=2003-01-06",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-ATM-PVCTRAP-EXTN-MIB?module=CISCO-ATM-PVCTRAP-EXTN-MIB&revision=2003-01-20",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-ATM-QOS-MIB?module=CISCO-ATM-QOS-MIB&revision=2002-06-10",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-BGP-POLICY-ACCOUNTING-MIB?module=CISCO-BGP-POLICY-ACCOUNTING-MIB&revision=2002-07-26",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-BGP4-MIB?module=CISCO-BGP4-MIB&revision=2010-09-30",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-BULK-FILE-MIB?module=CISCO-BULK-FILE-MIB&revision=2002-06-10",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-CBP-TARGET-MIB?module=CISCO-CBP-TARGET-MIB&revision=2006-05-24",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-CBP-TARGET-TC-MIB?module=CISCO-CBP-TARGET-TC-MIB&revision=2006-03-24",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-CBP-TC-MIB?module=CISCO-CBP-TC-MIB&revision=2008-06-24",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-CDP-MIB?module=CISCO-CDP-MIB&revision=2005-03-21",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-CEF-TC?module=CISCO-CEF-TC&revision=2005-09-30",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-CONFIG-COPY-MIB?module=CISCO-CONFIG-COPY-MIB&revision=2005-04-06",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-CONFIG-MAN-MIB?module=CISCO-CONFIG-MAN-MIB&revision=2007-04-27",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-CONTEXT-MAPPING-MIB?module=CISCO-CONTEXT-MAPPING-MIB&revision=2008-11-22",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-DATA-COLLECTION-MIB?module=CISCO-DATA-COLLECTION-MIB&revision=2002-10-30",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-DIAL-CONTROL-MIB?module=CISCO-DIAL-CONTROL-MIB&revision=2005-05-26",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-DOT3-OAM-MIB?module=CISCO-DOT3-OAM-MIB&revision=2006-05-31",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-DYNAMIC-TEMPLATE-MIB?module=CISCO-DYNAMIC-TEMPLATE-MIB&revision=2007-09-06",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-DYNAMIC-TEMPLATE-TC-MIB?module=CISCO-DYNAMIC-TEMPLATE-TC-MIB&revision=2012-01-27",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-EIGRP-MIB?module=CISCO-EIGRP-MIB&revision=2004-11-16",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-EMBEDDED-EVENT-MGR-MIB?module=CISCO-EMBEDDED-EVENT-MGR-MIB&revision=2006-11-07",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-ENTITY-ALARM-MIB?module=CISCO-ENTITY-ALARM-MIB&revision=1999-07-06",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-ENTITY-FRU-CONTROL-MIB?module=CISCO-ENTITY-FRU-CONTROL-MIB&revision=2013-08-19",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-ENTITY-SENSOR-MIB?module=CISCO-ENTITY-SENSOR-MIB&revision=2015-01-15",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-ENTITY-VENDORTYPE-OID-MIB?module=CISCO-ENTITY-VENDORTYPE-OID-MIB&revision=2014-12-09",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-ETHERLIKE-EXT-MIB?module=CISCO-ETHERLIKE-EXT-MIB&revision=2010-06-04",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-FIREWALL-TC?module=CISCO-FIREWALL-TC&revision=2006-03-03",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-FTP-CLIENT-MIB?module=CISCO-FTP-CLIENT-MIB&revision=2006-03-31",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-HSRP-EXT-MIB?module=CISCO-HSRP-EXT-MIB&revision=2010-09-02",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-HSRP-MIB?module=CISCO-HSRP-MIB&revision=2010-09-06",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-IETF-ATM2-PVCTRAP-MIB?module=CISCO-IETF-ATM2-PVCTRAP-MIB&revision=1998-02-03",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-IETF-ATM2-PVCTRAP-MIB-EXTN?module=CISCO-IETF-ATM2-PVCTRAP-MIB-EXTN&revision=2000-07-11",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-IETF-BFD-MIB?module=CISCO-IETF-BFD-MIB&revision=2011-04-16",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-IETF-FRR-MIB?module=CISCO-IETF-FRR-MIB&revision=2008-04-29",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-IETF-ISIS-MIB?module=CISCO-IETF-ISIS-MIB&revision=2005-08-16",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-IETF-MPLS-ID-STD-03-MIB?module=CISCO-IETF-MPLS-ID-STD-03-MIB&revision=2012-06-07",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-IETF-MPLS-TE-EXT-STD-03-MIB?module=CISCO-IETF-MPLS-TE-EXT-STD-03-MIB&revision=2012-06-06",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-IETF-PW-ATM-MIB?module=CISCO-IETF-PW-ATM-MIB&revision=2005-04-19",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-IETF-PW-ENET-MIB?module=CISCO-IETF-PW-ENET-MIB&revision=2002-09-22",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-IETF-PW-MIB?module=CISCO-IETF-PW-MIB&revision=2004-03-17",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-IETF-PW-MPLS-MIB?module=CISCO-IETF-PW-MPLS-MIB&revision=2003-02-26",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-IETF-PW-TC-MIB?module=CISCO-IETF-PW-TC-MIB&revision=2006-07-21",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-IETF-PW-TDM-MIB?module=CISCO-IETF-PW-TDM-MIB&revision=2006-07-21",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-IF-EXTENSION-MIB?module=CISCO-IF-EXTENSION-MIB&revision=2013-03-13",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-IMAGE-LICENSE-MGMT-MIB?module=CISCO-IMAGE-LICENSE-MGMT-MIB&revision=2007-10-16",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-IMAGE-MIB?module=CISCO-IMAGE-MIB&revision=1995-08-15",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-IP-LOCAL-POOL-MIB?module=CISCO-IP-LOCAL-POOL-MIB&revision=2007-11-12",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-IP-TAP-MIB?module=CISCO-IP-TAP-MIB&revision=2004-03-11",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-IP-URPF-MIB?module=CISCO-IP-URPF-MIB&revision=2011-12-29",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-IPMROUTE-MIB?module=CISCO-IPMROUTE-MIB&revision=2005-03-07",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-IPSEC-FLOW-MONITOR-MIB?module=CISCO-IPSEC-FLOW-MONITOR-MIB&revision=2007-10-24",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-IPSEC-POLICY-MAP-MIB?module=CISCO-IPSEC-POLICY-MAP-MIB&revision=2000-08-17",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-IPSLA-AUTOMEASURE-MIB?module=CISCO-IPSLA-AUTOMEASURE-MIB&revision=2007-06-13",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-IPSLA-ECHO-MIB?module=CISCO-IPSLA-ECHO-MIB&revision=2007-08-16",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-IPSLA-JITTER-MIB?module=CISCO-IPSLA-JITTER-MIB&revision=2007-07-24",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-IPSLA-TC-MIB?module=CISCO-IPSLA-TC-MIB&revision=2007-03-23",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-MEDIA-GATEWAY-MIB?module=CISCO-MEDIA-GATEWAY-MIB&revision=2009-02-25",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-MPLS-LSR-EXT-STD-MIB?module=CISCO-MPLS-LSR-EXT-STD-MIB&revision=2012-04-30",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-MPLS-TC-EXT-STD-MIB?module=CISCO-MPLS-TC-EXT-STD-MIB&revision=2012-02-22",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-NBAR-PROTOCOL-DISCOVERY-MIB?module=CISCO-NBAR-PROTOCOL-DISCOVERY-MIB&revision=2002-08-16",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-NTP-MIB?module=CISCO-NTP-MIB&revision=2006-07-31",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-OSPF-MIB?module=CISCO-OSPF-MIB&revision=2003-07-18",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-OSPF-TRAP-MIB?module=CISCO-OSPF-TRAP-MIB&revision=2003-07-18",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-PIM-MIB?module=CISCO-PIM-MIB&revision=2000-11-02",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-PING-MIB?module=CISCO-PING-MIB&revision=2001-08-28",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-PRODUCTS-MIB?module=CISCO-PRODUCTS-MIB&revision=2014-11-06",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-PTP-MIB?module=CISCO-PTP-MIB&revision=2011-01-28",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-QOS-PIB-MIB?module=CISCO-QOS-PIB-MIB&revision=2007-08-29",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-RADIUS-EXT-MIB?module=CISCO-RADIUS-EXT-MIB&revision=2010-05-25",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-RF-MIB?module=CISCO-RF-MIB&revision=2005-09-01",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-RTTMON-TC-MIB?module=CISCO-RTTMON-TC-MIB&revision=2012-05-25",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-SESS-BORDER-CTRLR-CALL-STATS-MIB?module=CISCO-SESS-BORDER-CTRLR-CALL-STATS-MIB&revision=2010-09-03",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-SESS-BORDER-CTRLR-STATS-MIB?module=CISCO-SESS-BORDER-CTRLR-STATS-MIB&revision=2010-09-15",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-SMI?module=CISCO-SMI&revision=2012-08-29",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-SONET-MIB?module=CISCO-SONET-MIB&revision=2003-03-07",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-ST-TC?module=CISCO-ST-TC&revision=2012-08-08",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-STP-EXTENSIONS-MIB?module=CISCO-STP-EXTENSIONS-MIB&revision=2013-03-07",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-SUBSCRIBER-IDENTITY-TC-MIB?module=CISCO-SUBSCRIBER-IDENTITY-TC-MIB&revision=2011-12-23",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-SUBSCRIBER-SESSION-MIB?module=CISCO-SUBSCRIBER-SESSION-MIB&revision=2012-08-08",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-SUBSCRIBER-SESSION-TC-MIB?module=CISCO-SUBSCRIBER-SESSION-TC-MIB&revision=2012-01-27",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-SYSLOG-MIB?module=CISCO-SYSLOG-MIB&revision=2005-12-03",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-TAP2-MIB?module=CISCO-TAP2-MIB&revision=2009-11-06",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-TC?module=CISCO-TC&revision=2011-11-11",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-UBE-MIB?module=CISCO-UBE-MIB&revision=2010-11-29",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-VLAN-IFTABLE-RELATIONSHIP-MIB?module=CISCO-VLAN-IFTABLE-RELATIONSHIP-MIB&revision=2013-07-15",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-VLAN-MEMBERSHIP-MIB?module=CISCO-VLAN-MEMBERSHIP-MIB&revision=2007-12-14",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-VOICE-COMMON-DIAL-CONTROL-MIB?module=CISCO-VOICE-COMMON-DIAL-CONTROL-MIB&revision=2010-06-30",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-VOICE-DIAL-CONTROL-MIB?module=CISCO-VOICE-DIAL-CONTROL-MIB&revision=2012-05-15",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-VOICE-DNIS-MIB?module=CISCO-VOICE-DNIS-MIB&revision=2002-05-01",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-VPDN-MGMT-MIB?module=CISCO-VPDN-MGMT-MIB&revision=2009-06-16",
      "urn:ietf:params:xml:ns:yang:smiv2:CISCO-VTP-MIB?module=CISCO-VTP-MIB&revision=2013-10-14",
      "urn:ietf:params:xml:ns:yang:smiv2:DIAL-CONTROL-MIB?module=DIAL-CONTROL-MIB&revision=1996-09-23",
      "urn:ietf:params:xml:ns:yang:smiv2:DIFFSERV-DSCP-TC?module=DIFFSERV-DSCP-TC&revision=2002-05-09",
      "urn:ietf:params:xml:ns:yang:smiv2:DIFFSERV-MIB?module=DIFFSERV-MIB&revision=2002-02-07",
      "urn:ietf:params:xml:ns:yang:smiv2:DISMAN-EVENT-MIB?module=DISMAN-EVENT-MIB&revision=2000-10-16",
      "urn:ietf:params:xml:ns:yang:smiv2:DISMAN-EXPRESSION-MIB?module=DISMAN-EXPRESSION-MIB&revision=2000-10-16",
      "urn:ietf:params:xml:ns:yang:smiv2:DRAFT-MSDP-MIB?module=DRAFT-MSDP-MIB&revision=1999-12-16",
      "urn:ietf:params:xml:ns:yang:smiv2:DS1-MIB?module=DS1-MIB&revision=1998-08-01",
      "urn:ietf:params:xml:ns:yang:smiv2:DS3-MIB?module=DS3-MIB&revision=1998-08-01",
      "urn:ietf:params:xml:ns:yang:smiv2:ENTITY-MIB?module=ENTITY-MIB&revision=2005-08-10",
      "urn:ietf:params:xml:ns:yang:smiv2:ENTITY-SENSOR-MIB?module=ENTITY-SENSOR-MIB&revision=2002-12-16",
      "urn:ietf:params:xml:ns:yang:smiv2:ENTITY-STATE-MIB?module=ENTITY-STATE-MIB&revision=2005-11-22",
      "urn:ietf:params:xml:ns:yang:smiv2:ENTITY-STATE-TC-MIB?module=ENTITY-STATE-TC-MIB&revision=2005-11-22",
      "urn:ietf:params:xml:ns:yang:smiv2:ETHER-WIS?module=ETHER-WIS&revision=2003-09-19",
      "urn:ietf:params:xml:ns:yang:smiv2:EXPRESSION-MIB?module=EXPRESSION-MIB&revision=2005-11-24",
      "urn:ietf:params:xml:ns:yang:smiv2:EtherLike-MIB?module=EtherLike-MIB&revision=2003-09-19",
      "urn:ietf:params:xml:ns:yang:smiv2:FRAME-RELAY-DTE-MIB?module=FRAME-RELAY-DTE-MIB&revision=1997-05-01",
      "urn:ietf:params:xml:ns:yang:smiv2:HCNUM-TC?module=HCNUM-TC&revision=2000-06-08",
      "urn:ietf:params:xml:ns:yang:smiv2:IANA-ADDRESS-FAMILY-NUMBERS-MIB?module=IANA-ADDRESS-FAMILY-NUMBERS-MIB&revision=2000-09-08",
      "urn:ietf:params:xml:ns:yang:smiv2:IANA-RTPROTO-MIB?module=IANA-RTPROTO-MIB&revision=2000-09-26",
      "urn:ietf:params:xml:ns:yang:smiv2:IANAifType-MIB?module=IANAifType-MIB&revision=2006-03-31",
      "urn:ietf:params:xml:ns:yang:smiv2:IEEE8021-TC-MIB?module=IEEE8021-TC-MIB&revision=2008-10-15",
      "urn:ietf:params:xml:ns:yang:smiv2:IF-MIB?module=IF-MIB&revision=2000-06-14",
      "urn:ietf:params:xml:ns:yang:smiv2:IGMP-STD-MIB?module=IGMP-STD-MIB&revision=2000-09-28",
      "urn:ietf:params:xml:ns:yang:smiv2:INET-ADDRESS-MIB?module=INET-ADDRESS-MIB&revision=2005-02-04",
      "urn:ietf:params:xml:ns:yang:smiv2:INT-SERV-MIB?module=INT-SERV-MIB&revision=1997-10-03",
      "urn:ietf:params:xml:ns:yang:smiv2:INTEGRATED-SERVICES-MIB?module=INTEGRATED-SERVICES-MIB&revision=1995-11-03",
      "urn:ietf:params:xml:ns:yang:smiv2:IP-FORWARD-MIB?module=IP-FORWARD-MIB&revision=1996-09-19",
      "urn:ietf:params:xml:ns:yang:smiv2:IP-MIB?module=IP-MIB&revision=2006-02-02",
      "urn:ietf:params:xml:ns:yang:smiv2:IPMROUTE-STD-MIB?module=IPMROUTE-STD-MIB&revision=2000-09-22",
      "urn:ietf:params:xml:ns:yang:smiv2:IPV6-FLOW-LABEL-MIB?module=IPV6-FLOW-LABEL-MIB&revision=2003-08-28",
      "urn:ietf:params:xml:ns:yang:smiv2:MPLS-L3VPN-STD-MIB?module=MPLS-L3VPN-STD-MIB&revision=2006-01-23",
      "urn:ietf:params:xml:ns:yang:smiv2:MPLS-LDP-GENERIC-STD-MIB?module=MPLS-LDP-GENERIC-STD-MIB&revision=2004-06-03",
      "urn:ietf:params:xml:ns:yang:smiv2:MPLS-LDP-STD-MIB?module=MPLS-LDP-STD-MIB&revision=2004-06-03",
      "urn:ietf:params:xml:ns:yang:smiv2:MPLS-LSR-STD-MIB?module=MPLS-LSR-STD-MIB&revision=2004-06-03",
      "urn:ietf:params:xml:ns:yang:smiv2:MPLS-TC-MIB?module=MPLS-TC-MIB&revision=2001-01-04",
      "urn:ietf:params:xml:ns:yang:smiv2:MPLS-TC-STD-MIB?module=MPLS-TC-STD-MIB&revision=2004-06-03",
      "urn:ietf:params:xml:ns:yang:smiv2:MPLS-TE-STD-MIB?module=MPLS-TE-STD-MIB&revision=2004-06-03",
      "urn:ietf:params:xml:ns:yang:smiv2:NHRP-MIB?module=NHRP-MIB&revision=1999-08-26",
      "urn:ietf:params:xml:ns:yang:smiv2:NOTIFICATION-LOG-MIB?module=NOTIFICATION-LOG-MIB&revision=2000-11-27",
      "urn:ietf:params:xml:ns:yang:smiv2:OSPF-MIB?module=OSPF-MIB&revision=2006-11-10",
      "urn:ietf:params:xml:ns:yang:smiv2:OSPF-TRAP-MIB?module=OSPF-TRAP-MIB&revision=2006-11-10",
      "urn:ietf:params:xml:ns:yang:smiv2:P-BRIDGE-MIB?module=P-BRIDGE-MIB&revision=2006-01-09",
      "urn:ietf:params:xml:ns:yang:smiv2:PIM-MIB?module=PIM-MIB&revision=2000-09-28",
      "urn:ietf:params:xml:ns:yang:smiv2:PerfHist-TC-MIB?module=PerfHist-TC-MIB&revision=1998-11-07",
      "urn:ietf:params:xml:ns:yang:smiv2:RFC-1212?module=RFC-1212",
      "urn:ietf:params:xml:ns:yang:smiv2:RFC-1215?module=RFC-1215",
      "urn:ietf:params:xml:ns:yang:smiv2:RFC1155-SMI?module=RFC1155-SMI",
      "urn:ietf:params:xml:ns:yang:smiv2:RFC1315-MIB?module=RFC1315-MIB",
      "urn:ietf:params:xml:ns:yang:smiv2:RMON-MIB?module=RMON-MIB&revision=2000-05-11",
      "urn:ietf:params:xml:ns:yang:smiv2:RSVP-MIB?module=RSVP-MIB&revision=1998-08-25",
      "urn:ietf:params:xml:ns:yang:smiv2:SNMP-FRAMEWORK-MIB?module=SNMP-FRAMEWORK-MIB&revision=2002-10-14",
      "urn:ietf:params:xml:ns:yang:smiv2:SNMP-PROXY-MIB?module=SNMP-PROXY-MIB&revision=2002-10-14",
      "urn:ietf:params:xml:ns:yang:smiv2:SNMP-TARGET-MIB?module=SNMP-TARGET-MIB&revision=1998-08-04",
      "urn:ietf:params:xml:ns:yang:smiv2:SNMPv2-MIB?module=SNMPv2-MIB&revision=2002-10-16",
      "urn:ietf:params:xml:ns:yang:smiv2:SNMPv2-TC?module=SNMPv2-TC",
      "urn:ietf:params:xml:ns:yang:smiv2:SONET-MIB?module=SONET-MIB&revision=2003-08-11",
      "urn:ietf:params:xml:ns:yang:smiv2:TCP-MIB?module=TCP-MIB&revision=2005-02-18",
      "urn:ietf:params:xml:ns:yang:smiv2:TOKEN-RING-RMON-MIB?module=TOKEN-RING-RMON-MIB",
      "urn:ietf:params:xml:ns:yang:smiv2:TOKENRING-MIB?module=TOKENRING-MIB&revision=1994-10-23",
      "urn:ietf:params:xml:ns:yang:smiv2:TUNNEL-MIB?module=TUNNEL-MIB&revision=2005-05-16",
      "urn:ietf:params:xml:ns:yang:smiv2:UDP-MIB?module=UDP-MIB&revision=2005-05-20",
      "urn:ietf:params:xml:ns:yang:smiv2:VPN-TC-STD-MIB?module=VPN-TC-STD-MIB&revision=2005-11-15"
    ]
  }
}
```

##PythonでConfigをget（HTTP/80）
PythonでRunning Configを取得。ものすごくシンプルですね。

```py3:restconf.py
import requests
import json

url = "http://10.71.130.58/restconf/api/running/native/"
header = {
    "Accept": "application/vnd.yang.data+json",
    "authorization": "Basic Y2lzY286Y2lzY28="
}

r = requests.get(url, data=payload, headers=header, verify=False)

print(r.text)
```

```json:return
{
  "ned:native": {
    "version": "16.4",
    "boot-start-marker": [null],
    "boot-end-marker": [null],
    "service": {
      "timestamps": {
      }
    },
    "platform": {
      "console": {
      }
    },
    "hostname": "CSR-2",
    "enable": {
      "secret": {
        "type": "5",
        "secret": "$1$gi3J$VCM0Q9b3ZbHjDmBPhHG8i1"
      }
    },
    "username": [
      {
        "name": "admin"
      },
      {
        "name": "cisco"
      },
      {
        "name": "testuser"
      }
    ],
    "flow": {
      "exporter": [
        {
          "name": "test"
        }
      ]
    },
    "ip": {
      "domain": {
        "lookup": false,
        "name": "solse.local"
      },
      "forward-protocol": {
        "protocol": "nd"
      },
      "http": {
        "authentication": {
          "local": [null]
        },
        "server": true,
        "secure-server": true
      },
      "route": {
        "ip-route-interface-forwarding-list": [
          {
            "prefix": "0.0.0.0",
            "mask": "0.0.0.0"
          }
        ]
      },
      "ssh": {
        "rsa": {
          "keypair-name": "ssh-key"
        },
        "version": 2
      },
      "access-list": {
        "extended": [
          {
            "name": "IP-Adm-V4-Int-ACL-global"
          },
          {
            "name": "implicit_deny"
          },
          {
            "name": "preauth_v4"
          },
          {
            "name": "test-ansible"
          }
        ]
      }
    },
    "ipv6": {
      "access-list": {
        "named-acl": [
          {
            "name": "implicit_deny_v6"
          },
          {
            "name": "preauth_v6"
          }
        ]
      }
    },
    "interface": {
      "GigabitEthernet": [
        {
          "name": "1"
        },
        {
          "name": "2"
        },
        {
          "name": "3"
        }
      ],
      "Loopback": [
        {
          "name": 0
        }
      ]
    },
    "banner": {
      "motd": {
        "start-marker": "^CHello",
        "message": "Ansible"
      }
    },
    "diagnostic": {
      "bootup": {
        "level": "minimal"
      }
    },
    "control-plane": {
    },
    "line": {
      "console": [
        {
          "first": "0"
        }
      ],
      "vty": [
        {
          "first": 0
        }
      ]
    },
    "multilink": {
      "bundle-name": "authenticated"
    },
    "redundancy": {
    },
    "spanning-tree": {
      "extend": {
        "system-id": [null]
      }
    },
    "subscriber": {
      "templating": [null]
    },
    "aaa": {
      "new-model": [null],
      "authorization": {
        "exec": [
          {
            "name": "default"
          }
        ]
      },
      "session-id": "common"
    },
    "crypto": {
      "pki": {
        "certificate": {
          "chain": [
            {
              "name": "TP-self-signed-4057790232"
            }
          ]
        },
        "trustpoint": [
          {
            "id": "TP-self-signed-4057790232"
          }
        ]
      }
    },
    "virtual-service": [
      {
        "name": "csr_mgmt"
      }
    ],
    "snmp-server": {
      "community": [
        {
          "name": "NMS_private"
        },
        {
          "name": "NMS_public"
        },
        {
          "name": "private"
        },
        {
          "name": "public"
        }
      ]
    },
    "license": {
      "udi": {
        "pid": "CSR1000V",
        "sn": "94A08OEI6IF"
      }
    }
  }
}
```

##Pythonでoperational resource（HTTP/80）を取得。

```py3:restconf2.py
import requests
import json

url = "http://10.71.130.58/restconf/api/operational/netconf-state/schemas"
header = {
    "Accept": "application/vnd.yang.data+json",
    "authorization": "Basic Y2lzY286Y2lzY28="
}

r = requests.get(url, data=payload, headers=header, verify=False)

print(r.text)
```

```json:return
{
  "ietf-netconf-monitoring:schemas": {
    "schema": [
      {
        "identifier": "ATM-FORUM-TC-MIB",
        "version": "",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "ATM-MIB",
        "version": "1998-10-19",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "ATM-TC-MIB",
        "version": "1998-10-19",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "BGP4-MIB",
        "version": "1994-05-05",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "BRIDGE-MIB",
        "version": "2005-09-19",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-AAA-SERVER-MIB",
        "version": "2003-11-17",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-AAA-SESSION-MIB",
        "version": "2006-03-21",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-AAL5-MIB",
        "version": "2003-09-22",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-ATM-EXT-MIB",
        "version": "2003-01-06",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-ATM-PVCTRAP-EXTN-MIB",
        "version": "2003-01-20",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-ATM-QOS-MIB",
        "version": "2002-06-10",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-BGP-POLICY-ACCOUNTING-MIB",
        "version": "2002-07-26",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-BGP4-MIB",
        "version": "2010-09-30",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-BULK-FILE-MIB",
        "version": "2002-06-10",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-CBP-TARGET-MIB",
        "version": "2006-05-24",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-CBP-TARGET-TC-MIB",
        "version": "2006-03-24",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-CBP-TC-MIB",
        "version": "2008-06-24",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-CDP-MIB",
        "version": "2005-03-21",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-CEF-TC",
        "version": "2005-09-30",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-CONFIG-COPY-MIB",
        "version": "2005-04-06",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-CONFIG-MAN-MIB",
        "version": "2007-04-27",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-CONTEXT-MAPPING-MIB",
        "version": "2008-11-22",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-DATA-COLLECTION-MIB",
        "version": "2002-10-30",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-DIAL-CONTROL-MIB",
        "version": "2005-05-26",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-DOT3-OAM-MIB",
        "version": "2006-05-31",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-DYNAMIC-TEMPLATE-MIB",
        "version": "2007-09-06",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-DYNAMIC-TEMPLATE-TC-MIB",
        "version": "2012-01-27",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-EIGRP-MIB",
        "version": "2004-11-16",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-EMBEDDED-EVENT-MGR-MIB",
        "version": "2006-11-07",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-ENTITY-ALARM-MIB",
        "version": "1999-07-06",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-ENTITY-FRU-CONTROL-MIB",
        "version": "2013-08-19",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-ENTITY-SENSOR-MIB",
        "version": "2015-01-15",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-ENTITY-VENDORTYPE-OID-MIB",
        "version": "2014-12-09",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-ETHERLIKE-EXT-MIB",
        "version": "2010-06-04",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-FIREWALL-TC",
        "version": "2006-03-03",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-FTP-CLIENT-MIB",
        "version": "2006-03-31",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-HSRP-EXT-MIB",
        "version": "2010-09-02",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-HSRP-MIB",
        "version": "2010-09-06",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-IETF-ATM2-PVCTRAP-MIB",
        "version": "1998-02-03",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-IETF-ATM2-PVCTRAP-MIB-EXTN",
        "version": "2000-07-11",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-IETF-BFD-MIB",
        "version": "2011-04-16",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-IETF-FRR-MIB",
        "version": "2008-04-29",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-IETF-ISIS-MIB",
        "version": "2005-08-16",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-IETF-MPLS-ID-STD-03-MIB",
        "version": "2012-06-07",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-IETF-MPLS-TE-EXT-STD-03-MIB",
        "version": "2012-06-06",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-IETF-PW-ATM-MIB",
        "version": "2005-04-19",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-IETF-PW-ENET-MIB",
        "version": "2002-09-22",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-IETF-PW-MIB",
        "version": "2004-03-17",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-IETF-PW-MPLS-MIB",
        "version": "2003-02-26",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-IETF-PW-TC-MIB",
        "version": "2006-07-21",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-IETF-PW-TDM-MIB",
        "version": "2006-07-21",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-IF-EXTENSION-MIB",
        "version": "2013-03-13",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-IMAGE-LICENSE-MGMT-MIB",
        "version": "2007-10-16",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-IMAGE-MIB",
        "version": "1995-08-15",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-IP-LOCAL-POOL-MIB",
        "version": "2007-11-12",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-IP-TAP-MIB",
        "version": "2004-03-11",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-IP-URPF-MIB",
        "version": "2011-12-29",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-IPMROUTE-MIB",
        "version": "2005-03-07",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-IPSEC-FLOW-MONITOR-MIB",
        "version": "2007-10-24",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-IPSEC-POLICY-MAP-MIB",
        "version": "2000-08-17",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-IPSLA-AUTOMEASURE-MIB",
        "version": "2007-06-13",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-IPSLA-ECHO-MIB",
        "version": "2007-08-16",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-IPSLA-JITTER-MIB",
        "version": "2007-07-24",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-IPSLA-TC-MIB",
        "version": "2007-03-23",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-MEDIA-GATEWAY-MIB",
        "version": "2009-02-25",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-MPLS-LSR-EXT-STD-MIB",
        "version": "2012-04-30",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-MPLS-TC-EXT-STD-MIB",
        "version": "2012-02-22",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-NBAR-PROTOCOL-DISCOVERY-MIB",
        "version": "2002-08-16",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-NTP-MIB",
        "version": "2006-07-31",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-OSPF-MIB",
        "version": "2003-07-18",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-OSPF-TRAP-MIB",
        "version": "2003-07-18",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-PIM-MIB",
        "version": "2000-11-02",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-PING-MIB",
        "version": "2001-08-28",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-PRODUCTS-MIB",
        "version": "2014-11-06",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-PTP-MIB",
        "version": "2011-01-28",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-QOS-PIB-MIB",
        "version": "2007-08-29",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-RADIUS-EXT-MIB",
        "version": "2010-05-25",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-RF-MIB",
        "version": "2005-09-01",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-RTTMON-TC-MIB",
        "version": "2012-05-25",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-SESS-BORDER-CTRLR-CALL-STATS-MIB",
        "version": "2010-09-03",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-SESS-BORDER-CTRLR-STATS-MIB",
        "version": "2010-09-15",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-SMI",
        "version": "2012-08-29",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-SONET-MIB",
        "version": "2003-03-07",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-ST-TC",
        "version": "2012-08-08",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-STP-EXTENSIONS-MIB",
        "version": "2013-03-07",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-SUBSCRIBER-IDENTITY-TC-MIB",
        "version": "2011-12-23",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-SUBSCRIBER-SESSION-MIB",
        "version": "2012-08-08",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-SUBSCRIBER-SESSION-TC-MIB",
        "version": "2012-01-27",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-SYSLOG-MIB",
        "version": "2005-12-03",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-TAP2-MIB",
        "version": "2009-11-06",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-TC",
        "version": "2011-11-11",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-UBE-MIB",
        "version": "2010-11-29",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-VLAN-IFTABLE-RELATIONSHIP-MIB",
        "version": "2013-07-15",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-VLAN-MEMBERSHIP-MIB",
        "version": "2007-12-14",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-VOICE-COMMON-DIAL-CONTROL-MIB",
        "version": "2010-06-30",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-VOICE-DIAL-CONTROL-MIB",
        "version": "2012-05-15",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-VOICE-DNIS-MIB",
        "version": "2002-05-01",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-VPDN-MGMT-MIB",
        "version": "2009-06-16",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "CISCO-VTP-MIB",
        "version": "2013-10-14",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "DIAL-CONTROL-MIB",
        "version": "1996-09-23",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "DIFFSERV-DSCP-TC",
        "version": "2002-05-09",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "DIFFSERV-MIB",
        "version": "2002-02-07",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "DISMAN-EVENT-MIB",
        "version": "2000-10-16",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "DISMAN-EXPRESSION-MIB",
        "version": "2000-10-16",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "DRAFT-MSDP-MIB",
        "version": "1999-12-16",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "DS1-MIB",
        "version": "1998-08-01",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "DS3-MIB",
        "version": "1998-08-01",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "ENTITY-MIB",
        "version": "2005-08-10",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "ENTITY-SENSOR-MIB",
        "version": "2002-12-16",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "ENTITY-STATE-MIB",
        "version": "2005-11-22",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "ENTITY-STATE-TC-MIB",
        "version": "2005-11-22",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "ETHER-WIS",
        "version": "2003-09-19",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "EXPRESSION-MIB",
        "version": "2005-11-24",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "EtherLike-MIB",
        "version": "2003-09-19",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "FRAME-RELAY-DTE-MIB",
        "version": "1997-05-01",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "HCNUM-TC",
        "version": "2000-06-08",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "IANA-ADDRESS-FAMILY-NUMBERS-MIB",
        "version": "2000-09-08",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "IANA-RTPROTO-MIB",
        "version": "2000-09-26",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "IANAifType-MIB",
        "version": "2006-03-31",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "IEEE8021-TC-MIB",
        "version": "2008-10-15",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "IF-MIB",
        "version": "2000-06-14",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "IGMP-STD-MIB",
        "version": "2000-09-28",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "INET-ADDRESS-MIB",
        "version": "2005-02-04",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "INT-SERV-MIB",
        "version": "1997-10-03",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "INTEGRATED-SERVICES-MIB",
        "version": "1995-11-03",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "IP-FORWARD-MIB",
        "version": "1996-09-19",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "IP-MIB",
        "version": "2006-02-02",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "IPMROUTE-STD-MIB",
        "version": "2000-09-22",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "IPV6-FLOW-LABEL-MIB",
        "version": "2003-08-28",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "MPLS-L3VPN-STD-MIB",
        "version": "2006-01-23",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "MPLS-LDP-GENERIC-STD-MIB",
        "version": "2004-06-03",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "MPLS-LDP-STD-MIB",
        "version": "2004-06-03",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "MPLS-LSR-STD-MIB",
        "version": "2004-06-03",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "MPLS-TC-MIB",
        "version": "2001-01-04",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "MPLS-TC-STD-MIB",
        "version": "2004-06-03",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "MPLS-TE-STD-MIB",
        "version": "2004-06-03",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "NHRP-MIB",
        "version": "1999-08-26",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "NOTIFICATION-LOG-MIB",
        "version": "2000-11-27",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "OSPF-MIB",
        "version": "2006-11-10",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "OSPF-TRAP-MIB",
        "version": "2006-11-10",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "P-BRIDGE-MIB",
        "version": "2006-01-09",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "PIM-MIB",
        "version": "2000-09-28",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "PerfHist-TC-MIB",
        "version": "1998-11-07",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "RFC-1212",
        "version": "",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "RFC-1215",
        "version": "",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "RFC1155-SMI",
        "version": "",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "RFC1315-MIB",
        "version": "",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "RMON-MIB",
        "version": "2000-05-11",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "RSVP-MIB",
        "version": "1998-08-25",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "SNMP-FRAMEWORK-MIB",
        "version": "2002-10-14",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "SNMP-PROXY-MIB",
        "version": "2002-10-14",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "SNMP-TARGET-MIB",
        "version": "1998-08-04",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "SNMPv2-MIB",
        "version": "2002-10-16",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "SNMPv2-TC",
        "version": "",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "SONET-MIB",
        "version": "2003-08-11",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "TCP-MIB",
        "version": "2005-02-18",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "TOKEN-RING-RMON-MIB",
        "version": "",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "TOKENRING-MIB",
        "version": "1994-10-23",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "TUNNEL-MIB",
        "version": "2005-05-16",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "UDP-MIB",
        "version": "2005-05-20",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "VPN-TC-STD-MIB",
        "version": "2005-11-15",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "cisco-acl-oper",
        "version": "2016-03-30",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "cisco-acl-oper-ann",
        "version": "2016-03-30",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "cisco-bfd-state",
        "version": "2015-04-09",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "cisco-bgp-state",
        "version": "2015-10-16",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "cisco-bgp-state-ann",
        "version": "2016-03-30",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "cisco-bridge-common",
        "version": "2014-09-25",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "cisco-bridge-domain",
        "version": "2014-12-01",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "cisco-cfm-stats",
        "version": "2015-04-09",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "cisco-cfm-stats-dev",
        "version": "2015-05-27",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "cisco-checkpoint-archive",
        "version": "2015-05-20",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "cisco-efp-stats",
        "version": "2015-07-07",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "cisco-environment",
        "version": "2015-04-09",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "cisco-ethernet",
        "version": "2016-05-10",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "cisco-flow-monitor",
        "version": "2015-10-26",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "cisco-ia",
        "version": "2016-06-30",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "cisco-ip-sla-stats",
        "version": "2015-05-29",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "cisco-ip-sla-stats-dev",
        "version": "2015-06-30",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "cisco-lldp-state",
        "version": "2015-04-09",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "cisco-memory-stats",
        "version": "2015-04-09",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "cisco-mpls-fwd",
        "version": "2015-04-09",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "cisco-odm",
        "version": "2016-08-05",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "cisco-ospf",
        "version": "2016-03-30",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "cisco-ospf-ann",
        "version": "2016-03-30",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "cisco-platform-software",
        "version": "2015-07-09",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "cisco-policy",
        "version": "2016-03-30",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "cisco-policy-filters",
        "version": "2016-03-30",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "cisco-policy-target",
        "version": "2016-03-30",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "cisco-process-cpu",
        "version": "2015-04-09",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "cisco-process-memory",
        "version": "2015-04-09",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "cisco-pw",
        "version": "2014-12-01",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "cisco-qos-action-marking-cfg",
        "version": "2015-05-09",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "cisco-qos-action-oper",
        "version": "2015-05-09",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "cisco-qos-action-oper-ann",
        "version": "2016-03-30",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "cisco-qos-action-qlimit-cfg",
        "version": "2015-05-09",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "cisco-qos-common",
        "version": "2015-05-09",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "cisco-routing-ext",
        "version": "2016-07-09",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "cisco-self-mgmt",
        "version": "2016-05-14",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "cisco-storm-control",
        "version": "2014-09-25",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "cisco-table-map",
        "version": "2015-05-19",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "cisco-virtual-service",
        "version": "2016-04-19",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "common-mpls-static",
        "version": "2015-07-22",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "common-mpls-static-ann",
        "version": "2016-03-30",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "common-mpls-static-devs",
        "version": "2015-09-11",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "common-mpls-types",
        "version": "2015-05-28",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "govern",
        "version": "2014-07-16",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "iana-crypt-hash",
        "version": "2014-04-04",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "iana-if-type",
        "version": "2014-05-08",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "ietf-diffserv-action",
        "version": "2015-04-07",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "ietf-diffserv-classifier",
        "version": "2015-04-07",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "ietf-diffserv-classifier-ann",
        "version": "2016-03-30",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "ietf-diffserv-policy",
        "version": "2015-04-07",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "ietf-diffserv-policy-ann",
        "version": "2016-03-30",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "ietf-diffserv-target",
        "version": "2015-04-07",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "ietf-diffserv-target-ann",
        "version": "2016-03-30",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "ietf-inet-types",
        "version": "2013-07-15",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "ietf-interfaces",
        "version": "2014-05-08",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "ietf-interfaces-ann",
        "version": "2016-03-30",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "ietf-interfaces-ext",
        "version": "",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "ietf-ip",
        "version": "2014-06-16",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "ietf-ip-ann",
        "version": "2016-05-10",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "ietf-ip-devs",
        "version": "2016-08-10",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "ietf-ipv4-unicast-routing",
        "version": "2015-05-25",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "ietf-ipv4-unicast-routing-ann",
        "version": "2016-03-30",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "ietf-ipv4-unicast-routing-devs",
        "version": "2015-09-11",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "ietf-ipv6-unicast-routing",
        "version": "2015-05-25",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "ietf-ipv6-unicast-routing-ann",
        "version": "2016-03-30",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "ietf-ipv6-unicast-routing-devs",
        "version": "2015-09-11",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "ietf-key-chain",
        "version": "2015-02-24",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "ietf-netconf",
        "version": "2011-06-01",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "ietf-netconf-acm",
        "version": "2012-02-22",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "ietf-netconf-monitoring",
        "version": "2010-10-04",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "ietf-netconf-notifications",
        "version": "2012-02-06",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "ietf-netconf-with-defaults",
        "version": "2011-06-01",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "ietf-ospf",
        "version": "2015-03-09",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "ietf-ospf-ann",
        "version": "2016-03-30",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "ietf-ospf-devs",
        "version": "2015-09-11",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "ietf-routing",
        "version": "2015-05-25",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "ietf-routing-ann",
        "version": "2016-03-30",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "ietf-routing-devs",
        "version": "2016-07-09",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "ietf-yang-smiv2",
        "version": "2012-06-22",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "ietf-yang-types",
        "version": "2013-07-15",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "mpls-ldp",
        "version": "2014-09-19",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "ned",
        "version": "2016-10-24",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "ned-asr1k",
        "version": "2016-04-07",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "nvo",
        "version": "2015-06-02",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "nvo-ann",
        "version": "2016-03-30",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "nvo-devs",
        "version": "2015-09-11",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "pim",
        "version": "2014-06-27",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "policy-attr",
        "version": "2015-04-27",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "policy-types",
        "version": "2013-10-07",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "tailf-acm",
        "version": "2013-03-07",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "tailf-cli-extensions",
        "version": "2016-05-04",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "tailf-common",
        "version": "2016-05-04",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "tailf-common-monitoring",
        "version": "2013-06-14",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "tailf-common-query",
        "version": "2015-03-19",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "tailf-confd-monitoring",
        "version": "2013-06-14",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "tailf-meta-extensions",
        "version": "2013-11-07",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "tailf-netconf-inactive",
        "version": "",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "tailf-netconf-monitoring",
        "version": "2014-11-13",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "tailf-netconf-query",
        "version": "2014-11-13",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "tailf-netconf-transactions",
        "version": "",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "tailf-rest-error",
        "version": "",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "tailf-rest-query",
        "version": "2014-11-13",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "tailf-webui",
        "version": "2013-03-07",
        "format": "ietf-netconf-monitoring:yang"
      },
      {
        "identifier": "tailf-xsd-types",
        "version": "2009-03-17",
        "format": "ietf-netconf-monitoring:yang"
      }
    ]
  }
}
```