def ConfigProtocolInterfaceNgpfHlPy(**kwargs): """ Usage: PortConfigProtocolIntNgpf( mode = 'config', protocol_handle = device_group_1_handle, mtu = '1500', src_mac_addr = '00:01:01:01:00:01', src_mac_addr_step = '00:00:00:00:00:01', intf_ip_addr = '1.1.1.1', intf_ip_addr_step = '0.0.0.1', netmask = '255.255.255.0', gateway = '1.1.1.4', gateway_step = '0.0.0.0', arp_send_req = '1', arp_req_retries = '3', ipv4_resolve_gateway = '1', vlan = '0', vlan_id = '101', vlan_id_step = '1', vlan_id_count = '1', vlan_user_priority = '0', vlan_user_priority_step = '0' ) """ print '\nConfigProtocolInterfaceNgpfHlPy:' ShowKwargs(**kwargs) status = ixia_ngpf.interface_config(**kwargs) if status['status'] != '1': return 1 ''' status: 1 ethernet_handle: /topology:1/deviceGroup:1/ethernet:1 ipv4_handle: /topology:1/deviceGroup:1/ethernet:1/ipv4:1 interface_handle: /topology:1/deviceGroup:1/ethernet:1/ipv4:1/item:1 /topology:1/deviceGroup:1/ethernet:1/ipv4:1/item:2 /topology:1/deviceGroup:1/ethernet:1/ipv4:1/item:3 /topology:1/deviceGroup:1/ethernet:1/item:1 /topology:1/deviceGroup:1/ethernet:1/item:2 /topology:1/deviceGroup:1/ethernet:1/item:3 ''' return status