code
string
signature
string
docstring
string
loss_without_docstring
float64
loss_with_docstring
float64
factor
float64
config = ET.Element("config") get_port_channel_detail = ET.Element("get_port_channel_detail") config = get_port_channel_detail output = ET.SubElement(get_port_channel_detail, "output") lacp = ET.SubElement(output, "lacp") partner_oper_priority = ET.SubElement(lac...
def get_port_channel_detail_output_lacp_partner_oper_priority(self, **kwargs)
Auto Generated Code
1.242352
1.21112
1.025788
config = ET.Element("config") get_port_channel_detail = ET.Element("get_port_channel_detail") config = get_port_channel_detail output = ET.SubElement(get_port_channel_detail, "output") lacp = ET.SubElement(output, "lacp") rx_link_count = ET.SubElement(lacp, "rx-l...
def get_port_channel_detail_output_lacp_rx_link_count(self, **kwargs)
Auto Generated Code
1.254764
1.217046
1.030991
config = ET.Element("config") get_port_channel_detail = ET.Element("get_port_channel_detail") config = get_port_channel_detail output = ET.SubElement(get_port_channel_detail, "output") lacp = ET.SubElement(output, "lacp") tx_link_count = ET.SubElement(lacp, "tx-l...
def get_port_channel_detail_output_lacp_tx_link_count(self, **kwargs)
Auto Generated Code
1.244898
1.19564
1.041198
config = ET.Element("config") get_port_channel_detail = ET.Element("get_port_channel_detail") config = get_port_channel_detail output = ET.SubElement(get_port_channel_detail, "output") lacp = ET.SubElement(output, "lacp") individual_agg = ET.SubElement(lacp, "ind...
def get_port_channel_detail_output_lacp_individual_agg(self, **kwargs)
Auto Generated Code
1.32605
1.237828
1.071272
config = ET.Element("config") get_port_channel_detail = ET.Element("get_port_channel_detail") config = get_port_channel_detail output = ET.SubElement(get_port_channel_detail, "output") lacp = ET.SubElement(output, "lacp") ready_agg = ET.SubElement(lacp, "ready-ag...
def get_port_channel_detail_output_lacp_ready_agg(self, **kwargs)
Auto Generated Code
1.296109
1.22877
1.054801
config = ET.Element("config") get_port_channel_detail = ET.Element("get_port_channel_detail") config = get_port_channel_detail output = ET.SubElement(get_port_channel_detail, "output") lacp = ET.SubElement(output, "lacp") partner_oper_key = ET.SubElement(lacp, "p...
def get_port_channel_detail_output_lacp_partner_oper_key(self, **kwargs)
Auto Generated Code
1.245904
1.208297
1.031124
config = ET.Element("config") get_port_channel_detail = ET.Element("get_port_channel_detail") config = get_port_channel_detail output = ET.SubElement(get_port_channel_detail, "output") lacp = ET.SubElement(output, "lacp") aggr_member = ET.SubElement(lacp, "aggr-m...
def get_port_channel_detail_output_lacp_aggr_member_rbridge_id(self, **kwargs)
Auto Generated Code
1.245421
1.186156
1.049964
config = ET.Element("config") get_port_channel_detail = ET.Element("get_port_channel_detail") config = get_port_channel_detail output = ET.SubElement(get_port_channel_detail, "output") lacp = ET.SubElement(output, "lacp") aggr_member = ET.SubElement(lacp, "aggr-m...
def get_port_channel_detail_output_lacp_aggr_member_interface_type(self, **kwargs)
Auto Generated Code
1.237792
1.18692
1.04286
config = ET.Element("config") get_port_channel_detail = ET.Element("get_port_channel_detail") config = get_port_channel_detail output = ET.SubElement(get_port_channel_detail, "output") lacp = ET.SubElement(output, "lacp") aggr_member = ET.SubElement(lacp, "aggr-m...
def get_port_channel_detail_output_lacp_aggr_member_interface_name(self, **kwargs)
Auto Generated Code
1.234267
1.183432
1.042956
config = ET.Element("config") get_port_channel_detail = ET.Element("get_port_channel_detail") config = get_port_channel_detail output = ET.SubElement(get_port_channel_detail, "output") lacp = ET.SubElement(output, "lacp") aggr_member = ET.SubElement(lacp, "aggr-m...
def get_port_channel_detail_output_lacp_aggr_member_actor_port(self, **kwargs)
Auto Generated Code
1.243507
1.187224
1.047407
config = ET.Element("config") get_port_channel_detail = ET.Element("get_port_channel_detail") config = get_port_channel_detail output = ET.SubElement(get_port_channel_detail, "output") lacp = ET.SubElement(output, "lacp") aggr_member = ET.SubElement(lacp, "aggr-m...
def get_port_channel_detail_output_lacp_aggr_member_sync(self, **kwargs)
Auto Generated Code
1.257891
1.194707
1.052887
config = ET.Element("config") get_port_channel_detail = ET.Element("get_port_channel_detail") config = get_port_channel_detail output = ET.SubElement(get_port_channel_detail, "output") has_more = ET.SubElement(output, "has-more") has_more.text = kwargs.pop('has_m...
def get_port_channel_detail_output_has_more(self, **kwargs)
Auto Generated Code
1.341172
1.211223
1.107288
config = ET.Element("config") get_portchannel_info_by_intf = ET.Element("get_portchannel_info_by_intf") config = get_portchannel_info_by_intf input = ET.SubElement(get_portchannel_info_by_intf, "input") interface_type = ET.SubElement(input, "interface-type") inte...
def get_portchannel_info_by_intf_input_interface_type(self, **kwargs)
Auto Generated Code
1.293074
1.237187
1.045173
config = ET.Element("config") get_portchannel_info_by_intf = ET.Element("get_portchannel_info_by_intf") config = get_portchannel_info_by_intf input = ET.SubElement(get_portchannel_info_by_intf, "input") interface_name = ET.SubElement(input, "interface-name") inte...
def get_portchannel_info_by_intf_input_interface_name(self, **kwargs)
Auto Generated Code
1.28864
1.231637
1.046282
config = ET.Element("config") get_portchannel_info_by_intf = ET.Element("get_portchannel_info_by_intf") config = get_portchannel_info_by_intf output = ET.SubElement(get_portchannel_info_by_intf, "output") lacp = ET.SubElement(output, "lacp") interface_type = ET.S...
def get_portchannel_info_by_intf_output_lacp_interface_type(self, **kwargs)
Auto Generated Code
1.265289
1.200671
1.053819
config = ET.Element("config") get_portchannel_info_by_intf = ET.Element("get_portchannel_info_by_intf") config = get_portchannel_info_by_intf output = ET.SubElement(get_portchannel_info_by_intf, "output") lacp = ET.SubElement(output, "lacp") interface_name = ET.S...
def get_portchannel_info_by_intf_output_lacp_interface_name(self, **kwargs)
Auto Generated Code
1.266826
1.200146
1.05556
config = ET.Element("config") get_portchannel_info_by_intf = ET.Element("get_portchannel_info_by_intf") config = get_portchannel_info_by_intf output = ET.SubElement(get_portchannel_info_by_intf, "output") lacp = ET.SubElement(output, "lacp") actor_port = ET.SubEl...
def get_portchannel_info_by_intf_output_lacp_actor_port(self, **kwargs)
Auto Generated Code
1.280097
1.209038
1.058774
config = ET.Element("config") get_portchannel_info_by_intf = ET.Element("get_portchannel_info_by_intf") config = get_portchannel_info_by_intf output = ET.SubElement(get_portchannel_info_by_intf, "output") lacp = ET.SubElement(output, "lacp") admin_key = ET.SubEle...
def get_portchannel_info_by_intf_output_lacp_admin_key(self, **kwargs)
Auto Generated Code
1.258049
1.1976
1.050475
config = ET.Element("config") get_portchannel_info_by_intf = ET.Element("get_portchannel_info_by_intf") config = get_portchannel_info_by_intf output = ET.SubElement(get_portchannel_info_by_intf, "output") lacp = ET.SubElement(output, "lacp") oper_key = ET.SubElem...
def get_portchannel_info_by_intf_output_lacp_oper_key(self, **kwargs)
Auto Generated Code
1.257084
1.21034
1.03862
config = ET.Element("config") get_portchannel_info_by_intf = ET.Element("get_portchannel_info_by_intf") config = get_portchannel_info_by_intf output = ET.SubElement(get_portchannel_info_by_intf, "output") lacp = ET.SubElement(output, "lacp") actor_system_id = ET....
def get_portchannel_info_by_intf_output_lacp_actor_system_id(self, **kwargs)
Auto Generated Code
1.245906
1.196757
1.041068
config = ET.Element("config") get_portchannel_info_by_intf = ET.Element("get_portchannel_info_by_intf") config = get_portchannel_info_by_intf output = ET.SubElement(get_portchannel_info_by_intf, "output") lacp = ET.SubElement(output, "lacp") partner_system_id = E...
def get_portchannel_info_by_intf_output_lacp_partner_system_id(self, **kwargs)
Auto Generated Code
1.238059
1.186466
1.043485
config = ET.Element("config") get_portchannel_info_by_intf = ET.Element("get_portchannel_info_by_intf") config = get_portchannel_info_by_intf output = ET.SubElement(get_portchannel_info_by_intf, "output") lacp = ET.SubElement(output, "lacp") system_priority = ET....
def get_portchannel_info_by_intf_output_lacp_system_priority(self, **kwargs)
Auto Generated Code
1.263641
1.199215
1.053724
config = ET.Element("config") get_portchannel_info_by_intf = ET.Element("get_portchannel_info_by_intf") config = get_portchannel_info_by_intf output = ET.SubElement(get_portchannel_info_by_intf, "output") lacp = ET.SubElement(output, "lacp") partner_oper_priority...
def get_portchannel_info_by_intf_output_lacp_partner_oper_priority(self, **kwargs)
Auto Generated Code
1.25123
1.215176
1.02967
config = ET.Element("config") get_portchannel_info_by_intf = ET.Element("get_portchannel_info_by_intf") config = get_portchannel_info_by_intf output = ET.SubElement(get_portchannel_info_by_intf, "output") lacp = ET.SubElement(output, "lacp") actor_priority = ET.S...
def get_portchannel_info_by_intf_output_lacp_actor_priority(self, **kwargs)
Auto Generated Code
1.276845
1.215219
1.050712
config = ET.Element("config") get_portchannel_info_by_intf = ET.Element("get_portchannel_info_by_intf") config = get_portchannel_info_by_intf output = ET.SubElement(get_portchannel_info_by_intf, "output") lacp = ET.SubElement(output, "lacp") receive_machine_state...
def get_portchannel_info_by_intf_output_lacp_receive_machine_state(self, **kwargs)
Auto Generated Code
1.243592
1.197719
1.038301
config = ET.Element("config") get_portchannel_info_by_intf = ET.Element("get_portchannel_info_by_intf") config = get_portchannel_info_by_intf output = ET.SubElement(get_portchannel_info_by_intf, "output") lacp = ET.SubElement(output, "lacp") periodic_transmission...
def get_portchannel_info_by_intf_output_lacp_periodic_transmission_machine_state(self, **kwargs)
Auto Generated Code
1.234674
1.187905
1.039371
config = ET.Element("config") get_portchannel_info_by_intf = ET.Element("get_portchannel_info_by_intf") config = get_portchannel_info_by_intf output = ET.SubElement(get_portchannel_info_by_intf, "output") lacp = ET.SubElement(output, "lacp") mux_machine_state = E...
def get_portchannel_info_by_intf_output_lacp_mux_machine_state(self, **kwargs)
Auto Generated Code
1.236622
1.184381
1.044108
config = ET.Element("config") get_portchannel_info_by_intf = ET.Element("get_portchannel_info_by_intf") config = get_portchannel_info_by_intf output = ET.SubElement(get_portchannel_info_by_intf, "output") lacp = ET.SubElement(output, "lacp") admin_state = ET.SubE...
def get_portchannel_info_by_intf_output_lacp_admin_state(self, **kwargs)
Auto Generated Code
1.26029
1.200421
1.049873
config = ET.Element("config") get_portchannel_info_by_intf = ET.Element("get_portchannel_info_by_intf") config = get_portchannel_info_by_intf output = ET.SubElement(get_portchannel_info_by_intf, "output") lacp = ET.SubElement(output, "lacp") oper_state = ET.SubEl...
def get_portchannel_info_by_intf_output_lacp_oper_state(self, **kwargs)
Auto Generated Code
1.252041
1.216159
1.029504
config = ET.Element("config") get_portchannel_info_by_intf = ET.Element("get_portchannel_info_by_intf") config = get_portchannel_info_by_intf output = ET.SubElement(get_portchannel_info_by_intf, "output") lacp = ET.SubElement(output, "lacp") partner_oper_state = ...
def get_portchannel_info_by_intf_output_lacp_partner_oper_state(self, **kwargs)
Auto Generated Code
1.246028
1.210236
1.029574
config = ET.Element("config") get_portchannel_info_by_intf = ET.Element("get_portchannel_info_by_intf") config = get_portchannel_info_by_intf output = ET.SubElement(get_portchannel_info_by_intf, "output") lacp = ET.SubElement(output, "lacp") partner_oper_port = E...
def get_portchannel_info_by_intf_output_lacp_partner_oper_port(self, **kwargs)
Auto Generated Code
1.250993
1.206131
1.037195
config = ET.Element("config") get_portchannel_info_by_intf = ET.Element("get_portchannel_info_by_intf") config = get_portchannel_info_by_intf output = ET.SubElement(get_portchannel_info_by_intf, "output") lacp = ET.SubElement(output, "lacp") actor_chip_number = E...
def get_portchannel_info_by_intf_output_lacp_actor_chip_number(self, **kwargs)
Auto Generated Code
1.260027
1.205455
1.045271
config = ET.Element("config") get_portchannel_info_by_intf = ET.Element("get_portchannel_info_by_intf") config = get_portchannel_info_by_intf output = ET.SubElement(get_portchannel_info_by_intf, "output") lacp = ET.SubElement(output, "lacp") actor_max_deskew = ET...
def get_portchannel_info_by_intf_output_lacp_actor_max_deskew(self, **kwargs)
Auto Generated Code
1.271837
1.211546
1.049764
config = ET.Element("config") get_portchannel_info_by_intf = ET.Element("get_portchannel_info_by_intf") config = get_portchannel_info_by_intf output = ET.SubElement(get_portchannel_info_by_intf, "output") lacp = ET.SubElement(output, "lacp") partner_chip_number =...
def get_portchannel_info_by_intf_output_lacp_partner_chip_number(self, **kwargs)
Auto Generated Code
1.249243
1.197499
1.04321
config = ET.Element("config") get_portchannel_info_by_intf = ET.Element("get_portchannel_info_by_intf") config = get_portchannel_info_by_intf output = ET.SubElement(get_portchannel_info_by_intf, "output") lacp = ET.SubElement(output, "lacp") partner_max_deskew = ...
def get_portchannel_info_by_intf_output_lacp_partner_max_deskew(self, **kwargs)
Auto Generated Code
1.262895
1.203338
1.049494
config = ET.Element("config") get_portchannel_info_by_intf = ET.Element("get_portchannel_info_by_intf") config = get_portchannel_info_by_intf output = ET.SubElement(get_portchannel_info_by_intf, "output") lacp = ET.SubElement(output, "lacp") actor_brcd_state = ET...
def get_portchannel_info_by_intf_output_lacp_actor_brcd_state(self, **kwargs)
Auto Generated Code
1.265928
1.207969
1.04798
config = ET.Element("config") get_portchannel_info_by_intf = ET.Element("get_portchannel_info_by_intf") config = get_portchannel_info_by_intf output = ET.SubElement(get_portchannel_info_by_intf, "output") lacp = ET.SubElement(output, "lacp") partner_brcd_state = ...
def get_portchannel_info_by_intf_output_lacp_partner_brcd_state(self, **kwargs)
Auto Generated Code
1.258731
1.20266
1.046622
config = ET.Element("config") port_channel_redundancy_group = ET.SubElement(config, "port-channel-redundancy-group", xmlns="urn:brocade.com:mgmt:brocade-lag") group_id = ET.SubElement(port_channel_redundancy_group, "group-id") group_id.text = kwargs.pop('group_id') call...
def port_channel_redundancy_group_group_id(self, **kwargs)
Auto Generated Code
1.386615
1.316952
1.052897
config = ET.Element("config") port_channel_redundancy_group = ET.SubElement(config, "port-channel-redundancy-group", xmlns="urn:brocade.com:mgmt:brocade-lag") group_id_key = ET.SubElement(port_channel_redundancy_group, "group-id") group_id_key.text = kwargs.pop('group_id') ...
def port_channel_redundancy_group_port_channel_name(self, **kwargs)
Auto Generated Code
1.343965
1.283147
1.047397
config = ET.Element("config") port_channel_redundancy_group = ET.SubElement(config, "port-channel-redundancy-group", xmlns="urn:brocade.com:mgmt:brocade-lag") group_id_key = ET.SubElement(port_channel_redundancy_group, "group-id") group_id_key.text = kwargs.pop('group_id') ...
def port_channel_redundancy_group_port_channel_port_channel_active(self, **kwargs)
Auto Generated Code
1.352465
1.305369
1.036079
config = ET.Element("config") port_channel_redundancy_group = ET.SubElement(config, "port-channel-redundancy-group", xmlns="urn:brocade.com:mgmt:brocade-lag") group_id_key = ET.SubElement(port_channel_redundancy_group, "group-id") group_id_key.text = kwargs.pop('group_id') ...
def port_channel_redundancy_group_activate(self, **kwargs)
Auto Generated Code
1.377421
1.313914
1.048334
config = ET.Element("config") threshold_monitor_hidden = ET.SubElement(config, "threshold-monitor-hidden", xmlns="urn:brocade.com:mgmt:brocade-threshold-monitor") threshold_monitor = ET.SubElement(threshold_monitor_hidden, "threshold-monitor") sfp = ET.SubElement(threshold_monit...
def threshold_monitor_hidden_threshold_monitor_sfp_apply(self, **kwargs)
Auto Generated Code
1.350359
1.294518
1.043137
config = ET.Element("config") threshold_monitor_hidden = ET.SubElement(config, "threshold-monitor-hidden", xmlns="urn:brocade.com:mgmt:brocade-threshold-monitor") threshold_monitor = ET.SubElement(threshold_monitor_hidden, "threshold-monitor") sfp = ET.SubElement(threshold_monit...
def threshold_monitor_hidden_threshold_monitor_sfp_pause(self, **kwargs)
Auto Generated Code
1.454337
1.374835
1.057826
config = ET.Element("config") threshold_monitor_hidden = ET.SubElement(config, "threshold-monitor-hidden", xmlns="urn:brocade.com:mgmt:brocade-threshold-monitor") threshold_monitor = ET.SubElement(threshold_monitor_hidden, "threshold-monitor") sfp = ET.SubElement(threshold_monit...
def threshold_monitor_hidden_threshold_monitor_sfp_policy_policy_name(self, **kwargs)
Auto Generated Code
1.345252
1.297999
1.036405
config = ET.Element("config") threshold_monitor_hidden = ET.SubElement(config, "threshold-monitor-hidden", xmlns="urn:brocade.com:mgmt:brocade-threshold-monitor") threshold_monitor = ET.SubElement(threshold_monitor_hidden, "threshold-monitor") sfp = ET.SubElement(threshold_monit...
def threshold_monitor_hidden_threshold_monitor_sfp_policy_area_type(self, **kwargs)
Auto Generated Code
1.336899
1.295135
1.032247
config = ET.Element("config") threshold_monitor_hidden = ET.SubElement(config, "threshold-monitor-hidden", xmlns="urn:brocade.com:mgmt:brocade-threshold-monitor") threshold_monitor = ET.SubElement(threshold_monitor_hidden, "threshold-monitor") sfp = ET.SubElement(threshold_monit...
def threshold_monitor_hidden_threshold_monitor_sfp_policy_area_threshold_high_threshold(self, **kwargs)
Auto Generated Code
1.306698
1.290249
1.012749
config = ET.Element("config") threshold_monitor_hidden = ET.SubElement(config, "threshold-monitor-hidden", xmlns="urn:brocade.com:mgmt:brocade-threshold-monitor") threshold_monitor = ET.SubElement(threshold_monitor_hidden, "threshold-monitor") sfp = ET.SubElement(threshold_monit...
def threshold_monitor_hidden_threshold_monitor_sfp_policy_area_alert_above_above_highthresh_action(self, **kwargs)
Auto Generated Code
1.308222
1.279633
1.022341
config = ET.Element("config") threshold_monitor_hidden = ET.SubElement(config, "threshold-monitor-hidden", xmlns="urn:brocade.com:mgmt:brocade-threshold-monitor") threshold_monitor = ET.SubElement(threshold_monitor_hidden, "threshold-monitor") sfp = ET.SubElement(threshold_monit...
def threshold_monitor_hidden_threshold_monitor_sfp_policy_area_alert_below_below_highthresh_action(self, **kwargs)
Auto Generated Code
1.303308
1.277884
1.019896
config = ET.Element("config") threshold_monitor_hidden = ET.SubElement(config, "threshold-monitor-hidden", xmlns="urn:brocade.com:mgmt:brocade-threshold-monitor") threshold_monitor = ET.SubElement(threshold_monitor_hidden, "threshold-monitor") security = ET.SubElement(threshold_...
def threshold_monitor_hidden_threshold_monitor_security_apply(self, **kwargs)
Auto Generated Code
1.368388
1.316743
1.039222
config = ET.Element("config") threshold_monitor_hidden = ET.SubElement(config, "threshold-monitor-hidden", xmlns="urn:brocade.com:mgmt:brocade-threshold-monitor") threshold_monitor = ET.SubElement(threshold_monitor_hidden, "threshold-monitor") security = ET.SubElement(threshold_...
def threshold_monitor_hidden_threshold_monitor_security_pause(self, **kwargs)
Auto Generated Code
1.4688
1.412151
1.040115
config = ET.Element("config") threshold_monitor_hidden = ET.SubElement(config, "threshold-monitor-hidden", xmlns="urn:brocade.com:mgmt:brocade-threshold-monitor") threshold_monitor = ET.SubElement(threshold_monitor_hidden, "threshold-monitor") security = ET.SubElement(threshold_...
def threshold_monitor_hidden_threshold_monitor_security_policy_sec_policy_name(self, **kwargs)
Auto Generated Code
1.386891
1.343023
1.032663
config = ET.Element("config") threshold_monitor_hidden = ET.SubElement(config, "threshold-monitor-hidden", xmlns="urn:brocade.com:mgmt:brocade-threshold-monitor") threshold_monitor = ET.SubElement(threshold_monitor_hidden, "threshold-monitor") security = ET.SubElement(threshold_...
def threshold_monitor_hidden_threshold_monitor_security_policy_area_sec_area_value(self, **kwargs)
Auto Generated Code
1.367615
1.339759
1.020791
config = ET.Element("config") threshold_monitor_hidden = ET.SubElement(config, "threshold-monitor-hidden", xmlns="urn:brocade.com:mgmt:brocade-threshold-monitor") threshold_monitor = ET.SubElement(threshold_monitor_hidden, "threshold-monitor") security = ET.SubElement(threshold_...
def threshold_monitor_hidden_threshold_monitor_security_policy_area_timebase(self, **kwargs)
Auto Generated Code
1.40304
1.369884
1.024203
config = ET.Element("config") threshold_monitor_hidden = ET.SubElement(config, "threshold-monitor-hidden", xmlns="urn:brocade.com:mgmt:brocade-threshold-monitor") threshold_monitor = ET.SubElement(threshold_monitor_hidden, "threshold-monitor") security = ET.SubElement(threshold_...
def threshold_monitor_hidden_threshold_monitor_security_policy_area_threshold_sec_high_threshold(self, **kwargs)
Auto Generated Code
1.37915
1.361842
1.012709
config = ET.Element("config") threshold_monitor_hidden = ET.SubElement(config, "threshold-monitor-hidden", xmlns="urn:brocade.com:mgmt:brocade-threshold-monitor") threshold_monitor = ET.SubElement(threshold_monitor_hidden, "threshold-monitor") security = ET.SubElement(threshold_...
def threshold_monitor_hidden_threshold_monitor_security_policy_area_alert_above_sec_above_highthresh_action(self, **kwargs)
Auto Generated Code
1.375752
1.348788
1.019991
config = ET.Element("config") threshold_monitor_hidden = ET.SubElement(config, "threshold-monitor-hidden", xmlns="urn:brocade.com:mgmt:brocade-threshold-monitor") threshold_monitor = ET.SubElement(threshold_monitor_hidden, "threshold-monitor") security = ET.SubElement(threshold_...
def threshold_monitor_hidden_threshold_monitor_security_policy_area_alert_below_sec_below_highthresh_action(self, **kwargs)
Auto Generated Code
1.379166
1.350874
1.020943
config = ET.Element("config") threshold_monitor_hidden = ET.SubElement(config, "threshold-monitor-hidden", xmlns="urn:brocade.com:mgmt:brocade-threshold-monitor") threshold_monitor = ET.SubElement(threshold_monitor_hidden, "threshold-monitor") Cpu = ET.SubElement(threshold_monit...
def threshold_monitor_hidden_threshold_monitor_Cpu_poll(self, **kwargs)
Auto Generated Code
1.372142
1.357213
1.010999
config = ET.Element("config") threshold_monitor_hidden = ET.SubElement(config, "threshold-monitor-hidden", xmlns="urn:brocade.com:mgmt:brocade-threshold-monitor") threshold_monitor = ET.SubElement(threshold_monitor_hidden, "threshold-monitor") Cpu = ET.SubElement(threshold_monit...
def threshold_monitor_hidden_threshold_monitor_Cpu_retry(self, **kwargs)
Auto Generated Code
1.376907
1.361264
1.011491
config = ET.Element("config") threshold_monitor_hidden = ET.SubElement(config, "threshold-monitor-hidden", xmlns="urn:brocade.com:mgmt:brocade-threshold-monitor") threshold_monitor = ET.SubElement(threshold_monitor_hidden, "threshold-monitor") Cpu = ET.SubElement(threshold_monit...
def threshold_monitor_hidden_threshold_monitor_Cpu_limit(self, **kwargs)
Auto Generated Code
1.420714
1.401703
1.013563
config = ET.Element("config") threshold_monitor_hidden = ET.SubElement(config, "threshold-monitor-hidden", xmlns="urn:brocade.com:mgmt:brocade-threshold-monitor") threshold_monitor = ET.SubElement(threshold_monitor_hidden, "threshold-monitor") Cpu = ET.SubElement(threshold_monit...
def threshold_monitor_hidden_threshold_monitor_Cpu_actions(self, **kwargs)
Auto Generated Code
1.384366
1.368978
1.01124
config = ET.Element("config") threshold_monitor_hidden = ET.SubElement(config, "threshold-monitor-hidden", xmlns="urn:brocade.com:mgmt:brocade-threshold-monitor") threshold_monitor = ET.SubElement(threshold_monitor_hidden, "threshold-monitor") Memory = ET.SubElement(threshold_mo...
def threshold_monitor_hidden_threshold_monitor_Memory_poll(self, **kwargs)
Auto Generated Code
1.368819
1.341212
1.020584
config = ET.Element("config") threshold_monitor_hidden = ET.SubElement(config, "threshold-monitor-hidden", xmlns="urn:brocade.com:mgmt:brocade-threshold-monitor") threshold_monitor = ET.SubElement(threshold_monitor_hidden, "threshold-monitor") Memory = ET.SubElement(threshold_mo...
def threshold_monitor_hidden_threshold_monitor_Memory_retry(self, **kwargs)
Auto Generated Code
1.374835
1.34233
1.024216
config = ET.Element("config") threshold_monitor_hidden = ET.SubElement(config, "threshold-monitor-hidden", xmlns="urn:brocade.com:mgmt:brocade-threshold-monitor") threshold_monitor = ET.SubElement(threshold_monitor_hidden, "threshold-monitor") Memory = ET.SubElement(threshold_mo...
def threshold_monitor_hidden_threshold_monitor_Memory_limit(self, **kwargs)
Auto Generated Code
1.440213
1.397359
1.030667
config = ET.Element("config") threshold_monitor_hidden = ET.SubElement(config, "threshold-monitor-hidden", xmlns="urn:brocade.com:mgmt:brocade-threshold-monitor") threshold_monitor = ET.SubElement(threshold_monitor_hidden, "threshold-monitor") Memory = ET.SubElement(threshold_mo...
def threshold_monitor_hidden_threshold_monitor_Memory_high_limit(self, **kwargs)
Auto Generated Code
1.368694
1.333639
1.026286
config = ET.Element("config") threshold_monitor_hidden = ET.SubElement(config, "threshold-monitor-hidden", xmlns="urn:brocade.com:mgmt:brocade-threshold-monitor") threshold_monitor = ET.SubElement(threshold_monitor_hidden, "threshold-monitor") Memory = ET.SubElement(threshold_mo...
def threshold_monitor_hidden_threshold_monitor_Memory_low_limit(self, **kwargs)
Auto Generated Code
1.37727
1.339503
1.028195
config = ET.Element("config") threshold_monitor_hidden = ET.SubElement(config, "threshold-monitor-hidden", xmlns="urn:brocade.com:mgmt:brocade-threshold-monitor") threshold_monitor = ET.SubElement(threshold_monitor_hidden, "threshold-monitor") Memory = ET.SubElement(threshold_mo...
def threshold_monitor_hidden_threshold_monitor_Memory_actions(self, **kwargs)
Auto Generated Code
1.386124
1.350668
1.026251
config = ET.Element("config") threshold_monitor_hidden = ET.SubElement(config, "threshold-monitor-hidden", xmlns="urn:brocade.com:mgmt:brocade-threshold-monitor") threshold_monitor = ET.SubElement(threshold_monitor_hidden, "threshold-monitor") interface = ET.SubElement(threshold...
def threshold_monitor_hidden_threshold_monitor_interface_apply(self, **kwargs)
Auto Generated Code
1.364951
1.321791
1.032653
config = ET.Element("config") threshold_monitor_hidden = ET.SubElement(config, "threshold-monitor-hidden", xmlns="urn:brocade.com:mgmt:brocade-threshold-monitor") threshold_monitor = ET.SubElement(threshold_monitor_hidden, "threshold-monitor") interface = ET.SubElement(threshold...
def threshold_monitor_hidden_threshold_monitor_interface_pause(self, **kwargs)
Auto Generated Code
1.448066
1.407028
1.029166
config = ET.Element("config") threshold_monitor_hidden = ET.SubElement(config, "threshold-monitor-hidden", xmlns="urn:brocade.com:mgmt:brocade-threshold-monitor") threshold_monitor = ET.SubElement(threshold_monitor_hidden, "threshold-monitor") interface = ET.SubElement(threshold...
def threshold_monitor_hidden_threshold_monitor_interface_policy_policy_name(self, **kwargs)
Auto Generated Code
1.342962
1.289337
1.041591
config = ET.Element("config") threshold_monitor_hidden = ET.SubElement(config, "threshold-monitor-hidden", xmlns="urn:brocade.com:mgmt:brocade-threshold-monitor") threshold_monitor = ET.SubElement(threshold_monitor_hidden, "threshold-monitor") interface = ET.SubElement(threshold...
def threshold_monitor_hidden_threshold_monitor_interface_policy_area_area_value(self, **kwargs)
Auto Generated Code
1.316483
1.288999
1.021321
new_route = new_hw_map.route if new_route in self.raw_maps: raise KeyError("HW Map already exists: {0:s}".format(new_hw_map.route)) common_addresses = set(self).intersection(new_hw_map) if common_addresses: raise ValueError("An address in {0:s} already e...
def add(self, new_hw_map)
Add the HW map only if it doesn't exist for a given key, and no address collisions
3.962318
3.612992
1.096686
for address in self.raw_maps.pop(route, NullHardwareMap()).iterkeys(): self.pop(address, NullHardwareNode())
def subtract(self, route)
Remove the route entirely.
28.306055
23.71022
1.193833
# Setup Watchdog handler = FileSystemEvents(source_path, dest_path) # Always run initial compile handler.compile_scss() observer = Observer(timeout=5000) observer.schedule(handler, path=source_path, recursive=True) observer.start()
def watch(source_path, dest_path)
Watches for filesystem changes and compiles SCSS to CSS This is an async function. :param str source_path: The source directory to watch. All .scss files are monitored. :param str dest_path: The destination directory where the resulting CSS files shoul...
5.554432
6.523554
0.851443
urn = "{urn:brocade.com:mgmt:brocade-lldp-ext}" result = [] has_more = '' last_ifindex = '' rbridge_id = None if 'rbridge_id' in kwargs: rbridge_id = kwargs.pop('rbridge_id') while (has_more == '') or (has_more == 'true'): reques...
def neighbors(self, **kwargs)
list[dict]: A list of dictionary items describing the operational state of LLDP.
1.830608
1.815015
1.008591
config = ET.Element("config") event_handler = ET.SubElement(config, "event-handler", xmlns="urn:brocade.com:mgmt:brocade-event-handler") event_handler_list = ET.SubElement(event_handler, "event-handler-list") name_key = ET.SubElement(event_handler_list, "name") name_key....
def event_handler_event_handler_list_description(self, **kwargs)
Auto Generated Code
1.316588
1.25433
1.049634
config = ET.Element("config") lacp = ET.SubElement(config, "lacp", xmlns="urn:brocade.com:mgmt:brocade-lacp") system_priority = ET.SubElement(lacp, "system-priority") system_priority.text = kwargs.pop('system_priority') callback = kwargs.pop('callback', self._callback) ...
def lacp_system_priority(self, **kwargs)
Auto Generated Code
1.404525
1.302486
1.078341
config = ET.Element("config") vlag_commit_mode = ET.SubElement(config, "vlag-commit-mode", xmlns="urn:brocade.com:mgmt:brocade-lacp") disable = ET.SubElement(vlag_commit_mode, "disable") callback = kwargs.pop('callback', self._callback) return callback(config)
def vlag_commit_mode_disable(self, **kwargs)
Auto Generated Code
1.540859
1.415139
1.08884
if request.method == "POST": form = PasswordForm(data=request.POST) if form.is_valid(): # TODO: set session with better param request.session["simple_auth"] = True return redirect(form.cleaned_data["url"] or "/") else: form = PasswordForm() re...
def simple_password(request)
Checks a password
3.266107
3.369096
0.969431
changes = latest_changes() changes[0] = "`Changes for v{}".format(changes[0][1:]) changes[1] = '-' * len(changes[0]) return "\n\n\n".join([ read_file('README.rst'), '\n'.join(changes), "`Full changelog <{}/en/develop/changelog.html#changelog>`_.".format( DOCUMENT...
def long_description()
Collates project README and latest changes.
6.797131
6.528973
1.041072
config = ET.Element("config") hide_virtual_ip_holder = ET.SubElement(config, "hide-virtual-ip-holder", xmlns="urn:brocade.com:mgmt:brocade-chassis") chassis = ET.SubElement(hide_virtual_ip_holder, "chassis") virtual_ip = ET.SubElement(chassis, "virtual-ip") virtual_ip.te...
def hide_virtual_ip_holder_chassis_virtual_ip(self, **kwargs)
Auto Generated Code
1.400428
1.324999
1.056928
config = ET.Element("config") hide_virtual_ip_holder = ET.SubElement(config, "hide-virtual-ip-holder", xmlns="urn:brocade.com:mgmt:brocade-chassis") chassis = ET.SubElement(hide_virtual_ip_holder, "chassis") virtual_ipv6 = ET.SubElement(chassis, "virtual-ipv6") virtual_i...
def hide_virtual_ip_holder_chassis_virtual_ipv6(self, **kwargs)
Auto Generated Code
1.38063
1.316788
1.048483
config = ET.Element("config") hide_virtual_ip_holder = ET.SubElement(config, "hide-virtual-ip-holder", xmlns="urn:brocade.com:mgmt:brocade-chassis") chassis = ET.SubElement(hide_virtual_ip_holder, "chassis") oper_address = ET.SubElement(chassis, "oper-address") virtual_o...
def hide_virtual_ip_holder_chassis_oper_address_virtual_oper_Vip_address(self, **kwargs)
Auto Generated Code
1.331272
1.310362
1.015957
config = ET.Element("config") firmware = ET.SubElement(config, "firmware", xmlns="urn:brocade.com:mgmt:brocade-firmware") autoupgrade = ET.SubElement(firmware, "autoupgrade") enable = ET.SubElement(autoupgrade, "enable") callback = kwargs.pop('callback', self._callback)...
def firmware_autoupgrade_enable(self, **kwargs)
Auto Generated Code
1.492414
1.292449
1.154717
config = ET.Element("config") firmware = ET.SubElement(config, "firmware", xmlns="urn:brocade.com:mgmt:brocade-firmware") autoupgrade_params = ET.SubElement(firmware, "autoupgrade-params") path = ET.SubElement(autoupgrade_params, "path") path.text = kwargs.pop('path') ...
def firmware_autoupgrade_params_path(self, **kwargs)
Auto Generated Code
1.471209
1.315398
1.118452
config = ET.Element("config") firmware = ET.SubElement(config, "firmware", xmlns="urn:brocade.com:mgmt:brocade-firmware") autoupgrade_params = ET.SubElement(firmware, "autoupgrade-params") protocol = ET.SubElement(autoupgrade_params, "protocol") protocol.text = kwargs.po...
def firmware_autoupgrade_params_protocol(self, **kwargs)
Auto Generated Code
1.383648
1.268136
1.091088
config = ET.Element("config") firmware = ET.SubElement(config, "firmware", xmlns="urn:brocade.com:mgmt:brocade-firmware") autoupgrade_params = ET.SubElement(firmware, "autoupgrade-params") ipaddress = ET.SubElement(autoupgrade_params, "ipaddress") ipaddress.text = kwargs...
def firmware_autoupgrade_params_ipaddress(self, **kwargs)
Auto Generated Code
1.359162
1.254829
1.083145
config = ET.Element("config") firmware = ET.SubElement(config, "firmware", xmlns="urn:brocade.com:mgmt:brocade-firmware") autoupgrade_params = ET.SubElement(firmware, "autoupgrade-params") username = ET.SubElement(autoupgrade_params, "username") username.text = kwargs.po...
def firmware_autoupgrade_params_username(self, **kwargs)
Auto Generated Code
1.398399
1.26607
1.104519
config = ET.Element("config") firmware = ET.SubElement(config, "firmware", xmlns="urn:brocade.com:mgmt:brocade-firmware") autoupgrade_params = ET.SubElement(firmware, "autoupgrade-params") pass_el = ET.SubElement(autoupgrade_params, "pass") pass_el.text = kwargs.pop('pas...
def firmware_autoupgrade_params_pass(self, **kwargs)
Auto Generated Code
1.601972
1.426107
1.123318
config = ET.Element("config") openflow_controller = ET.SubElement(config, "openflow-controller", xmlns="urn:brocade.com:mgmt:brocade-openflow") controller_name = ET.SubElement(openflow_controller, "controller-name") controller_name.text = kwargs.pop('controller_name') c...
def openflow_controller_controller_name(self, **kwargs)
Auto Generated Code
1.469086
1.274685
1.152509
config = ET.Element("config") openflow_controller = ET.SubElement(config, "openflow-controller", xmlns="urn:brocade.com:mgmt:brocade-openflow") controller_name_key = ET.SubElement(openflow_controller, "controller-name") controller_name_key.text = kwargs.pop('controller_name') ...
def openflow_controller_connection_address_controller_address(self, **kwargs)
Auto Generated Code
1.3516
1.263619
1.069627
config = ET.Element("config") openflow_controller = ET.SubElement(config, "openflow-controller", xmlns="urn:brocade.com:mgmt:brocade-openflow") controller_name_key = ET.SubElement(openflow_controller, "controller-name") controller_name_key.text = kwargs.pop('controller_name') ...
def openflow_controller_connection_address_connection_method(self, **kwargs)
Auto Generated Code
1.369117
1.27994
1.069673
config = ET.Element("config") openflow_controller = ET.SubElement(config, "openflow-controller", xmlns="urn:brocade.com:mgmt:brocade-openflow") controller_name_key = ET.SubElement(openflow_controller, "controller-name") controller_name_key.text = kwargs.pop('controller_name') ...
def openflow_controller_connection_address_connection_port(self, **kwargs)
Auto Generated Code
1.339846
1.25184
1.070301
config = ET.Element('config') vlinterface = ET.SubElement(config, 'interface-vlan', xmlns=("urn:brocade.com:mgmt:" "brocade-interface")) interface = ET.SubElement(vlinterface, 'interface') vlan = ET.S...
def add_vlan_int(self, vlan_id)
Add VLAN Interface. VLAN interfaces are required for VLANs even when not wanting to use the interface for any L3 features. Args: vlan_id: ID for the VLAN interface being created. Value of 2-4096. Returns: True if command completes successfully or False if not. ...
3.953168
3.957647
0.998868
config = ET.Element('config') interface = ET.SubElement(config, 'interface', xmlns=("urn:brocade.com:mgmt:" "brocade-interface")) int_type = ET.SubElement(interface, inter_type) name = ET.SubElement(int_t...
def disable_switchport(self, inter_type, inter)
Change an interface's operation to L3. Args: inter_type: The type of interface you want to configure. Ex. tengigabitethernet, gigabitethernet, fortygigabitethernet. inter: The ID for the interface you want to configure. Ex. 1/0/1 Returns: True if com...
3.474043
3.826934
0.907787
config = ET.Element('config') interface = ET.SubElement(config, 'interface', xmlns=("urn:brocade.com:mgmt:" "brocade-interface")) int_type = ET.SubElement(interface, inter_type) name = ET.SubElement(int_t...
def access_vlan(self, inter_type, inter, vlan_id)
Add a L2 Interface to a specific VLAN. Args: inter_type: The type of interface you want to configure. Ex. tengigabitethernet, gigabitethernet, fortygigabitethernet. inter: The ID for the interface you want to configure. Ex. 1/0/1 vlan_id: ID for the VLAN inte...
2.720902
2.799908
0.971783
config = ET.Element('config') interface = ET.SubElement(config, 'interface', xmlns=("urn:brocade.com:mgmt:" "brocade-interface")) intert = ET.SubElement(interface, inter_type) name = ET.SubElement(intert,...
def set_ip(self, inter_type, inter, ip_addr)
Set IP address of a L3 interface. Args: inter_type: The type of interface you want to configure. Ex. tengigabitethernet, gigabitethernet, fortygigabitethernet. inter: The ID for the interface you want to configure. Ex. 1/0/1 ip_addr: IP Address in <prefix>/<b...
2.831902
2.844553
0.995552
port_int = kwargs.pop('port_int') callback = kwargs.pop('callback', self._callback) if re.search('^[0-9]{1,4}$', port_int) is None: raise ValueError('%s must be in the format of x for port channel ' 'interfaces.' % repr(port_int)) port_...
def remove_port_channel(self, **kwargs)
Remove a port channel interface. Args: port_int (str): port-channel number (1, 2, 3, etc). callback (function): A function executed upon completion of the method. The only parameter passed to `callback` will be the ``ElementTree`` `config`. Re...
3.703839
3.734288
0.991846
int_type = str(kwargs.pop('int_type').lower()) name = str(kwargs.pop('name')) desc = str(kwargs.pop('desc')) callback = kwargs.pop('callback', self._callback) int_types = [ 'gigabitethernet', 'tengigabitethernet', 'fortygigabitetherne...
def description(self, **kwargs)
Set interface description. Args: int_type (str): Type of interface. (gigabitethernet, tengigabitethernet, etc) name (str): Name of interface. (1/0/5, 1/0/10, etc) desc (str): The description of the interface. callback (function): A function execut...
2.264568
2.070616
1.093668
name = kwargs.pop('name') pvlan_type = kwargs.pop('pvlan_type') callback = kwargs.pop('callback', self._callback) allowed_pvlan_types = ['isolated', 'primary', 'community'] if not pynos.utilities.valid_vlan_id(name): raise InvalidVlanId("Incorrect name value...
def private_vlan_type(self, **kwargs)
Set the PVLAN type (primary, isolated, community). Args: name (str): VLAN ID. pvlan_type (str): PVLAN type (primary, isolated, community) callback (function): A function executed upon completion of the method. The only parameter passed to `callback` will be ...
3.618237
2.822024
1.282142
name = kwargs.pop('name') sec_vlan = kwargs.pop('sec_vlan') callback = kwargs.pop('callback', self._callback) if not pynos.utilities.valid_vlan_id(name): raise InvalidVlanId("Incorrect name value.") if not pynos.utilities.valid_vlan_id(sec_vlan): ...
def vlan_pvlan_association_add(self, **kwargs)
Add a secondary PVLAN to a primary PVLAN. Args: name (str): VLAN number (1-4094). sec_vlan (str): The secondary PVLAN. callback (function): A function executed upon completion of the method. The only parameter passed to `callback` will be the ...
3.607286
3.244087
1.111957