• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Python status.OperStatus类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Python中pysdn.common.status.OperStatus的典型用法代码示例。如果您正苦于以下问题:Python OperStatus类的具体用法?Python OperStatus怎么用?Python OperStatus使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



在下文中一共展示了OperStatus类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Python代码示例。

示例1: resister_vtep_on_hypervisor

    def resister_vtep_on_hypervisor(self, vtep_hvsr):

        status = OperStatus()

        url = self.get_ovrl_mgr_hvsr_vtep_config_url(vtep_hvsr)
        var = '{{\"vteps\": [{{\"name\": \"{0}\",\"ip-address\":\"{1}\",\"configuration\": {{\"brocade-app-overlay-ovs-vtep:switch-name\": \"{2}\"}}}}'
        payload = var.format(vtep_hvsr['vtep_hvsr_name'], vtep_hvsr['hvsrIp'], vtep_hvsr['switchName'])
        headers = {"content-type": "application/json", "accept": "application/json"}

        print(url)

        resp = self.http_put_request(url, payload, headers)

        print(resp)

        if resp is None:
            status.set_status(STATUS.CONN_ERROR)
        elif resp.content is None:
            status.set_status(STATUS.CTRL_INTERNAL_ERROR)
        elif resp.status_code == 200:
            status.set_status(STATUS.NODE_CONFIGURED)
        else:
            status.set_status(STATUS.DATA_NOT_FOUND, resp)

        return Result(status, None)
开发者ID:brocade,项目名称:pysdn,代码行数:25,代码来源:overlay_mgr.py


示例2: register_hypervisor

    def register_hypervisor(self, vtep_hvsr):

        status = OperStatus()

        url = self.get_ovrl_mgr_hvsr_config_url(vtep_hvsr['hvsrIp'], vtep_hvsr['hvsrPortNum'])
        var = '{{\"device\": [{{\"ip-address\": \"{0}\",\"user-name\": \"\",\"portnumber\": \"{1}\",\"device-type\": \"hypervisor\",\"name\": \"\",\"device-id\": \"{2}:{3}\",\"password\": \"\"}}]}}'
        payload = var.format(vtep_hvsr['hvsrIp'], vtep_hvsr['hvsrPortNum'], vtep_hvsr['hvsrIp'],
                             vtep_hvsr['hvsrPortNum'])
        headers = {"content-type": "application/json", "accept": "application/json"}

        print(payload)

        resp = self.http_put_request(url, payload, headers)

        print(resp)

        if resp is None:
            status.set_status(STATUS.CONN_ERROR)
        elif resp.content is None:
            status.set_status(STATUS.CTRL_INTERNAL_ERROR)
        elif resp.status_code == 200:
            status.set_status(STATUS.NODE_CONFIGURED)
        else:
            status.set_status(STATUS.DATA_NOT_FOUND, resp)

        return Result(status, None)
开发者ID:brocade,项目名称:pysdn,代码行数:26,代码来源:overlay_mgr.py


示例3: create_tunnel_between_two_hypervisors

    def create_tunnel_between_two_hypervisors(self, tnl_name, vni_id, vtep_hvsrA, vtep_hvsrB):

        status = OperStatus()

        url = self.get_ovrl_mgr_tunnel_hvsr2hvsr_config_url(tnl_name)

        var = '{{\"tunnel\": [{{\"tunnel-name\": \"{0}\",\"vni-id\": \"{1}\",\"tunnel-endpoints\": [{{\"device-id\": \"{2}:{3}\",\"vtep-name\": \"{4}\"}},{{\"device-id/": \"{5}:{6}\",\"vtep-name\": \"{7}\"}}]}}'
        payload = var.format(tnl_name, vni_id,
                             vtep_hvsrA['hvsrIp'], vtep_hvsrA['hvsrPortNum'], vtep_hvsrA['vtep_hvsr_name'],
                             vtep_hvsrB['hvsrIp'], vtep_hvsrB['hvsrPortNum'], vtep_hvsrB['vtep_hvsr_name'])
        headers = {"content-type": "application/json", "accept": "application/json"}

        print(payload)

        resp = self.http_put_request(url, payload, headers)

        print(resp)

        if resp is None:
            status.set_status(STATUS.CONN_ERROR)
        elif resp.content is None:
            status.set_status(STATUS.CTRL_INTERNAL_ERROR)
        elif resp.status_code == 200:
            status.set_status(STATUS.NODE_CONFIGURED)
        else:
            status.set_status(STATUS.DATA_NOT_FOUND, resp)

        return Result(status, None)
开发者ID:brocade,项目名称:pysdn,代码行数:28,代码来源:overlay_mgr.py


示例4: get_loopback_interface_cfg

 def get_loopback_interface_cfg(self, ifName):
     """ Return the configuration for a single loopback interface
         on the VRouter5600
      :param string ifName: The interface name of the interface for which
                           configuration should be returned
     :return: A tuple: Status, configuration of dataplane interface
     :rtype: instance of the `Result` class (containing configuration data)
      - STATUS.CONN_ERROR: If the controller did not respond.
     - STATUS.CTRL_INTERNAL_ERROR: If the controller responded but did not
                                   provide any status.
     - STATUS.OK: Success. Result is valid.
     - STATUS.HTTP_ERROR: If the controller responded with an error
                          status code.
      """
     status = OperStatus()
     templateModelRef = "vyatta-interfaces:" + \
         "interfaces/vyatta-interfaces-loopback:" + \
         "loopback/{}"
     modelref = templateModelRef.format(ifName)
     ctrl = self.ctrl
     url = ctrl.get_ext_mount_config_url(self.name)
     url += modelref
     resp = ctrl.http_get_request(url, data=None, headers=None)
     if(resp is None):
         status.set_status(STATUS.CONN_ERROR)
     elif(resp.content is None):
         status.set_status(STATUS.CTRL_INTERNAL_ERROR)
     elif (resp.status_code == 200):
         status.set_status(STATUS.OK)
     else:
         status.set_status(STATUS.HTTP_ERROR, resp)
     return Result(status, resp)
开发者ID:brocade,项目名称:pysdn,代码行数:32,代码来源:vrouter5600.py


示例5: set_vpn_cfg

 def set_vpn_cfg(self, vpn):
     """ Create/update VPN configuration
      :param vpn: instance of the 'Vpn' class
     :return: A tuple: Status, None
     :rtype: instance of the `Result` class
      - STATUS.CONN_ERROR: If the controller did not respond.
     - STATUS.CTRL_INTERNAL_ERROR: If the controller responded but did not
                                   provide any status.
     - STATUS.OK: Success. Result is valid.
     - STATUS.HTTP_ERROR: If the controller responded with an error
                          status code.
      """
     assert(isinstance(vpn, Vpn))
     status = OperStatus()
     ctrl = self.ctrl
     headers = {'content-type': 'application/yang.data+json'}
     url = ctrl.get_ext_mount_config_url(self.name)
     ext = vpn.get_url_extension()
     url += ext
     payload = vpn.get_payload()
     resp = ctrl.http_put_request(url, payload, headers)
     if(resp is None):
         status.set_status(STATUS.CONN_ERROR)
     elif(resp.content is None):
         status.set_status(STATUS.CTRL_INTERNAL_ERROR)
     elif (resp.status_code == 200 or resp.status_code == 204):
         status.set_status(STATUS.OK)
     else:
         status.set_status(STATUS.HTTP_ERROR, resp)
     return Result(status, None)
开发者ID:brocade,项目名称:pysdn,代码行数:30,代码来源:vrouter5600.py


示例6: get_cfg

 def get_cfg(self):
     """Return configuration
     :return: A tuple: Status, JSON for configuration.
     :rtype: instance of the `Result` class (containing configuration data)
     - STATUS.CONN_ERROR: If the controller did not respond.
     - STATUS.CTRL_INTERNAL_ERROR: If the controller responded but did not
                                   provide any status.
     - STATUS.OK: Success. Result is valid.
     - STATUS.HTTP_ERROR: If the controller responded with an error
                          status code.
     """
     status = OperStatus()
     cfg = None
     ctrl = self.ctrl
     myname = self.name
     url = ctrl.get_ext_mount_config_url(myname)
     resp = ctrl.http_get_request(url, data=None, headers=None)
     if(resp is None):
         status.set_status(STATUS.CONN_ERROR)
     elif(resp.content is None):
         status.set_status(STATUS.CTRL_INTERNAL_ERROR)
     elif (resp.status_code == 200):
         cfg = resp.content
         status.set_status(STATUS.OK)
     else:
         status.set_status(STATUS.HTTP_ERROR, resp)
     return Result(status, cfg)
开发者ID:brocade,项目名称:pysdn,代码行数:27,代码来源:nos.py


示例7: delete_dataplane_interface_firewall

 def delete_dataplane_interface_firewall(self, ifName):
     """ Delete both inbound and outbound firewalls for a
         dataplane interface on the VRouter5600.
      :param string ifName: The dataplane interface to attach a firewall.
     :return: A tuple:  Status, Response from VRouter5600.
     :rtype: instance of the `Result` class
      - STATUS.CONN_ERROR: If the controller did not respond.
     - STATUS.CTRL_INTERNAL_ERROR: If the controller responded but did
                                   not provide any status.
     - STATUS.OK: Success. Result is valid.
     - STATUS.HTTP_ERROR: If the controller responded with an error
                          status code.
      """
     status = OperStatus()
     templateModelRef = "vyatta-interfaces:" + \
         "interfaces/vyatta-interfaces-dataplane:" + \
         "dataplane/{}/vyatta-security-firewall:firewall/"
     modelref = templateModelRef.format(ifName)
     myname = self.name
     ctrl = self.ctrl
     url = ctrl.get_ext_mount_config_url(myname)
     resp = ctrl.http_delete_request(url + modelref, data=None,
                                     headers=None)
     if(resp is None):
         status.set_status(STATUS.CONN_ERROR)
     elif(resp.content is None):
         status.set_status(STATUS.CTRL_INTERNAL_ERROR)
     elif (resp.status_code == 200):
         status.set_status(STATUS.OK)
     else:
         status.set_status(STATUS.HTTP_ERROR, resp)
     return Result(status, None)
开发者ID:brocade,项目名称:pysdn,代码行数:32,代码来源:vrouter5600.py


示例8: add_modify_firewall_instance

 def add_modify_firewall_instance(self, fwInstance):
     """Create a firewall on the VRouter5600.
      :param fwInstance: instance of the 'Firewall' class
     :return: A tuple:  Status, None.
     :rtype: instance of the `Result` class
      - STATUS.CONN_ERROR: If the controller did not respond.
     - STATUS.CTRL_INTERNAL_ERROR: If the controller responded but did not
                                   provide any status.
     - STATUS.OK:  Success. Result is valid.
     - STATUS.HTTP_ERROR: If the controller responded with an error
                          status code.
      """
     status = OperStatus()
     ctrl = self.ctrl
     myname = self.name
     url = ctrl.get_ext_mount_config_url(myname)
     headers = {'content-type': 'application/yang.data+json'}
     payload = fwInstance.get_payload()
     url_ext = fwInstance.get_url_extension()
     url += url_ext
     resp = ctrl.http_put_request(url, payload, headers)
     if(resp is None):
         status.set_status(STATUS.CONN_ERROR)
     elif(resp.content is None):
         status.set_status(STATUS.CTRL_INTERNAL_ERROR)
     elif (resp.status_code == 200 or resp.status_code == 204):
         status.set_status(STATUS.OK)
     else:
         status.set_status(STATUS.HTTP_ERROR, resp)
     return Result(status, None)
开发者ID:brocade,项目名称:pysdn,代码行数:30,代码来源:vrouter5600.py


示例9: delete_firewall_instance

    def delete_firewall_instance(self, fwInstance):
        """Delete a firewall from the VRouter5600.
         :param fwInstance: Firewall :class:
        :return: A tuple: Status, None.
        :rtype: instance of the `Result` class
         - STATUS.CONN_ERROR: If the controller did not respond.
        - STATUS.CTRL_INTERNAL_ERROR: If the controller responded but did not
                                     provide any status.
        - STATUS.OK: Success. Result is valid.
        - STATUS.HTTP_ERROR:  if the controller responded with an error status
        .  code.
         """
        assert isinstance(fwInstance, Firewall)
        status = OperStatus()
        ctrl = self.ctrl
        myname = self.name
        url = ctrl.get_ext_mount_config_url(myname)
        ext = fwInstance.get_url_extension()
        url += ext
        resp = ctrl.http_delete_request(url, data=None, headers=None)
        if(resp is None):
            status.set_status(STATUS.CONN_ERROR)
        elif(resp.content is None):
            status.set_status(STATUS.CTRL_INTERNAL_ERROR)
        elif (resp.status_code == 200):
            status.set_status(STATUS.OK)
        else:
            status.set_status(STATUS.HTTP_ERROR, resp)

        return Result(status, None)
开发者ID:brocade,项目名称:pysdn,代码行数:30,代码来源:vrouter5600.py


示例10: get_firewall_instance_cfg

 def get_firewall_instance_cfg(self, instance):
     """Return configuration for a specific firewall on the VRouter5600.
      :param instance of the 'Firewall' class
     :return: A tuple: Status, JSON for firewall configuration.
     :rtype: instance of the `Result` class (containing configuration data)
      - STATUS.CONN_ERROR: If the controller did not respond.
     - STATUS.CTRL_INTERNAL_ERROR: If the controller responded but did not
                                   provide any status.
     - STATUS.OK:  Success. Result is valid.
     - STATUS.HTTP_ERROR: If the controller responded with an error
                          status code.
     """
     status = OperStatus()
     cfg = None
     templateModelRef = "vyatta-security:" + \
         "security/vyatta-security-firewall:firewall/name/{}"
     modelref = templateModelRef.format(instance)
     ctrl = self.ctrl
     myname = self.name
     url = ctrl.get_ext_mount_config_url(myname)
     url += modelref
     resp = ctrl.http_get_request(url, data=None, headers=None)
     if(resp is None):
         status.set_status(STATUS.CONN_ERROR)
     elif(resp.content is None):
         status.set_status(STATUS.CTRL_INTERNAL_ERROR)
     elif (resp.status_code == 200):
         cfg = resp.content
         status.set_status(STATUS.OK)
     else:
         status.set_status(STATUS.HTTP_ERROR, resp)
     return Result(status, cfg)
开发者ID:brocade,项目名称:pysdn,代码行数:32,代码来源:vrouter5600.py


示例11: delete_vtep_from_hypervisor

    def delete_vtep_from_hypervisor(self, vtep_hvsr):

        status = OperStatus()

        url = self.get_ovrl_mgr_hvsr_vtep_config_url(vtep_hvsr)
        payload = None
        headers = {"content-type": "application/json", "accept": "application/json"}

        logging.debug(url)
        logging.debug(payload)

        resp = self.http_delete_request(url, payload, headers)

        logging.info(resp)

        if resp is None:
            status.set_status(STATUS.CONN_ERROR)
        elif resp.content is None:
            status.set_status(STATUS.CTRL_INTERNAL_ERROR)
        elif resp.status_code == 200:
            status.set_status(STATUS.NODE_CONFIGURED)
        else:
            status.set_status(STATUS.DATA_NOT_FOUND, resp)

        return Result(status, None)
开发者ID:g2github,项目名称:pysdn,代码行数:25,代码来源:overlay_mgr.py


示例12: set_protocols_ospf

    def set_protocols_ospf(self, ospf):
            status = OperStatus()
            ctrl = self.ctrl
            headers = {'content-type': 'application/yang.data+json'}
            url = ctrl.get_ext_mount_config_url(self.name)
            obj = ospf
            payload = obj.get_payload()
            ext = ospf.get_url_extension()
            url += ext

            print(url)
            print(headers)
            print(payload)

            resp = ctrl.http_put_request(url, payload, headers)

            print(resp)

            if(resp is None):
                status.set_status(STATUS.CONN_ERROR)
            elif(resp.content is None):
                status.set_status(STATUS.CTRL_INTERNAL_ERROR)
            elif (resp.status_code == 200 or resp.status_code == 204):
                status.set_status(STATUS.OK)
            else:
                status.set_status(STATUS.HTTP_ERROR, resp)
            return Result(status, None)
开发者ID:g2github,项目名称:pysdn,代码行数:27,代码来源:vrouter5600.py


示例13: get_hypervisor_details

    def get_hypervisor_details(self, vtep_hvsr):

        status = OperStatus()

        url = self.get_ovrl_mgr_hvsr_oper_url(vtep_hvsr['hvsrIp'], vtep_hvsr['hvsrPortNum'])
        payload = None
        headers = {"content-type": "application/json", "accept": "application/json"}
        timeout = None

        print(url)

        resp = self.http_get_request(url, payload, headers, timeout)

        print(resp)

        if resp is None:
            status.set_status(STATUS.CONN_ERROR)
        elif resp.content is None:
            status.set_status(STATUS.CTRL_INTERNAL_ERROR)
        elif resp.status_code == 200:
            status.set_status(STATUS.NODE_CONFIGURED)
        else:
            status.set_status(STATUS.DATA_NOT_FOUND, resp)

        return Result(status, None)
开发者ID:brocade,项目名称:pysdn,代码行数:25,代码来源:overlay_mgr.py


示例14: get_interfaces_cfg

 def get_interfaces_cfg(ctrl, name):
         """ Return the configuration for the interfaces on the VRouter5600
         :return: A tuple: Status, configuration of the interfaces
         :rtype: instance of the `Result` class (containing configuration data)
         - STATUS.CONN_ERROR: If the controller did not respond.
         - STATUS.CTRL_INTERNAL_ERROR: If the controller responded but did not
                                       provide any status.
         - STATUS.OK:  Success. Result is valid.
         - STATUS.HTTP_ERROR: If the controller responded with an error
                              status code.
         """
         status = OperStatus()
         cfg = None
         templateModelRef = "cliconf-linux:interfaces"
         modelref = templateModelRef
         url = ctrl.get_ext_mount_config_url(name)
         url += modelref
         resp = ctrl.http_get_request(url, data=None, headers=None, timeout=120)
         if(resp is None):
             status.set_status(STATUS.CONN_ERROR)
         elif(resp.content is None):
             status.set_status(STATUS.CTRL_INTERNAL_ERROR)
         elif (resp.status_code == 200):
             cfg = resp.content
             status.set_status(STATUS.OK)
         else:
             status.set_status(STATUS.HTTP_ERROR, resp)
         return Result(status, cfg)
开发者ID:gaberger,项目名称:sdncli,代码行数:28,代码来源:linux.py


示例15: delete_vpn_cfg

 def delete_vpn_cfg(self):
     """ Delete VPN configuration """
     status = OperStatus()
     url_ext = "vyatta-security:security/vyatta-security-vpn-ipsec:vpn"
     ctrl = self.ctrl
     myname = self.name
     url = ctrl.get_ext_mount_config_url(myname)
     url += url_ext
     resp = ctrl.http_delete_request(url, data=None, headers=None)
     if(resp is None):
         status.set_status(STATUS.CONN_ERROR)
     elif(resp.content is None):
         status.set_status(STATUS.CTRL_INTERNAL_ERROR)
     elif (resp.status_code == 200):
         status.set_status(STATUS.OK)
     else:
         status.set_status(STATUS.HTTP_ERROR, resp)
     return Result(status, None)
开发者ID:brocade,项目名称:pysdn,代码行数:18,代码来源:vrouter5600.py


示例16: get_interfaces_cfg

 def get_interfaces_cfg(ctrl, name):
         status = OperStatus()
         cfg = None
         templateModelRef = "brocade-interface:interface"
         modelref = templateModelRef
         url = ctrl.get_ext_mount_config_url(name)
         url += modelref
         resp = ctrl.http_get_request(url, data=None, headers=None, timeout=120)
         if(resp is None):
             status.set_status(STATUS.CONN_ERROR)
         elif(resp.content is None):
             status.set_status(STATUS.CTRL_INTERNAL_ERROR)
         elif (resp.status_code == 200):
             cfg = resp.content
             status.set_status(STATUS.OK)
         else:
             status.set_status(STATUS.HTTP_ERROR, resp)
         return Result(status, cfg)
开发者ID:gaberger,项目名称:sdncli,代码行数:18,代码来源:vdx.py


示例17: delete_openvpn_interface_cfg

 def delete_openvpn_interface_cfg(self, ifName):
     status = OperStatus()
     templateModelRef = "vyatta-interfaces:" + \
         "interfaces/vyatta-interfaces-openvpn:" + \
         "openvpn/{}"
     modelref = templateModelRef.format(ifName)
     ctrl = self.ctrl
     url = ctrl.get_ext_mount_config_url(self.name)
     url += modelref
     resp = ctrl.http_delete_request(url, data=None, headers=None)
     if(resp is None):
         status.set_status(STATUS.CONN_ERROR)
     elif(resp.content is None):
         status.set_status(STATUS.CTRL_INTERNAL_ERROR)
     elif (resp.status_code == 200):
         status.set_status(STATUS.OK)
     else:
         status.set_status(STATUS.HTTP_ERROR, resp)
     return Result(status, resp)
开发者ID:brocade,项目名称:pysdn,代码行数:19,代码来源:vrouter5600.py


示例18: delete_protocols_cfg

 def delete_protocols_cfg(self, model_ref=None):
     status = OperStatus()
     url_ext = "vyatta-protocols:protocols"
     ctrl = self.ctrl
     myname = self.name
     url = ctrl.get_ext_mount_config_url(myname)
     url += url_ext
     if (model_ref is not None):
         url += "/" + model_ref
     resp = ctrl.http_delete_request(url, data=None, headers=None)
     if(resp is None):
         status.set_status(STATUS.CONN_ERROR)
     elif(resp.content is None):
         status.set_status(STATUS.CTRL_INTERNAL_ERROR)
     elif (resp.status_code == 200):
         status.set_status(STATUS.OK)
     else:
         status.set_status(STATUS.HTTP_ERROR, resp)
     return Result(status, None)
开发者ID:brocade,项目名称:pysdn,代码行数:19,代码来源:vrouter5600.py


示例19: set_protocols_static_route_cfg

 def set_protocols_static_route_cfg(self, static_route):
     assert(isinstance(static_route, StaticRoute))
     status = OperStatus()
     ctrl = self.ctrl
     headers = {'content-type': 'application/yang.data+json'}
     url = ctrl.get_ext_mount_config_url(self.name)
     obj = static_route
     payload = obj.get_payload()
     ext = static_route.get_url_extension()
     url += ext
     resp = ctrl.http_put_request(url, payload, headers)
     if(resp is None):
         status.set_status(STATUS.CONN_ERROR)
     elif(resp.content is None):
         status.set_status(STATUS.CTRL_INTERNAL_ERROR)
     elif (resp.status_code == 200 or resp.status_code == 204):
         status.set_status(STATUS.OK)
     else:
         status.set_status(STATUS.HTTP_ERROR, resp)
     return Result(status, None)
开发者ID:brocade,项目名称:pysdn,代码行数:20,代码来源:vrouter5600.py


示例20: set_dataplane_interface_cfg

    def set_dataplane_interface_cfg(self, dpInstance):
        """ Return the configuration for a dataplane interface
            on the VRouter5600
         :param string ifName: The interface name of the interface for which
                              configuration should be returned
        :return: A tuple: Status, configuration of dataplane interface
        :rtype: instance of the `Result` class (containing configuration data)
         - STATUS.CONN_ERROR: If the controller did not respond.
        - STATUS.CTRL_INTERNAL_ERROR: If the controller responded but did not
                                      provide any status.
        - STATUS.OK: Success. Result is valid.
        - STATUS.HTTP_ERROR: If the controller responded with an error
                             status code.
        """
        status = OperStatus()
        ctrl = self.ctrl
        myname = self.name
        url = ctrl.get_ext_mount_config_url(myname)
        headers = {"content-type": "application/json", "accept": "application/json"}
        payload = dpInstance.get_payload()
        url_ext = dpInstance.get_url_extension()
        url += url_ext

        print url
        print payload
        print headers

        resp = ctrl.http_put_request(url, payload, headers)
        print(resp)

        if(resp is None):
            status.set_status(STATUS.CONN_ERROR)
        elif(resp.content is None):
            status.set_status(STATUS.CTRL_INTERNAL_ERROR)
        elif (resp.status_code == 200):
            cfg = resp.content
            status.set_status(STATUS.OK)
        else:
            status.set_status(STATUS.HTTP_ERROR, resp)
        return Result(status, None)
开发者ID:g2github,项目名称:pysdn,代码行数:40,代码来源:vrouter5600.py



注:本文中的pysdn.common.status.OperStatus类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Python utils.load_dict_from_file函数代码示例发布时间:2022-05-27
下一篇:
Python pysd.read_vensim函数代码示例发布时间:2022-05-27
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap