<commit_before>package es.tid.netManager.uni;


import java.net.Inet4Address;
import java.net.InetAddress;
import java.net.UnknownHostException;

import es.tid.rsvp.objects.subobjects.UnnumberIfIDEROSubobject;
import tid.ipnms.datamodel.misc.AuthInfo;
import tid.ipnms.datamodel.router.RouterDesc;
import tid.ipnms.datamodel.router.LabelSwitchedPath.LabelSwitchedPath;
import tid.ipnms.datamodel.router.LabelSwitchedPath.LabelSwitchedPathProperties;
import tid.ipnms.datamodel.router.LabelSwitchedPath.LabelSwitchedPathWithUnnumIf;
import tid.ipnms.datamodel.router.routing.StaticRouteDesc;
import tid.ipnms.wsimpl.IPnmsWs;
import tid.ipnms.wsimpl.impl.IPnmsJuniperCliImpl;

public class NoIPNMSDispatcher{

/*	public NoIPNMSDispatcher(Core core){
		
		super(core);
				
	}*/
	
	public int changeRoute(ChangeIPRoute cr){
		
		IPnmsWs ws = new IPnmsJuniperCliImpl();
		
		RouterDesc desc = new RouterDesc();
		desc.setRouterID("1");
		desc.setRouterType("juniper");
		desc.setIosVersion("1");
		//Address confAddress = new Address();
		//System.out.println("Node to configure: "+cr.getNodeToChange().getHostName());
		//confAddress.setIpv4Address(cr.getNodeToChange().getHostName());
		//confAddress.setPort(23);
		desc.setConfigurationPort(23);
		desc.setManagementAddress(cr.getNodeToChange());
		AuthInfo info = new AuthInfo();<commit_msg>ABNO COP<commit_after>package es.tid.netManager.uni;


import java.net.Inet4Address;
import java.net.InetAddress;
import java.net.UnknownHostException;

import es.tid.rsvp.objects.subobjects.UnnumberIfIDEROSubobject;
import es.tid.ipnms.datamodel.misc.AuthInfo;
import es.tid.ipnms.datamodel.router.RouterDesc;
import tid.ipnms.datamodel.router.LabelSwitchedPath.LabelSwitchedPath;
import tid.ipnms.datamodel.router.LabelSwitchedPath.LabelSwitchedPathProperties;
import tid.ipnms.datamodel.router.LabelSwitchedPath.LabelSwitchedPathWithUnnumIf;
import tid.ipnms.datamodel.router.routing.StaticRouteDesc;
import tid.ipnms.wsimpl.IPnmsWs;
import tid.ipnms.wsimpl.impl.IPnmsJuniperCliImpl;

public class NoIPNMSDispatcher{

/*	public NoIPNMSDispatcher(Core core){
		
		super(core);
				
	}*/
	
	public int changeRoute(ChangeIPRoute cr){
		
		IPnmsWs ws = new IPnmsJuniperCliImpl();
		
		RouterDesc desc = new RouterDesc();
		desc.setRouterID("1");
		desc.setRouterType("juniper");
		desc.setIosVersion("1");
		//Address confAddress = new Address();
		//System.out.println("Node to configure: "+cr.getNodeToChange().getHostName());
		//confAddress.setIpv4Address(cr.getNodeToChange().getHostName());
		//confAddress.setPort(23);
		desc.setConfigurationPort(23);
		desc.setManagementAddress(cr.getNodeToChange());
		AuthInfo info = new AuthInfo();
{'fraction_non_alphanumeric': 0.12150577711516959, 'fraction_numerical': 0.005963473723443906, 'mean_word_length': 5.953367875647668, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4146092', 'n_tokens_mistral': 1005, 'n_tokens_neox': 920, 'n_words': 128}