code stringlengths 10 58.5k | file_path stringlengths 53 173 |
|---|---|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import absolute_import, print_function, division
class IxiaError(RuntimeError):
''' Ixia error '''
TCL_NOT_FOUND = 1
HLTAPI_NOT_FOUND = 2
HLTAPI_NOT_PREPARED = 3
HLTAPI_NOT_INITED = 4
COMMAND_FAIL = 5,
WINREG_NOT_FOUND = 6
I... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiaerror.py_part1 |
import sys
import ixiautil
import uuid
from ixiaerror import IxiaError
from ixiautil import Logger
from ixiahlt import IxiaHlt
class IxiaNgpf(object):
'''
Python wrapper class over the NGPF commands
'''
def __init__(self, ixiahlt):
self.__logger = Logger('ixiangpf', print_timestamp=False)
... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf.py_part1 |
The original file names are then replaced with the new locations from the server.
'''
server_file_args = {}
for (i, (k, v)) in enumerate(file_args.items()):
# add guid to the server file name
persistencePath = self.__ixn_call('getAttribute', '/globals', '-persiste... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf.py_part2 |
import ixiangpf_commands.emulation_ovsdb_control
import ixiangpf_commands.emulation_ovsdb_info
import ixiangpf_commands.emulation_pcc_config
import ixiangpf_commands.emulation_pcc_control
import ixiangpf_commands.emulation_pcc_info
import ixiangpf_commands.emulation_pce_config
import ixiangpf_commands.emulation_pce_con... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf.py_part3 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import absolute_import, print_function, division
__version__ = '1.0'
| KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/__init__.py_part1 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import absolute_import, print_function, division
import getpass
import itertools
import platform
import re
import sys
import xml.etree.ElementTree as ElementTree
from datetime import datetime
from ixiaerror import IxiaError
class Logger(object):
CAT_... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiautil.py_part1 |
from ixiahlt import IxiaHlt
def make_hltapi_fail(log):
return {'status': IxiaHlt.FAIL, 'log': log}
| KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiautil.py_part2 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import absolute_import, print_function, division
import sys
import os
try:
import Tkinter as tkinter
except ImportError:
import tkinter
from ixiautil import Logger
class IxiaTcl(object):
'''
Python wrapper class over Tkinter tcl interp
... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiatcl.py_part1 |
for c in tcl_string:
if state == 0:
if c == '\\':
state = 1
elif c in invalid_chars:
if c == '{' and count == 1:
a = tcl_string.rfind('}')
if a == len(tcl_string)-1:
... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiatcl.py_part2 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import absolute_import, print_function, division
import os
import os.path
import sys
from glob import glob
from ixiaerror import *
from ixiautil import *
try:
from Tkinter import TclError
except ImportError:
from tkinter import TclError
class Ix... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiahlt.py_part1 |
raise e
return keys
def __get_tcl_mejor_version(self):
tkinter_tcl_version = [int(i) for i in self.ixiatcl._eval('info patchlevel').split('.')]
if (tkinter_tcl_version[0], tkinter_tcl_version[1]) <= (8,5):
return '8.5'
else:
return '8.6'
... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiahlt.py_part2 |
{'name': 'traffic_stats', 'namespace': ixia_ns, 'parse_io': True},
{'name': 'get_nodrop_rate', 'namespace': ixia_ns, 'parse_io': True},
{'name': 'find_in_csv', 'namespace': ixia_ns, 'parse_io': True},
{'name': 'test_control', 'namespace': ixia_ns, 'parse_io': True},
... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiahlt.py_part3 |
{'name': 'emulation_bgp_info', 'namespace': ixia_ns, 'parse_io': True},
{'name': 'emulation_bgp_route_config', 'namespace': ixia_ns, 'parse_io': True},
{'name': 'emulation_cfm_config', 'namespace': ixia_ns, 'parse_io': True},
{'name': 'emulation_cfm_contro... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiahlt.py_part4 |
{'name': 'emulation_ospf_topology_route_config', 'namespace': ixia_ns, 'parse_io': True},
{'name': 'emulation_pbb_config', 'namespace': ixia_ns, 'parse_io': True},
{'name': 'emulation_pbb_control', 'namespace': ixia_ns, 'parse_io': True},
{'name': 'emulati... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiahlt.py_part5 |
{'name': 'fcoe_fwd_control', 'namespace': ixia_ns, 'parse_io': True},
{'name': 'fcoe_fwd_stats', 'namespace': ixia_ns, 'parse_io': True},
{'name': 'fcoe_fwd_globals_config', 'namespace': ixia_ns, 'parse_io': True},
{'name': 'fcoe_fwd_options_config', 'name... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiahlt.py_part6 |
# -*- coding: utf-8 -*-
import sys
from ixiaerror import IxiaError
from ixiangpf import IxiaNgpf
from ixiautil import PartialClass, make_hltapi_fail
class IxiaNgpf(PartialClass, IxiaNgpf):
def emulation_ldp_config(self, **kwargs):
r'''
#Procedure Header
Name:
emulation_ldp_config
Description:
... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_ldp_config.py_part1 |
x [-target_name ALPHA]
x [-target_multiplier NUMERIC]
x [-target_auth_key ANY]
x [-initiate_targeted_hello CHOICES 0 1]
x [-target_auth_mode ... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_ldp_config.py_part2 |
with the entire list of layer 2-3 parameters. Otherwise they will be
set to their default values.
-intf_ipv6_prefix_length
Prefix length on the interface.
-intf_ipv6_addr_step
Define interface IP address for multiple sessions.
Valid only for -mode create.
... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_ldp_config.py_part3 |
x Valid only for -mode create.
x Gives the step for the gateway IP address.
x -graceful_restart_enable
x Will enable graceful restart (HA) on the LDP neighbor.
n -no_write
n This argument defined by Cisco is not supported for NGPF implementation.
x -reconnect_time
x (... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_ldp_config.py_part4 |
x Version of LDP. When RFC 5036 is chosen, LDP version is version 1. When draft-pdutta-mpls-ldp-adj-capability-00 is chosen, LDP version is version 2
x -session_preference
x The transport connection preference of the LDP router that is conveyed in Dual-stack capability TLV included in LDP Hello mess... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_ldp_config.py_part5 |
List of LDP routers created Please note that this key will be omitted if the current session or command were run with -return_detailed_handles 0.
key:handle value:List of LDP routers created Please note that this key will be omitted if the current session or command were run with ... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_ldp_config.py_part6 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import absolute_import, print_function, division
import sys
import ixiautil
from ixiahlt import IxiaHlt
from ixiangpf import IxiaNgpf
class IxiaNgpf(ixiautil.PartialClass, IxiaNgpf):
# TODO: set man and defaulted args, docstring
def cleanup_sess... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/cleanup_session.py_part1 |
# -*- coding: utf-8 -*-
import sys
from ixiaerror import IxiaError
from ixiangpf import IxiaNgpf
from ixiautil import PartialClass, make_hltapi_fail
class IxiaNgpf(PartialClass, IxiaNgpf):
def emulation_pce_config(self, mode, **kwargs):
r'''
#Procedure Header
Name:
emulation_pce_config
Description... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_pce_config.py_part1 |
x [-pce_initiate_xro_ipv4_address_step ANY]
x [-pce_initiate_xro_ipv6_address ANY]
x [-pce_initiate_xro_ipv6_address_step ANY]
x [-pce_initiate_xro_router_id ANY]
x [-pce_initiate_xro_router_id_step ANY]
x [-pce... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_pce_config.py_part2 |
x CHOICES ipv6prefix
x CHOICES unnumberedinterfaceid
x CHOICES asnumber
x CHOICES srlg]
x [-xro_... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_pce_config.py_part3 |
x [-trigger_sr_remote_interface_id ANY]
x [-trigger_sr_metric_type CHOICES igp tg hopcount msd]
x [-trigger_sr_active_this_metric ANY]
x [-trigger_sr_metric_value ANY]
x [-trigger_sr_b_flag ... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_pce_config.py_part4 |
x The SRP object is used to correlate between initiation requests sent by the PCE and the error reports and state reports sent by the PCC. This number is unique per PCEP session and is incremented per initiation.
x -override_plsp_id
x Indicates if PLSP-ID will be set by the state machine or user. If... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_pce_config.py_part5 |
x 32 bit PKS ID
x -pce_initiate_pce_id128
x 128 bit PKS ID
x -pcep_ero_sub_objects_list_active
x Controls whether the ERO sub-object will be sent in the PCInitiate message.
x -loose_hop
x Indicates if user wants to represent a loose-hop sub object in the LSP
x -sub_object... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_pce_config.py_part6 |
x -pc_reply_include_lsp
x Include LSP
x -enable_ero
x Include ERO
x -pc_reply_include_metric
x Include Metric
x -pc_reply_include_bandwidth
x Include Bandwidth
x -pc_reply_include_lspa
x Include LSPA
x -enable_xro
x Include XRO
x -process_type
... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_pce_config.py_part7 |
x Activate/Deactivate PCRequest Match Criteria
x -learned_info_update_item
x Number that indicates which learnedInfoUpdate item needs to be configured.
x -trigger_number_of_ero_sub_objects
x Value that indicates the number of ERO Sub Objects to be configured.
x -trigger_number_of_met... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_pce_config.py_part8 |
x This field is used to carry traffic class information. This control will be editable only if SID Type is MPLS Label 32bit.
x -trigger_sr_bos
x This bit is set to true for the last entry in the label stack i.e., for the bottom of the stack, and false for all other label stack entries.
x Thi... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_pce_config.py_part9 |
key:pce_basic_sr_sync_lsp_update_params_handle value:Handle of Basic SR Learned Info Update configured
Handle of Detailed RSVP Learned Info Update configured
key:pce_detailed_rsvp_sync_lsp_update_params_handle value:Handle of Detailed RSVP Learned Info Update configured
Handle of Basic RS... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_pce_config.py_part10 |
# -*- coding: utf-8 -*-
import sys
from ixiaerror import IxiaError
from ixiangpf import IxiaNgpf
from ixiautil import PartialClass, make_hltapi_fail
class IxiaNgpf(PartialClass, IxiaNgpf):
def emulation_igmp_info(self, mode, **kwargs):
r'''
#Procedure Header
Name:
emulation_igmp_info
Description:
... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_igmp_info.py_part1 |
v3 ALLOW_NEW_SOURCES Rx
key:<port_handle>.igmp.aggregate.v3_allow_new_source_rx value:v3 ALLOW_NEW_SOURCES Rx
v3 BLOCK_OLD_SOURCES Tx
key:<port_handle>.igmp.aggregate.v3_block_old_source_tx value:v3 BLOCK_OLD_SOURCES Tx
v3 BLOCK_OLD_SOURCES Rx
key:... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_igmp_info.py_part2 |
# -*- coding: utf-8 -*-
import sys
from ixiaerror import IxiaError
from ixiangpf import IxiaNgpf
from ixiautil import PartialClass, make_hltapi_fail
class IxiaNgpf(PartialClass, IxiaNgpf):
def emulation_dhcp_group_config(self, handle, **kwargs):
r'''
#Procedure Header
Name:
emulation_dhcp_group_config
... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_dhcp_group_config.py_part1 |
x [-dhcp4_broadcast CHOICES 0 1
x DEFAULT 0]
x [-dhcp4_pad_size NUMERIC
x DEFAULT 1]
x [-dhcp4_enable_bfd_registration ... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_dhcp_group_config.py_part2 |
n This argument defined by Cisco is not supported for NGPF implementation.
n -vpi_count
n This argument defined by Cisco is not supported for NGPF implementation.
n -vpi_step
n This argument defined by Cisco is not supported for NGPF implementation.
x -dhcp6_range_duid_enterprise_id
... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_dhcp_group_config.py_part3 |
which emulation is configured.
Valid for IxTclHal and IxTclNetwork.
n -release_rate
n This argument defined by Cisco is not supported for NGPF implementation.
n -request_rate
n This argument defined by Cisco is not supported for NGPF implementation.
x -use_rapid_commit
... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_dhcp_group_config.py_part4 |
x Valid for IxTclNetwork.
x -reconf_via_relay
x If Enabled allows Reconfigure to be sent from server to Client via RelayAgent
x -dhcpv6_multiplier
x Number of layer instances per parent instance (multiplier)
Return Values:
A list containing the dhcpv6 iapd protocol stack hand... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_dhcp_group_config.py_part5 |
# -*- coding: utf-8 -*-
import sys
from ixiaerror import IxiaError
from ixiangpf import IxiaNgpf
from ixiautil import PartialClass, make_hltapi_fail
class IxiaNgpf(PartialClass, IxiaNgpf):
def emulation_multicast_group_config(self, mode, **kwargs):
r'''
#Procedure Header
Name:
emulation_multicast_group_... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_multicast_group_config.py_part1 |
# -*- coding: utf-8 -*-
import sys
from ixiaerror import IxiaError
from ixiangpf import IxiaNgpf
from ixiautil import PartialClass, make_hltapi_fail
class IxiaNgpf(PartialClass, IxiaNgpf):
def emulation_esmc_config(self, handle, mode, **kwargs):
r'''
#Procedure Header
Name:
emulation_esmc_config
D... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_esmc_config.py_part1 |
hlpy_args
)
except (IxiaError, ):
e = sys.exc_info()[1]
return make_hltapi_fail(e.message)
| KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_esmc_config.py_part2 |
# -*- coding: utf-8 -*-
import sys
from ixiaerror import IxiaError
from ixiangpf import IxiaNgpf
from ixiautil import PartialClass, make_hltapi_fail
class IxiaNgpf(PartialClass, IxiaNgpf):
def emulation_bfd_control(self, mode, **kwargs):
r'''
#Procedure Header
Name:
emulation_bfd_control
Descripti... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_bfd_control.py_part1 |
# -*- coding: utf-8 -*-
import sys
from ixiaerror import IxiaError
from ixiangpf import IxiaNgpf
from ixiautil import PartialClass, make_hltapi_fail
class IxiaNgpf(PartialClass, IxiaNgpf):
def emulation_ovsdb_info(self, mode, **kwargs):
r'''
#Procedure Header
Name:
emulation_ovsdb_info
Description... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_ovsdb_info.py_part1 |
# -*- coding: utf-8 -*-
import sys
from ixiaerror import IxiaError
from ixiangpf import IxiaNgpf
from ixiautil import PartialClass, make_hltapi_fail
class IxiaNgpf(PartialClass, IxiaNgpf):
def emulation_bgp_config(self, mode, **kwargs):
r'''
#Procedure Header
Name:
emulation_bgp_config
Description... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_bgp_config.py_part1 |
x [-local_loopback_ip_addr IP]
x [-local_loopback_ip_prefix_length NUMERIC]
x [-local_loopback_ip_addr_step IP]
x [-remote_loopback_ip_addr IP]
x [-remote_loopback_ip_addr_step ... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_bgp_config.py_part2 |
x DEFAULT 0]
x [-number_of_ext_communities RANGE 0-32
x DEFAULT 1]
x [-enable_ext_community CHOICES 0 1]
x [-ext_communitie... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_bgp_config.py_part3 |
x [-ip_type CHOICES ipv4 ipv6]
x [-ip_address IP]
x [-ipv6_address IP]
x [-enable_b_mac_mapped_ip CHOICES 0 1
x ... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_bgp_config.py_part4 |
x [-srte_remote_endpoint_type NUMERIC]
x [-srte_color_type NUMERIC]
x [-srte_preference_type NUMERIC]
x [-srte_binding_type NUMERIC]
x [-srte_segment_list_type ... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_bgp_config.py_part5 |
n This argument defined by Cisco is not supported for NGPF implementation.
-local_as_step
If you configure more then 1 eBGP neighbor on the Ixia interface,
and if you select the option local_as_mode to increment, the option
local_as_step defines the step by which the AS numbe... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_bgp_config.py_part6 |
x <li> BGP Neighbor 1: $ip_r1 -> interface 1 </li>
x <li> BGP Neighbor 2: $ip_r1 -> interface 5 </li>
x <li> BGP Neighbor 3: $ip_r2 -> interface 1 </li>
x <li> BGP Neighbor 4: $ip_r2 -> interface 2 </li>
x <li> BGP Neighbor 5: $ip_r2 -> interface 3 </li>
x <li> BGP Neighb... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_bgp_config.py_part7 |
-ipv4_filter_mpls_vpn_nlri
If used, support for IPv4 MPLS VPN is advertised in the Capabilities
Optional Parameter / Multiprotocol Extensions parameter in the OPEN
message and in addition, for IxTclNetwork, also sets the filters for the respective learned routes.
-ipv6_unicast_... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_bgp_config.py_part8 |
n -modify_outgoing_as_path
n This argument defined by Cisco is not supported for NGPF implementation.
n -remote_confederation_member
n This argument defined by Cisco is not supported for NGPF implementation.
n -reset
n This argument defined by Cisco is not supported for NGPF implemen... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_bgp_config.py_part9 |
x BGP-LS Instance ID
x -number_of_communities
x Number of Communities
x -enable_community
x Enable Community
x -community_type
x BGP L3 Site Target Types
x -community_as_number
x AS #
x -community_last_two_octets
x Last Two Octets
x -number_of_ext_... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_bgp_config.py_part10 |
x Number of B-MAC Mapped IPs
x -capability_ipv4_unicast_add_path
x Capability Ipv4 Unicast AddPath
x -capability_ipv6_unicast_add_path
x Capability Ipv6 Unicast AddPath
x -capability_ipv4_mpls_vpn_add_path
x Capability check box for IPv4 MPLS VPN Add Path
x -capability_ip... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_bgp_config.py_part11 |
x If enabled, Ingress Peer Supports SRv6 VPN.
x -enable_reduced_encapsulation
x If enabled, Reduced Encapsulation in Data-Plane for SRv6.
x -copy_ttl
x If eneabled, copy TTL from customer packet to outer IPv6 header.
x -srv6_ttl
x TTL value to be used in outer IPv6 header.
... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_bgp_config.py_part12 |
x key:bgp_ethernet_segment_handle value:A list containing the bgp ethernet segment protocol stack handles that were added by the command (if any).
A list containing the bgp b mac mapped ip protocol stack handles that were added by the command (if any).
x key:bgp_b_mac_mapped_ip_handle value:A list cont... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_bgp_config.py_part13 |
# -*- coding: utf-8 -*-
import sys
from ixiaerror import IxiaError
from ixiangpf import IxiaNgpf
from ixiautil import PartialClass, make_hltapi_fail
class IxiaNgpf(PartialClass, IxiaNgpf):
def ptp_globals_config(self, mode, parent_handle, **kwargs):
r'''
#Procedure Header
Name:
ptp_globals_config
... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/ptp_globals_config.py_part1 |
# -*- coding: utf-8 -*-
import sys
from ixiaerror import IxiaError
from ixiangpf import IxiaNgpf
from ixiautil import PartialClass, make_hltapi_fail
class IxiaNgpf(PartialClass, IxiaNgpf):
def traffic_l47_config(self, mode, **kwargs):
r'''
#Procedure Header
Name:
traffic_l47_config
Description:
... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/traffic_l47_config.py_part1 |
x -emulation_scalable_src_intf_count
x An array which contains lists of numbers that encode the number of interfaces
x on which the corresponding endpointset will be configured.
x This parameter will be ignored if no corresponding value is specified for
x emulation_scalable_src_handl... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/traffic_l47_config.py_part2 |
# -*- coding: utf-8 -*-
import sys
from ixiaerror import IxiaError
from ixiangpf import IxiaNgpf
from ixiautil import PartialClass, make_hltapi_fail
class IxiaNgpf(PartialClass, IxiaNgpf):
def emulation_dotonex_config(self, **kwargs):
r'''
#Procedure Header
Name:
emulation_dotonex_config
Descripti... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_dotonex_config.py_part1 |
x CHOICES gm
x CHOICES gn
x CHOICES gp
x CHOICES gq
x CHOICES gr
x CHOICES... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_dotonex_config.py_part2 |
x DEFAULT 30]
x [-organization_name ANY]
x [-start_period RANGE 1-3600
x DEFAULT 30]
x [-max_start RANGE 1-100
x DEFAULT ... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_dotonex_config.py_part3 |
x Max value is 100
x -successive_start
x The number of EAPOL Start messages sent when the supplicant starts the process of authentication.
x Max value is 100
x -fragment_size
x The maximum size of a fragment that can be sent on the wire for TLS fragments that comprise the phase 1... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_dotonex_config.py_part4 |
# -*- coding: utf-8 -*-
import sys
from ixiaerror import IxiaError
from ixiangpf import IxiaNgpf
from ixiautil import PartialClass, make_hltapi_fail
class IxiaNgpf(PartialClass, IxiaNgpf):
def emulation_msrp_talker_config(self, mode, **kwargs):
r'''
#Procedure Header
Name:
emulation_msrp_talker_config
... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_msrp_talker_config.py_part1 |
x -stream_active
x Stream Active.
x -source_mac
x This mac address is to be retrieved from own lower Ethernet layer by default. This field is editable by user for negative testing. This field is used for determining the Stream Id
x -unique_id
x 2 bytes unsigned integer. Default value... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_msrp_talker_config.py_part2 |
key:msrp_talker_handle value:Handle of MSRP Talker configured
Handle of MSRP Talker streams configured
key:msrp_stream_handle value:Handle of MSRP Talker streams configured
Handle of MSRP Talker Domain configured
key:msrp_talker_domain_handle value:Handle of MSRP Talker... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_msrp_talker_config.py_part3 |
# -*- coding: utf-8 -*-
import sys
from ixiaerror import IxiaError
from ixiangpf import IxiaNgpf
from ixiautil import PartialClass, make_hltapi_fail
class IxiaNgpf(PartialClass, IxiaNgpf):
def multivalue_subset_config(self, source_protocol_handle, destination_protocol_handle, target_attribute, **kwargs):
r'''
#P... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/multivalue_subset_config.py_part1 |
# -*- coding: utf-8 -*-
import sys
from ixiaerror import IxiaError
from ixiangpf import IxiaNgpf
from ixiautil import PartialClass, make_hltapi_fail
class IxiaNgpf(PartialClass, IxiaNgpf):
def emulation_ldp_control(self, mode, handle, **kwargs):
r'''
#Procedure Header
Name:
emulation_ldp_control
D... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_ldp_control.py_part1 |
# -*- coding: utf-8 -*-
import sys
from ixiaerror import IxiaError
from ixiangpf import IxiaNgpf
from ixiautil import PartialClass, make_hltapi_fail
class IxiaNgpf(PartialClass, IxiaNgpf):
def emulation_bgp_route_config(self, handle, mode, **kwargs):
r'''
#Procedure Header
Name:
emulation_bgp_route_conf... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_bgp_route_config.py_part1 |
x [-ext_communities_as_four_bytes NUMERIC]
x [-ext_communities_assigned_two_bytes NUMERIC]
x [-ext_communities_assigned_four_bytes NUMERIC]
x [-ext_communities_ip IP]
x [-ext_communities_opaque_data ANY]
x ... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_bgp_route_config.py_part2 |
x DEFAULT 0]
x [-site_id_step RANGE 0-65535
x DEFAULT 0]
[-target ANY]
x [-target_inner_step ... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_bgp_route_config.py_part3 |
x CHOICES per_port
x CHOICES per_topology
x DEFAULT per_port]
x [-custom_distribution_file ANY]
x [-prefix_length_start ... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_bgp_route_config.py_part4 |
x [-enable_multi_exit_discriminator CHOICES 0 1]
x [-multi_exit_discriminator ANY]
x [-enable_atomic_aggregate CHOICES 0 1]
x [-enable_aggregator_id CHOICES 0 1]
x [-enable_originator_id ... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_bgp_route_config.py_part5 |
x [-srv6_sid_loc_len_pmsi NUMERIC]
x [-adv_srv6_sid_in_igp_pmsi CHOICES 0 1]
x [-srv6_sid_loc_metric_pmsi NUMERIC]
x [-srv6_sid_reserved_pmsi HEX]
x [-srv6_sid_flags_pmsi HEX]... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_bgp_route_config.py_part6 |
x [-l3vpn_srv6_endpoint_behavior HEX]
x [-l3vpn_srv6_sid_reserved2 HEX]
x [-l3vpn_send_srv6_sid_optional_info CHOICES 0 1]
x [-l3vpn_srv6_sid_optional_information HEX]
x [-enable_ipv4_receiver CHOICES 0 1]... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_bgp_route_config.py_part7 |
IPv6 mask for the IPv6 routes advertised.
n -enable_generate_unique_routes
n This argument defined by Cisco is not supported for NGPF implementation.
n -end_of_rib
n This argument defined by Cisco is not supported for NGPF implementation.
-packing_from
The minimum numbe... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_bgp_route_config.py_part8 |
x Last Two Octets
x -communities_type
x Type
-enable_large_communitiy
Enables or disables Large communities.
x -num_of_large_communities
x Internal mapping to implicit list length param
x -large_community
x Large Community in cannonical format as defined in RF... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_bgp_route_config.py_part9 |
x Enable Random AS Path
x -max_no_of_as_path_segments
x Maximum Number Of AS Path Segments Per Route Range
x -min_no_of_as_path_segments
x Minimum Number Of AS Path Segments Per Route Range
x -as_segment_distribution
x Type of AS Segment generated. If user selects Random, the... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_bgp_route_config.py_part10 |
x VPN Name
x -advertise_label_block
x Advertise Label Block
x -num_labels
x Specifies the number of labels to be created for the current label block.
-num_labels_type
Type of the -num_labels parameter. Default value is single_value.
x -label_block_offset
x The... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_bgp_route_config.py_part11 |
x Import routes file type. Route import may fail in file type is not matching with the file being imported.
x Options are:
x csv for "Ixia Format / Standard CSV (.csv)"
x cisco for "Cisco IOS Format (.txt)"
x juniper for "Juniper JUNOS Format (.txt)"
x -route_file
x S... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_bgp_route_config.py_part12 |
x -upstream_downstream_assigned_mpls_label
x Upstream/Downstream Assigned MPLS Label
x -use_ipv4_mapped_ipv6_address
x Use IPv4 Mapped IPv6 Address
x -l3_target_count
x Number of RTs in L3VNI Export Route Target List(multiplier)
x -l3_import_target_count
x Number of RTs i... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_bgp_route_config.py_part13 |
x -evpn_ipv6_prefix_range
x Enable EVPN IPv6 Prefix Range
x -export_rt_as_number
x Export Route Target AS Number
x -export_rt_as4_number
x Export Route Target AS4 Number
x -export_rt_ip_address
x IP
x -export_rt_assigned_number
x Export Route Target Assigned N... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_bgp_route_config.py_part14 |
x SRv6 SID Optional Information field Value (Service Information sub-TLV) for all routes in this Route Range.
x -bd_advertise_srv6_sid
x If enabled, advertise SRv6 SID.
x -bd_srv6_sid_loc
x SRv6 Segment Identifier. It consists of Locator, Func and Args.
x -bd_inc_srv6_sid_struct_ss_t... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_bgp_route_config.py_part15 |
x -l3vpn_srv6_sid_loc
x SRv6 Segment Identifier. It consists of Locator, Func and Args.
x -l3vpn_srv6_sid_step
x Route Range SRv6 SID Step.
x -l3vpn_inc_srv6_sid_struct_ss_tlv
x If enabled, Include SRv6 SID Structure Sub-Sub TLV.
x -l3vpn_loc_block_length
x Locator Block ... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_bgp_route_config.py_part16 |
x key:bgp_routes value:A list containing individual interface, session and/or router handles that were added by the command (if any). Please note that this key will be omitted if the current session or command were run with -return_detailed_handles 0.
A list containing individual int... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_bgp_route_config.py_part17 |
# -*- coding: utf-8 -*-
import sys
from ixiaerror import IxiaError
from ixiangpf import IxiaNgpf
from ixiautil import PartialClass, make_hltapi_fail
class IxiaNgpf(PartialClass, IxiaNgpf):
def emulation_msrp_control(self, mode, **kwargs):
r'''
#Procedure Header
Name:
emulation_msrp_control
Descrip... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_msrp_control.py_part1 |
# -*- coding: utf-8 -*-
import sys
from ixiaerror import IxiaError
from ixiangpf import IxiaNgpf
from ixiautil import PartialClass, make_hltapi_fail
class IxiaNgpf(PartialClass, IxiaNgpf):
def emulation_dotonex_info(self, mode, handle, **kwargs):
r'''
#Procedure Header
Name:
emulation_dotonex_info
... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_dotonex_info.py_part1 |
x key:ttls_latency value:TTLS Latency [ms]
FAST Sessions
x key:fast_sessions value:FAST Sessions
FAST Success
x key:fast_success value:FAST Success
FAST Timeout Failed
x key:fast_timeout_failed value:FAST Timeout Failed
FAST... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_dotonex_info.py_part2 |
# -*- coding: utf-8 -*-
import sys
from ixiaerror import IxiaError
from ixiangpf import IxiaNgpf
from ixiautil import PartialClass, make_hltapi_fail
class IxiaNgpf(PartialClass, IxiaNgpf):
def emulation_isis_config(self, mode, handle, **kwargs):
r'''
#Procedure Header
Name:
emulation_isis_config
D... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_isis_config.py_part1 |
x [-auto_adjust_mtu CHOICES 0 1]
x [-auto_adjust_area CHOICES 0 1]
x [-auto_adjust_supported_protocols CHOICES 0 1]
x [-ignore_receive_md5 CHOICES 0 1]
[-area_authentication_mode CHOICES null ... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_isis_config.py_part2 |
x [-d_bit_for_srv6_cap CHOICES 0 1]
x [-s_bit_for_srv6_cap CHOICES 0 1]
x [-o_flag_of_srv6_cap CHOICES 0 1]
x [-reserved_inside_srv6_cap_flag HEX]
x [-srv6_node_prefix IPV6]
x [-srv... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_isis_config.py_part3 |
[-te_admin_group HEX]
[-te_metric NUMERIC]
[-te_max_bw REGEXP ^[0-9]+]
[-te_max_resv_bw REGEXP ^[0-9]+$]
[-te_unresv_bw_priority0 REGEXP ^[0-9]+$]
... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_isis_config.py_part4 |
n [-loopback_te_unresv_bw_priority3 ANY]
n [-loopback_te_unresv_bw_priority4 ANY]
n [-loopback_te_unresv_bw_priority5 ANY]
n [-loopback_te_unresv_bw_priority6 ANY]
n [-loopback_te_unresv_bw_priority7 ANY]
n [-loopback_hello_password ... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_isis_config.py_part5 |
x Selects the supported routing level.
-l1_router_priority
The session routers priority number for L1 DR role.
-l2_router_priority
The session routers priority number for L2 DR role.
-hello_interval
The frequency of transmitting L1/L2 Hello PDUs.
x -hello_inte... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_isis_config.py_part6 |
x Algorithm in SR-MPLS.
x -configure_sid_index_label
x If enabled, then the nodal SID will not be taken from the SRGB range, rather it will be the value of SID index label
x -sid_index_label
x This is the value which will be used to set the nodal SID of the ISIS-L3 SR enabled router if c... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_isis_config.py_part7 |
x Advertise Node MSD.
x -include_max_sl_msd
x If set, then Include Maximum Segment Left MSD in SRv6 capability.
x -max_sl_msd
x This field specifies the maximum value of the Segments Left (SL) MSD field in the SRH of a received packet
x before applying the function associated wit... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_isis_config.py_part8 |
x -fa_adv_twice_incl_any_ag
x Advertise Twice Include-Any AG
x -fa_adv_twice_incl_all_ag
x Advertise Twice Include-All AG
x -s_r_algorithm_count
x SR Algorithm Count
x -isis_sr_algorithm
x SR Algorithm
x -advertise_srlb
x Enables advertisement of Segment Routi... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_isis_config.py_part9 |
x Link Attributes sub-TLV (Type 26) or sub-tlv of TLVs 22,23,141,222 and 223 depending upon the configuration of L flag
x -te_app_spec_std_app_type
x Standard Application Type
x -te_app_spec_l_flag
x If set to False, all link attributes will be advertised as sub-sub-tlv of sub tlv "Appli... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_isis_config.py_part10 |
n -loopback_te_unresv_bw_priority6
n This argument defined by Cisco is not supported for NGPF implementation.
n -loopback_te_unresv_bw_priority7
n This argument defined by Cisco is not supported for NGPF implementation.
n -loopback_hello_password
n This argument defined by Cisco is n... | KeysightData/IxNetworkAPI9.30.2212.7PI/ixia/hlapi/9.30.2212.6/library/common/ixiangpf/python/ixiangpf_commands/emulation_isis_config.py_part11 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.