{"id":23045227,"url":"https://github.com/helios2003/revising-drr-implementation","last_synced_at":"2025-04-03T01:45:38.686Z","repository":{"id":211629503,"uuid":"727383479","full_name":"helios2003/Revising-DRR-Implementation","owner":"helios2003","description":"Deficit Round Robin scheduling algorithm implementation in ns-3. Look at the Wiki for more information.","archived":false,"fork":false,"pushed_at":"2023-12-04T19:04:30.000Z","size":94497,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"drr_implementation","last_synced_at":"2025-02-08T16:13:49.631Z","etag":null,"topics":["cpp","networking","ns-3"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/helios2003.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-12-04T18:56:22.000Z","updated_at":"2023-12-10T18:13:51.000Z","dependencies_parsed_at":"2023-12-09T20:45:42.095Z","dependency_job_id":null,"html_url":"https://github.com/helios2003/Revising-DRR-Implementation","commit_stats":null,"previous_names":["helios2003/revising-drr-implementation"],"tags_count":89,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helios2003%2FRevising-DRR-Implementation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helios2003%2FRevising-DRR-Implementation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helios2003%2FRevising-DRR-Implementation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helios2003%2FRevising-DRR-Implementation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/helios2003","download_url":"https://codeload.github.com/helios2003/Revising-DRR-Implementation/tar.gz/refs/heads/drr_implementation","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246922232,"owners_count":20855343,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpp","networking","ns-3"],"created_at":"2024-12-15T21:19:17.376Z","updated_at":"2025-04-03T01:45:33.678Z","avatar_url":"https://github.com/helios2003.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# The Network Simulator, Version 3\n\n[![codecov](https://codecov.io/gh/nsnam/ns-3-dev-git/branch/master/graph/badge.svg)](https://codecov.io/gh/nsnam/ns-3-dev-git/branch/master/)\n[![Gitlab CI](https://gitlab.com/nsnam/ns-3-dev/badges/master/pipeline.svg)](https://gitlab.com/nsnam/ns-3-dev/-/pipelines)\n[![Github CI](https://github.com/nsnam/ns-3-dev-git/actions/workflows/per_commit.yml/badge.svg)](https://github.com/nsnam/ns-3-dev-git/actions)\n\n## Table of Contents\n\n* [Overview](#overview-an-open-source-project)\n* [Building ns-3](#building-ns-3)\n* [Testing ns-3](#testing-ns-3)\n* [Running ns-3](#running-ns-3)\n* [ns-3 Documentation](#ns-3-documentation)\n* [Working with the Development Version of ns-3](#working-with-the-development-version-of-ns-3)\n* [Contributing to ns-3](#contributing-to-ns-3)\n* [Reporting Issues](#reporting-issues)\n* [ns-3 App Store](#ns-3-app-store)\n\n\u003e **NOTE**: Much more substantial information about ns-3 can be found at\n\u003chttps://www.nsnam.org\u003e\n\n## Overview: An Open Source Project\n\nns-3 is a free open source project aiming to build a discrete-event\nnetwork simulator targeted for simulation research and education.\nThis is a collaborative project; we hope that\nthe missing pieces of the models we have not yet implemented\nwill be contributed by the community in an open collaboration\nprocess. If you would like to contribute to ns-3, please check\nthe [Contributing to ns-3](#contributing-to-ns-3) section below.\n\nThis README excerpts some details from a more extensive\ntutorial that is maintained at:\n\u003chttps://www.nsnam.org/documentation/latest/\u003e\n\n## Building ns-3\n\nThe code for the framework and the default models provided\nby ns-3 is built as a set of libraries. User simulations\nare expected to be written as simple programs that make\nuse of these ns-3 libraries.\n\nTo build the set of default libraries and the example\nprograms included in this package, you need to use the\n`ns3` tool. This tool provides a Waf-like API to the\nunderlying CMake build manager.\nDetailed information on how to use `ns3` is included in the\n[quick start guide](doc/installation/source/quick-start.rst).\n\nBefore building ns-3, you must configure it.\nThis step allows the configuration of the build options,\nsuch as whether to enable the examples, tests and more.\n\nTo configure ns-3 with examples and tests enabled,\nrun the following command on the ns-3 main directory:\n\n```shell\n./ns3 configure --enable-examples --enable-tests\n```\n\nThen, build ns-3 by running the following command:\n\n```shell\n./ns3 build\n```\n\nBy default, the build artifacts will be stored in the `build/` directory.\n\n### Supported Platforms\n\nThe current codebase is expected to build and run on the\nset of platforms listed in the [release notes](RELEASE_NOTES.md)\nfile.\n\nOther platforms may or may not work: we welcome patches to\nimprove the portability of the code to these other platforms.\n\n## Testing ns-3\n\nns-3 contains test suites to validate the models and detect regressions.\nTo run the test suite, run the following command on the ns-3 main directory:\n\n```shell\n./test.py\n```\n\nMore information about ns-3 tests is available in the\n[test framework](doc/manual/source/test-framework.rst) section of the manual.\n\n## Running ns-3\n\nOn recent Linux systems, once you have built ns-3 (with examples\nenabled), it should be easy to run the sample programs with the\nfollowing command, such as:\n\n```shell\n./ns3 run simple-global-routing\n```\n\nThat program should generate a `simple-global-routing.tr` text\ntrace file and a set of `simple-global-routing-xx-xx.pcap` binary\nPCAP trace files, which can be read by `tcpdump -n -tt -r filename.pcap`.\nThe program source can be found in the `examples/routing` directory.\n\n## Running ns-3 from Python\n\nIf you do not plan to modify ns-3 upstream modules, you can get\na pre-built version of the ns-3 python bindings.\n\n```shell\npip install --user ns3\n```\n\nIf you do not have `pip`, check their documents\non [how to install it](https://pip.pypa.io/en/stable/installation/).\n\nAfter installing the `ns3` package, you can then create your simulation python script.\nBelow is a trivial demo script to get you started.\n\n```python\nfrom ns import ns\n\nns.LogComponentEnable(\"Simulator\", ns.LOG_LEVEL_ALL)\n\nns.Simulator.Stop(ns.Seconds(10))\nns.Simulator.Run()\nns.Simulator.Destroy()\n```\n\nThe simulation will take a while to start, while the bindings are loaded.\nThe script above will print the logging messages for the called commands.\n\nUse `help(ns)` to check the prototypes for all functions defined in the\nns3 namespace. To get more useful results, query specific classes of\ninterest and their functions e.g., `help(ns.Simulator)`.\n\nSmart pointers `Ptr\u003c\u003e` can be differentiated from objects by checking if\n`__deref__` is listed in `dir(variable)`. To dereference the pointer,\nuse `variable.__deref__()`.\n\nMost ns-3 simulations are written in C++ and the documentation is\noriented towards C++ users. The ns-3 tutorial programs (`first.cc`,\n`second.cc`, etc.) have Python equivalents, if you are looking for\nsome initial guidance on how to use the Python API. The Python\nAPI may not be as full-featured as the C++ API, and an API guide\nfor what C++ APIs are supported or not from Python do not currently exist.\nThe project is looking for additional Python maintainers to improve\nthe support for future Python users.\n\n## ns-3 Documentation\n\nOnce you have verified that your build of ns-3 works by running\nthe `simple-global-routing` example as outlined in the [running ns-3](#running-ns-3)\nsection, it is quite likely that you will want to get started on reading\nsome ns-3 documentation.\n\nAll of that documentation should always be available from\nthe ns-3 website: \u003chttps://www.nsnam.org/documentation/\u003e.\n\nThis documentation includes:\n\n* a tutorial\n* a reference manual\n* models in the ns-3 model library\n* a wiki for user-contributed tips: \u003chttps://www.nsnam.org/wiki/\u003e\n* API documentation generated using doxygen: this is\n  a reference manual, most likely not very well suited\n  as introductory text:\n  \u003chttps://www.nsnam.org/doxygen/index.html\u003e\n\n## Working with the Development Version of ns-3\n\nIf you want to download and use the development version of ns-3, you\nneed to use the tool `git`. A quick and dirty cheat sheet is included\nin the manual, but reading through the Git\ntutorials found in the Internet is usually a good idea if you are not\nfamiliar with it.\n\nIf you have successfully installed Git, you can get\na copy of the development version with the following command:\n\n```shell\ngit clone https://gitlab.com/nsnam/ns-3-dev.git\n```\n\nHowever, we recommend to follow the GitLab guidelines for starters,\nthat includes creating a GitLab account, forking the ns-3-dev project\nunder the new account's name, and then cloning the forked repository.\nYou can find more information in the [manual](https://www.nsnam.org/docs/manual/html/working-with-git.html).\n\n## Contributing to ns-3\n\nThe process of contributing to the ns-3 project varies with\nthe people involved, the amount of time they can invest\nand the type of model they want to work on, but the current\nprocess that the project tries to follow is described in the\n[contributing code](https://www.nsnam.org/developers/contributing-code/)\nwebsite and in the [CONTRIBUTING.md](CONTRIBUTING.md) file.\n\n## Reporting Issues\n\nIf you would like to report an issue, you can open a new issue in the\n[GitLab issue tracker](https://gitlab.com/nsnam/ns-3-dev/-/issues).\nBefore creating a new issue, please check if the problem that you are facing\nwas already reported and contribute to the discussion, if necessary.\n\n## ns-3 App Store\n\nThe official [ns-3 App Store](https://apps.nsnam.org/) is a centralized directory\nlisting third-party modules for ns-3 available on the Internet.\n\nMore information on how to submit an ns-3 module to the ns-3 App Store is available\nin the [ns-3 App Store documentation](https://www.nsnam.org/docs/contributing/html/external.html).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelios2003%2Frevising-drr-implementation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhelios2003%2Frevising-drr-implementation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelios2003%2Frevising-drr-implementation/lists"}