GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - p4lang/ntf: Network Test Framework

BranchesTags
Open more actions menu

Latest commit

 

History

59 Commits
59 Commits

Folders and files

NameName
Last commit message
Last commit date
examples
examples
 
 
src/ntf
src/ntf
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
ntf
ntf
 
 
setup.py
setup.py
 
 

Repository files navigation

NTF Network Test Framework

Introduction

NTF is a python based network test framework. It is based on mininet and unittest.

Requisites

  • Python 2.7 or higher
  • Mininet version 2.2.1 or higher
  • Docker version 1.10 or higher
  • sudo privileges to run ntf

Install

NTF can be installed using sudo python setup.py install

Running Tests

Prior to running tests using NTF, the required docker image needs to be present. Follow the examples/topology/l2_topology.json and examples/topology/config.json to define topology and the switch properties. Write the unittest case to use the topology as in examples/tests/switch_tests.py. Run NTF as below:

sudo ./ntf --topology <topologyfile_with_path> --config <configfile_with_path>
--test-dir <test_directory> --test <testname>

optional parameters:

--cli: To get to mininet cli prompt during test.
--log-file <filename>: Filename to use for logging
--log-dir <log_dir>: Folder to write the logfile to.

About

Network Test Framework

Resources

Readme
Apache-2.0 license

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

37 stars

Watchers

14 watching

Forks

17 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.