The script generates the configuration from the port_config.j2template using the int_dict dictionary. The rendered configuration is written to a file named port.conf. To send the generated configuration to the Cisco Nexus switch using SSH, the file port.conf must be read and passed to the send_config_from_filemethod of the ConnectHandler object (nexus).