{"id":260878,"date":"2015-07-07T17:03:04","date_gmt":"2015-07-07T13:03:04","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=260878"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=260878","title":{"rendered":"\u041d\u0430\u0447\u0430\u043b\u043e \u0440\u0430\u0431\u043e\u0442\u044b \u0441 Junos PyEZ"},"content":{"rendered":"<p>     \t\u0421\u0435\u0439\u0447\u0430\u0441 \u043e\u0447\u0435\u043d\u044c \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u0430 \u0442\u0435\u043c\u0430 \u0441\u0435\u0442\u0435\u0432\u043e\u0439 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438. \u041e\u0434\u043d\u0438\u043c \u0438\u0437 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u0442\u0430\u043a\u043e\u0439 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0432 \u043c\u0438\u0440\u0435 Juniper \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 PyEZ, \u0440\u0430\u0437\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u043c\u0430\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 \u0414\u0436\u0435\u0440\u0435\u043c\u0438 \u0428\u0443\u043b\u044c\u043c\u0430\u043d\u0430 (Jeremy Schulman). PyEZ \u2014 \u044d\u0442\u043e \u043c\u0438\u043a\u0440\u043e-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a \u0434\u043b\u044f \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0438 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 Juniper, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Python. \u041e\u0441\u043d\u043e\u0432\u043d\u044b\u043c \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u043e\u043c PyEZ \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0435\u0433\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u0442\u0430 \u0438 \u043d\u0430\u0446\u0435\u043b\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u043d\u0430 \u0430\u0443\u0434\u0438\u0442\u043e\u0440\u0438\u044e \u0441\u0435\u0442\u0435\u0432\u044b\u0445 \u0438\u043d\u0436\u0435\u043d\u0435\u0440\u043e\u0432, \u0430 \u043d\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u043e\u0432.<\/p>\n<p>  \u041d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 PyEZ:  <\/p>\n<ul>\n<li>\u0421\u0431\u043e\u0440 \u00ab\u0444\u0430\u043a\u0442\u043e\u0432\u00bb, \u0442\u0430\u043a\u0438\u0445 \u043a\u0430\u043a \u0441\u0435\u0440\u0438\u0439\u043d\u044b\u0439 \u043d\u043e\u043c\u0435\u0440, \u0432\u0435\u0440\u0441\u0438\u044f \u041e\u0421 \u0438 \u0442.\u0434.<\/li>\n<li>\u0418\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0439 (\u0430\u043d\u0430\u043b\u043e\u0433 \u043a\u043e\u043c\u0430\u043d\u0434 show) \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438<\/li>\n<li>\u0418\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438<\/li>\n<li>\u0418\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438<\/li>\n<\/ul>\n<p>  \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u0431\u044b \u0445\u043e\u0442\u0435\u043b \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c\u0441\u044f \u043d\u0430 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u044f \u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u043a\u043e\u043c\u043c\u0443\u0442\u0430\u0442\u043e\u0440\u0430 EX4200.<br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h4>\u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430 \u043a \u0440\u0430\u0431\u043e\u0442\u0435<\/h4>\n<p>  <\/p>\n<ol>\n<li>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0441\u0430\u043c\u043e\u0433\u043e \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 \u0441\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u043a \u043e\u0434\u043d\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u0435:\n<pre><code class=\"bash\">pip install junos-eznc <\/code><\/pre>\n<p>  \u041d\u0430 \u043c\u043e\u0435\u0439 Ubuntu 14.04 \u0432\u0441\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u043e\u0441\u044c \u0431\u0435\u0437 \u043f\u0440\u043e\u0431\u043b\u0435\u043c, \u043d\u043e \u0435\u0441\u043b\u0438 \u0432\u0434\u0440\u0443\u0433 \u2014 <a href=\"https:\/\/techwiki.juniper.net\/Automation_Scripting\/010_Getting_Started_and_Reference\/Junos_PyEZ\/Installation\">\u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e \u043f\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u0443\u044e \u0432\u0438\u043a\u0438-\u0441\u0442\u0440\u0430\u043d\u0438\u0447\u043a\u0443.<\/a>  <\/li>\n<li>\u0414\u043b\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043d\u0430 \u0441\u0435\u0442\u0435\u0432\u044b\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 PyEZ \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b NETCONF, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c.\n<pre><code>set system services netconf ssh <\/code><\/pre>\n<p>  NETCONF \u0432 \u0441\u0432\u043e\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043f\u043e\u0432\u0435\u0440\u0445 SSH, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0443\u0431\u0435\u0434\u0438\u0442\u0435\u0441\u044c \u0447\u0442\u043e SSH \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d \u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0430 \u0443\u0447\u0435\u0442\u043d\u0430\u044f \u0437\u0430\u043f\u0438\u0441\u044c \u0434\u043b\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043d\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e.  <\/li>\n<\/ol>\n<p>  \u041d\u0430 \u0434\u0430\u043d\u043d\u043e\u043c \u044d\u0442\u0430\u043f\u0435 \u0432\u0441\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u0433\u043e\u0442\u043e\u0432\u043e \u043a \u0440\u0430\u0431\u043e\u0442\u0435. \u0414\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u043a \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0443 \u0438 \u0441\u043d\u044f\u0442\u044c \u0431\u0430\u0437\u043e\u0432\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e.<\/p>\n<pre><code class=\"python\">dteslya@ubuntu:~$ python Python 2.7.6 (default, Mar 22 2014, 22:59:56)  [GCC 4.8.2] on linux2 Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information. &gt;&gt;&gt; from pprint import pprint &gt;&gt;&gt; from jnpr.junos import Device &gt;&gt;&gt; dev = Device(host='1.2.3.4')    &gt;&gt;&gt; dev Device(1.2.3.4) &gt;&gt;&gt; dev.open() Device(1.2.3.4) &gt;&gt;&gt; pprint(dev.facts) {'2RE': True,  'HOME': '\/var\/home\/dteslya',  'RE0': {'last_reboot_reason': 'Router rebooted after a normal shutdown.',          'mastership_state': 'master',          'model': 'EX4200-24F',          'status': 'OK',          'up_time': '2 days, 3 hours, 34 minutes, 40 seconds'},  'domain': None,  'fqdn': 'SW1',  'hostname': 'SW1',  'ifd_style': 'SWITCH',  'master': 'RE0',  'model': 'EX4200-24F',  'personality': 'SWITCH',  'serialnumber': '',  'switch_style': 'VLAN',  'vc_capable': True,  'version': '12.3R8.7',  'version_RE0': '12.3R8.7',  'version_info': junos.version_info(major=(12, 3), type=R, minor=8, build=7)} &gt;&gt;&gt; dev.close() &gt;&gt;&gt; <\/code><\/pre>\n<p>  \u041f\u043e\u044f\u0441\u043d\u044e, \u0447\u0442\u043e \u0437\u0434\u0435\u0441\u044c \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442. \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u0434\u0432\u0430 \u043a\u043b\u0430\u0441\u0441\u0430: \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 pprint \u0434\u043b\u044f \u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u0432\u044b\u0432\u043e\u0434\u0430 \u0438 Device \u0438\u0437 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 PyEZ. \u0414\u0430\u043b\u0435\u0435 \u043e\u0431\u044a\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0441\u0430\u043c\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e, \u043a \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u0431\u0443\u0434\u0435\u043c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0442\u044c\u0441\u044f. \u041f\u0440\u0438 \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0438 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e IP-\u0430\u0434\u0440\u0435\u0441, \u0442\u043e\u0433\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0430 \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f \u043f\u043e \u043a\u043b\u044e\u0447\u0443, \u0430 \u0438\u043c\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0431\u0443\u0434\u0435\u0442 \u0432\u0437\u044f\u0442\u043e \u0438\u0437 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u0441\u0440\u0435\u0434\u044b $USER. \u041e\u043f\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e \u043c\u043e\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0438\u043c\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0438 \u043f\u0430\u0440\u043e\u043b\u044c \u0434\u043b\u044f \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0446\u0438\u043a\u0430\u0446\u0438\u0438 \u043f\u043e \u043f\u0430\u0440\u043e\u043b\u044e (\u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u043e\u043f\u044f\u0442\u044c \u0436\u0435 \u043d\u0430 <a href=\"https:\/\/techwiki.juniper.net\/Automation_Scripting\/010_Getting_Started_and_Reference\/Junos_PyEZ\/Device_Connectivity\">\u0432\u0438\u043a\u0438<\/a>). \u0417\u0430\u0442\u0435\u043c \u0438\u0434\u0435\u0442 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0443 \u0438 \u0441\u0431\u043e\u0440 \u00ab\u0444\u0430\u043a\u0442\u043e\u0432\u00bb, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u044b\u0432\u043e\u0434\u044f\u0442\u0441\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e pprint, \u043f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u0435\u0442\u0441\u044f.<\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u043a \u0431\u043e\u043b\u0435\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f PyEZ.<\/p>\n<h4>\u041f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0437\u0430\u0434\u0430\u0447\u0438<\/h4>\n<p>  \u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0437\u0430\u0434\u0430\u0447\u0443 \u043e\u043f\u0440\u043e\u0441\u0430 \u043a\u043e\u043c\u043c\u0443\u0442\u0430\u0442\u043e\u0440\u043e\u0432 \u0438 \u0441\u043d\u044f\u0442\u0438\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e \u0442\u043e\u043f\u043e\u043b\u043e\u0433\u0438\u0438 Spanning Tree. \u0413\u0440\u0443\u0431\u043e \u0433\u043e\u0432\u043e\u0440\u044f, \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u0439\u0442\u0438\u0441\u044c \u043f\u043e \u043a\u043e\u043c\u043c\u0443\u0442\u0430\u0442\u043e\u0440\u0430\u043c \u0438 \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u0441\u043f\u0438\u0441\u043e\u043a \u043f\u043e\u0440\u0442\u043e\u0432 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043a\u043e\u043c\u043c\u0443\u0442\u0430\u0442\u043e\u0440\u0430 \u0441 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0435\u043c \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f STP.<\/p>\n<h4>Junos CLI<\/h4>\n<p>  \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043a\u0430\u043a \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0442\u0430\u043a\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f CLI.<\/p>\n<pre><code>dteslya@SW1&gt; show spanning-tree interface      Spanning tree interface parameters for instance 0  Interface    Port ID    Designated      Designated         Port    State  Role                          port ID        bridge ID          Cost ge-0\/0\/23.0    128:536      128:536  32768.54e032fdeb41     20000  DIS    DIS   xe-0\/1\/0.0     128:561      128:691  32768.3c94d5902981      2000  FWD    ROOT  xe-0\/1\/2.0     128:563      128:563  32768.54e032fdeb41      2000  FWD    DESG   {master:0} <\/code><\/pre>\n<h4>Junos XML<\/h4>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u043a\u0430\u043a \u044d\u0442\u043e \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u00ab\u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435\u00bb, \u0442.\u0435. \u0432 XML.  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">show spanning-tree interface | display xml<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"xml\">dteslya@SW1&gt; show spanning-tree interface | display xml &lt;rpc-reply xmlns:junos=&quot;http:\/\/xml.juniper.net\/junos\/12.3R8\/junos&quot;&gt;     &lt;stp-interface-information&gt;         &lt;stp-instance&gt;             &lt;instance-id&gt;0&lt;\/instance-id&gt;             &lt;stp-interfaces junos:style=&quot;brief&quot;&gt;                 &lt;stp-interface-entry&gt;                     &lt;interface-name&gt;ge-0\/0\/23.0&lt;\/interface-name&gt;                     &lt;port-number junos:format=&quot;128:536&quot;&gt;                         536                     &lt;\/port-number&gt;                     &lt;port-priority&gt;128&lt;\/port-priority&gt;                     &lt;designated-port-number junos:format=&quot;128:536&quot;&gt;                         536                     &lt;\/designated-port-number&gt;                     &lt;designated-port-priority&gt;128&lt;\/designated-port-priority&gt;                     &lt;port-cost&gt;20000&lt;\/port-cost&gt;                     &lt;port-state&gt;DIS&lt;\/port-state&gt;                     &lt;designated-bridge-mac junos:format=&quot;32768.54e032fdeb41&quot;&gt;                         54e032fdeb41                     &lt;\/designated-bridge-mac&gt;                     &lt;designated-bridge-priority&gt;32768&lt;\/designated-bridge-priority&gt;                     &lt;port-role&gt;DIS&lt;\/port-role&gt;                 &lt;\/stp-interface-entry&gt;                 &lt;stp-interface-entry&gt;                     &lt;interface-name&gt;xe-0\/1\/0.0&lt;\/interface-name&gt;                     &lt;port-number junos:format=&quot;128:561&quot;&gt;                         561                     &lt;\/port-number&gt;                     &lt;port-priority&gt;128&lt;\/port-priority&gt;                     &lt;designated-port-number junos:format=&quot;128:691&quot;&gt;                         691                     &lt;\/designated-port-number&gt;                     &lt;designated-port-priority&gt;128&lt;\/designated-port-priority&gt;                     &lt;port-cost&gt;2000&lt;\/port-cost&gt;                     &lt;port-state&gt;FWD&lt;\/port-state&gt;                     &lt;designated-bridge-mac junos:format=&quot;32768.3c94d5902981&quot;&gt;                         3c94d5902981                     &lt;\/designated-bridge-mac&gt;                     &lt;designated-bridge-priority&gt;32768&lt;\/designated-bridge-priority&gt;                     &lt;port-role&gt;ROOT&lt;\/port-role&gt;                 &lt;\/stp-interface-entry&gt;                 &lt;stp-interface-entry&gt;                     &lt;interface-name&gt;xe-0\/1\/2.0&lt;\/interface-name&gt;                     &lt;port-number junos:format=&quot;128:563&quot;&gt;                         563                     &lt;\/port-number&gt;                     &lt;port-priority&gt;128&lt;\/port-priority&gt;                     &lt;designated-port-number junos:format=&quot;128:563&quot;&gt;                         563                     &lt;\/designated-port-number&gt;                     &lt;designated-port-priority&gt;128&lt;\/designated-port-priority&gt;                     &lt;port-cost&gt;2000&lt;\/port-cost&gt;                     &lt;port-state&gt;FWD&lt;\/port-state&gt;                     &lt;designated-bridge-mac junos:format=&quot;32768.54e032fdeb41&quot;&gt;                     &lt;designated-port-priority&gt;128&lt;\/designated-port-priority&gt;                     &lt;port-cost&gt;20000&lt;\/port-cost&gt;                     &lt;port-state&gt;DIS&lt;\/port-state&gt;                     &lt;designated-bridge-mac junos:format=&quot;32768.54e032fdeb41&quot;&gt;                         54e032fdeb41                     &lt;\/designated-bridge-mac&gt;                     &lt;designated-bridge-priority&gt;32768&lt;\/designated-bridge-priority&gt;                     &lt;port-role&gt;DIS&lt;\/port-role&gt;                 &lt;\/stp-interface-entry&gt;                 &lt;stp-interface-entry&gt;                     &lt;interface-name&gt;xe-0\/1\/0.0&lt;\/interface-name&gt;                     &lt;port-number junos:format=&quot;128:561&quot;&gt;                         561                     &lt;\/port-number&gt;                     &lt;port-priority&gt;128&lt;\/port-priority&gt;                     &lt;designated-port-number junos:format=&quot;128:691&quot;&gt;                         691                     &lt;\/designated-port-number&gt;                     &lt;designated-port-priority&gt;128&lt;\/designated-port-priority&gt;                     &lt;port-cost&gt;2000&lt;\/port-cost&gt;                     &lt;port-state&gt;FWD&lt;\/port-state&gt;                     &lt;designated-bridge-mac junos:format=&quot;32768.3c94d5902981&quot;&gt;                         3c94d5902981                     &lt;\/designated-bridge-mac&gt;                     &lt;designated-bridge-priority&gt;32768&lt;\/designated-bridge-priority&gt;                     &lt;port-role&gt;ROOT&lt;\/port-role&gt;                 &lt;\/stp-interface-entry&gt;                 &lt;stp-interface-entry&gt;                     &lt;interface-name&gt;xe-0\/1\/2.0&lt;\/interface-name&gt;                     &lt;port-number junos:format=&quot;128:563&quot;&gt;                         563                     &lt;\/port-number&gt;                     &lt;port-priority&gt;128&lt;\/port-priority&gt;                     &lt;designated-port-number junos:format=&quot;128:563&quot;&gt;                         563                     &lt;\/designated-port-number&gt;                     &lt;designated-port-priority&gt;128&lt;\/designated-port-priority&gt;                     &lt;port-cost&gt;2000&lt;\/port-cost&gt;                     &lt;port-state&gt;FWD&lt;\/port-state&gt;                     &lt;designated-bridge-mac junos:format=&quot;32768.54e032fdeb41&quot;&gt;                         54e032fdeb41                         &lt;\/designated-bridge-mac&gt;                     &lt;designated-bridge-priority&gt;32768&lt;\/designated-bridge-priority&gt;                     &lt;port-role&gt;DESG&lt;\/port-role&gt;                 &lt;\/stp-interface-entry&gt;             &lt;\/stp-interfaces&gt;         &lt;\/stp-instance&gt;     &lt;\/stp-interface-information&gt;     &lt;cli&gt;         &lt;banner&gt;{master:0}&lt;\/banner&gt;     &lt;\/cli&gt; &lt;\/rpc-reply&gt;  {master:0} <\/code><\/pre>\n<\/div>\n<\/div>\n<p>  \u0422\u0443\u0442 \u0441\u0442\u043e\u0438\u0442 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043e\u0442\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u0435 \u0438 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043e \u043f\u043e\u0434\u0445\u043e\u0434\u0435, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u043e\u043c PyEZ \u0434\u043b\u044f \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u044f \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0438 \u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0439 (running state) \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u0438\u0437 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0432\u0432\u043e\u0434\u044f\u0442\u0441\u044f \u043f\u043e\u043d\u044f\u0442\u0438\u044f \u0442\u0430\u0431\u043b\u0438\u0446 (Tables) \u0438 \u0432\u044b\u0431\u043e\u0440\u043e\u043a (Views). \u0415\u0441\u043b\u0438 \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u0442\u044c \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u044e \u0441 \u0431\u0430\u0437\u0430\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u0445, \u0442\u043e \u0432 Junos \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u00ab\u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u0430\u044f \u0431\u0430\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445\u00bb, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u043d\u0430\u0431\u043e\u0440\u0430 \u0442\u0430\u0431\u043b\u0438\u0446. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 show route \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u0438, \u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 show interfaces \u2014 \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u0432. \u0412 \u0441\u0432\u043e\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c Views, \u0442.\u0435. \u0432\u044b\u0431\u043e\u0440\u043a\u0438, \u044d\u0442\u043e \u0441\u043f\u043e\u0441\u043e\u0431 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u0438\u0437 \u0442\u0430\u0431\u043b\u0438\u0446. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, show route protocol ospf \u043f\u043e\u043a\u0430\u0436\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u044b \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0435 \u043f\u043e OSPF, \u0442.\u0435. \u0432\u044b\u0431\u043e\u0440\u043a\u0443 \u0438\u0437 \u0432\u0441\u0435\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u0438.<\/p>\n<h4>YAML<\/h4>\n<p>  \u0412\u0435\u0440\u043d\u0435\u043c\u0441\u044f \u043a \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u043e\u043c\u0443 XML. \u041d\u0430\u0441 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u044e\u0442 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b &lt;stp-interface-entry&gt; \u0438 \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0435 \u0432 \u043d\u0438\u0445 &lt;interface-name&gt;, &lt;port-state&gt; \u0438 &lt;port-role&gt;. \u0427\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u044d\u0442\u0438\u043c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u043c, \u043d\u0443\u0436\u043d\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u0438 \u0432\u044b\u0431\u043e\u0440\u043a\u0443. \u042d\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u043c YAML-\u0444\u0430\u0439\u043b\u0435.<\/p>\n<pre><code>--- STPInterfaces:   rpc: get-stp-bridge-interface-information   item: stp-instance\/stp-interfaces\/stp-interface-entry   key: interface-name   view: STPInterfacesView    STPInterfacesView:   fields:     state: port-state     role: port-role <\/code><\/pre>\n<p>  \u041f\u0440\u043e\u0439\u0434\u0435\u043c\u0441\u044f \u043f\u043e \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u043c\u0443:  <\/p>\n<ul>\n<li><b>STPInterfaces<\/b> \u2014 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u044b. \u041c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043b\u044e\u0431\u044b\u043c.<\/li>\n<li><b>rpc<\/b> \u2014 \u043a\u043e\u043c\u0430\u043d\u0434\u0430, \u043f\u043e\u0441\u044b\u043b\u0430\u0435\u043c\u0430\u044f \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0443. \u041c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e display-\u0444\u0438\u043b\u044c\u0442\u0440\u0430 xml rpc \u0432 Junos CLI:<br \/> \n<pre><code class=\"xml\">dteslya@SW1&gt; show spanning-tree interface | display xml rpc  &lt;rpc-reply xmlns:junos=&quot;http:\/\/xml.juniper.net\/junos\/12.3R8\/junos&quot;&gt;     &lt;rpc&gt;         &lt;get-stp-bridge-interface-information&gt;         &lt;\/get-stp-bridge-interface-information&gt;     &lt;\/rpc&gt;     &lt;cli&gt;         &lt;banner&gt;{master:0}&lt;\/banner&gt;     &lt;\/cli&gt; &lt;\/rpc-reply&gt; <\/code><\/pre>\n<\/li>\n<li><b>item<\/b> \u2014 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u044e\u0449\u0438\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0442\u0430\u0431\u043b\u0438\u0446\u044b. \u0423\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e XPath \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e \u043f\u043e\u0441\u043b\u0435 \u0442\u044d\u0433\u0430 &lt;rpc-reply&gt;, \u0442.\u0435. &lt;stp-interface-information&gt; \u0432 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435.<\/li>\n<li><b>key<\/b> \u2014 \u043a\u043b\u044e\u0447, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u0441\u044b\u043b\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u044e\u0449\u0438\u0435 \u0437\u0430\u043f\u0438\u0441\u0438 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435. \u0412 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043a\u043b\u044e\u0447\u0435\u043c \u0431\u0443\u0434\u0435\u0442 &lt;interface-name&gt;.<\/li>\n<li><b>view<\/b> \u2014 \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0432\u044b\u0431\u043e\u0440\u043a\u0443, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0438\u0437\u0432\u043b\u0435\u043a\u0430\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 \u0442\u0430\u0431\u043b\u0438\u0446\u044b, \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0440\u0430\u043d\u0435\u0435.<\/li>\n<li><b>STPInterfacesView<\/b> \u2014 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0432\u044b\u0431\u043e\u0440\u043a\u0438. \u041c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043b\u044e\u0431\u044b\u043c.<\/li>\n<\/ul>\n<p>  \u041d\u0430\u043a\u043e\u043d\u0435\u0446, \u0432 <b>STPInterfacesView<\/b> \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u043c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u044e\u0449\u0438\u0435 \u043f\u043e\u043b\u044f.<\/p>\n<p>  \u041d\u0430 \u043c\u043e\u0439 \u0432\u0437\u0433\u043b\u044f\u0434, \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0441\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c YAML-\u0444\u0430\u0439\u043b \u2014 \u044d\u0442\u043e \u0441\u0430\u043c\u043e\u0435 \u0441\u043b\u043e\u0436\u043d\u043e\u0435 \u0432\u043e \u0432\u0441\u0435\u043c \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c\u043e\u043c \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435. \u041e\u0447\u0435\u043d\u044c \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e \u043f\u043e\u0447\u0438\u0442\u0430\u0442\u044c <a href=\"http:\/\/www.w3schools.com\/xpath\/default.asp\">\u0442\u0443\u0442\u043e\u0440\u0438\u0430\u043b \u043f\u043e XPath<\/a>.<\/p>\n<h4>Python shell<\/h4>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u043a\u0430\u043a \u044d\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432 Python. \u041f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0436\u0438\u043c, \u0447\u0442\u043e YAML-\u0444\u0430\u0439\u043b \u0431\u044b\u043b \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d \u043a\u0430\u043a stp.yml.  <\/p>\n<pre><code class=\"python\">Python 2.7.6 (default, Mar 22 2014, 22:59:56)  [GCC 4.8.2] on linux2 Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information. &gt;&gt;&gt; from jnpr.junos import Device &gt;&gt;&gt; from jnpr.junos.factory import loadyaml &gt;&gt;&gt; yml_file = &quot;stp.yml&quot; &gt;&gt;&gt; globals().update(loadyaml(yml_file)) &gt;&gt;&gt; dev = Device(host='1.2.3.4') &gt;&gt;&gt; dev.open() Device(1.2.3.4) &gt;&gt;&gt; tbl = STPInterfaces(dev) &gt;&gt;&gt; tbl.get() STPInterfaces:1.2.3.4: 3 items &gt;&gt;&gt; for key in tbl: ...     print key.name, key.role, key.state ...  ge-0\/0\/23.0 DIS DIS xe-0\/1\/0.0 ROOT FWD xe-0\/1\/2.0 DESG FWD &gt;&gt;&gt; dev.close() &gt;&gt;&gt; <\/code><\/pre>\n<p>  \u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0442\u043e\u0442 \u0436\u0435 \u0441\u043f\u0438\u0441\u043e\u043a \u043f\u043e\u0440\u0442\u043e\u0432, \u043a\u0430\u043a \u0438 \u0432 CLI.<\/p>\n<h4>\u041f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u0441\u0441\u044b\u043b\u043a\u0438:<\/h4>\n<p>  <\/p>\n<ul>\n<li><a href=\"http:\/\/forums.juniper.net\/t5\/Automation\/Python-for-Non-Programmers-Part-1\/bc-p\/218543\">Python for Non-Programmers<\/a><\/li>\n<li><a href=\"https:\/\/techwiki.juniper.net\/Automation_Scripting\/010_Getting_Started_and_Reference\/Junos_PyEZ\/Troubleshooting%2C_Auditing%2C_and_Reporting\">Junos PyEZ: Troubleshooting, Auditing and Reporting<\/a><\/li>\n<li><a href=\"https:\/\/techwiki.juniper.net\/Automation_Scripting\/010_Getting_Started_and_Reference\/Junos_PyEZ\/Example%3A_CreatingTables_or_Views\">Example: CreatingTables or Views<\/a><\/li>\n<li><a href=\"https:\/\/techwiki.juniper.net\/Automation_Scripting\/010_Getting_Started_and_Reference\/Junos_PyEZ\/Troubleshooting%2C_Auditing%2C_and_Reporting\/Define_Operational_Table\">Define Operational Table<\/a><\/li>\n<li><a href=\"https:\/\/techwiki.juniper.net\/Automation_Scripting\/010_Getting_Started_and_Reference\/Junos_PyEZ\/Troubleshooting%2C_Auditing%2C_and_Reporting\/Using_Views\">Using Views<\/a><\/li>\n<li><a href=\"http:\/\/ipengineer.net\/2014\/05\/using-juniper-pyez-library\/\">Using the Juniper PyEZ Library [Beginner]<\/a><\/li>\n<li><a href=\"http:\/\/www.w3schools.com\/xpath\/default.asp\">W3Schools XPath Tutorial<\/a><\/li>\n<\/ul>\n<div class=\"clear\"><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/261775\/\"> http:\/\/habrahabr.ru\/post\/261775\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>     \t\u0421\u0435\u0439\u0447\u0430\u0441 \u043e\u0447\u0435\u043d\u044c \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u0430 \u0442\u0435\u043c\u0430 \u0441\u0435\u0442\u0435\u0432\u043e\u0439 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438. \u041e\u0434\u043d\u0438\u043c \u0438\u0437 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u0442\u0430\u043a\u043e\u0439 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0432 \u043c\u0438\u0440\u0435 Juniper \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 PyEZ, \u0440\u0430\u0437\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u043c\u0430\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 \u0414\u0436\u0435\u0440\u0435\u043c\u0438 \u0428\u0443\u043b\u044c\u043c\u0430\u043d\u0430 (Jeremy Schulman). PyEZ \u2014 \u044d\u0442\u043e \u043c\u0438\u043a\u0440\u043e-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a \u0434\u043b\u044f \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0438 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 Juniper, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Python. \u041e\u0441\u043d\u043e\u0432\u043d\u044b\u043c \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u043e\u043c PyEZ \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0435\u0433\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u0442\u0430 \u0438 \u043d\u0430\u0446\u0435\u043b\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u043d\u0430 \u0430\u0443\u0434\u0438\u0442\u043e\u0440\u0438\u044e \u0441\u0435\u0442\u0435\u0432\u044b\u0445 \u0438\u043d\u0436\u0435\u043d\u0435\u0440\u043e\u0432, \u0430 \u043d\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u043e\u0432.<\/p>\n<p>  \u041d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 PyEZ:  <\/p>\n<ul>\n<li>\u0421\u0431\u043e\u0440 \u00ab\u0444\u0430\u043a\u0442\u043e\u0432\u00bb, \u0442\u0430\u043a\u0438\u0445 \u043a\u0430\u043a \u0441\u0435\u0440\u0438\u0439\u043d\u044b\u0439 \u043d\u043e\u043c\u0435\u0440, \u0432\u0435\u0440\u0441\u0438\u044f \u041e\u0421 \u0438 \u0442.\u0434.<\/li>\n<li>\u0418\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0439 (\u0430\u043d\u0430\u043b\u043e\u0433 \u043a\u043e\u043c\u0430\u043d\u0434 show) \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438<\/li>\n<li>\u0418\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438<\/li>\n<li>\u0418\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438<\/li>\n<\/ul>\n<p>  \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u0431\u044b \u0445\u043e\u0442\u0435\u043b \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c\u0441\u044f \u043d\u0430 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u044f \u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u043a\u043e\u043c\u043c\u0443\u0442\u0430\u0442\u043e\u0440\u0430 EX4200.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-260878","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/260878","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=260878"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/260878\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=260878"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=260878"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=260878"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}