This repository has been archived by the owner on Apr 22, 2024. It is now read-only.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Today, some authentication URLs are wrong. This commit solves this problem by updating these URLs.
cmagnobarbosa
approved these changes
Aug 18, 2020
slinksoft
added a commit
to slinksoft/kytos
that referenced
this pull request
Oct 16, 2020
Deleted visual studio folder in .gitignore. I will make a separate PR for that later. Move json.loads() call to _parse_options remove old json.loads call, which was commented out in last commit fixing strange error causing test_switch to fail removed unnecessary try-except in attempt to fix tests Test if UNI has tag in as_dict. As tag is optional in UNI, the method as_dict has to consider the case where it is None. Now, the key 'user_tag' in the dict is created only if user_tag attribute exists. Fix kytos#1079. Consider 'other' can be None in __eq__. When testing equality of TAG, consider the case when the 'other' tag is None. Always return 'tag' key in UNI's as_dict. The last modification made UNI's as_dict return a dict with a 'tag' key only if the tag exists. Now, if tag does not exist, return the key with value None. Instantiate tag_type when creating a TAG. Enum TAGType was not being initialized, so any value passed was accepted. Now only values in TAGType enum are valid. Add Visual Studio folder to .gitignore (kytos#1105) Update six version (1.14 -> 1.15) Remove outdated links and update date Today, some links and project years on the documentation are outdated, this commit resolves that. Co-authored-by: Gleyberson Andrade <gleybersonandrade@gmail.com> Version bump to 2020.1 Update setup.py to use native setuptools install Today, the kytos installation with 'eggs' is broken. This commit comments the InstallMode class, so now we will use the native setuptools install. Correct typos in kytos-ui-parts.pnd and add svg file to allow edition. Change speed property checks According openflow protocol >= 1.3 spec, "If none of the port speed flags are set, the max_speed or curr_speed are used". So, this commit changes the order of speed checks, checking features_speed before custom_speed. Improve unit tests coverage from 55% to 93% (kytos#1082) Add instruction for opening issues with traffic files in Dev Guide (kytos#1109) Update "Submitting an Issue" section on DevGuide, adding a bullet to instruct users to attach traffic files, if they do not contain sensitive information. Co-authored-by: josemauro <z.mauro@live.com> Update CHANGELOG.rst (kytos#1115) Co-authored-by: Humberto Diógenes <hdiogenes@gmail.com> Fix auth URLs on documentation (kytos#1132) Fix interface tests (kytos#1138) Today, some interface tests are broken, due to a modification on speed order checks. Besides that, when tests fail on Travis, it does not have errors. This commit fixes these problems. Co-Authored-By: Carlos Magno <cmagnobarbosa@gmail.com> revert code back set default vlan_pool, remove comment, replace with call to load vlan_pool from options cast vlan_pool to dict type remove cast, made no difference refactor test_switch unit test remove unnecessary backslash update vlan_pool_json name to vlan_pool remove unnecessary try-except block Update kytos/core/config.py python3.6 -> python3 on Makefile Relative to kytos#1148 Make dev.txt come from run.txt dev requirements were not including packages listed in run.in, like ipython. Using `run.txt` to avoid requiring different versions between run/dev. Add Blueprints section to the "How to Contribute" guide (kytos#1137) Add a new Blueprints section on the development guide, and some update some contact links. Co-authored-by: Humberto Diógenes <hdiogenes@gmail.com> Co-authored-by: Gleyberson Andrade <gleybersonandrade@gmail.com> Update APIServer to use Flask blueprints Today, an exception is raised when two or more endpoints are registered with the same name. This commit changes the APIServer class to use Flask blueprints when the napps endpoints are created. Use newest pip dependency resolver for tests Update CHANGELOG.rst (kytos#1156) Co-authored-by: Humberto Diógenes <hdiogenes@gmail.com> Version bump to 2020.2b1 Create KytosLinkCreationError exception Today, when a Link has an empty endpoint, a generic ValueError is generated. This commit changes it, now an exception called KytosLinkCreationError is thrown when this problem occurs. Use keys with multiple letters in mock link metadata (kytos#1163) Fix kytos#1162 Add Kytos UI Components section to Dev Guide Add Kytos UI Components section to dev guide, moved from kytos/ui repo. Original authors: Co-authored-by: Beraldo Leal <beraldo@ncc.unesp.br> Co-authored-by: Macartur Sousa <macartur.sc@gmail.com> Co-authored-by: Luan Gonçalves <luanlg.cco@gmail.com> Move section "Creating a NApp with UI" to the Web-UI documentation (kytos#1167) Add section teaching how to create a NApp with UI on the web UI documentation. In addition, the NApp UI related section in the `creating_a_napp.rst` file has been moved to the Web-UI documentation. Co-authored-by: Humberto Diógenes <hdiogenes@gmail.com> Create config field in Interface (kytos#1142) This commit creates a new 'config' field on Interface class. This field can assume one of the following values from Port or PhyPort classes: OFPPC_PORT_DOWN: Port is administratively down OFPPC_NO_RECV: Drop all packets received by port OFPPC_NO_FWD: Drop packets forwarded to port OFPPC_NO_PACKET_IN: Do not send packet-in messages for port. Use standard RST headers on all blueprints (kytos#1147) Minimal headers include: title, number and status fields. Build docs with python3 instead of 3.6 (kytos#1169) Handle URLError when it's not possible to fetch the web UI from github (kytos#1146) Create a template blueprint - EP000 (kytos#1129) Co-authored-by: Gleyberson Andrade <gleybersonandrade@gmail.com> Co-authored-by: Rogerio Motitsuki <rogerio.motitsuki@gmail.com> Co-authored-by: Antonio Francisco <antonio@ansp.br> Co-authored-by: Carlos Magno <cmagnobarbosa@gmail.com> Co-authored-by: Humberto Diógenes <hdiogenes@gmail.com> Update EP000.rst Added Beraldo to the list of reviewers Add of_lldp's new REST Endpoints (kytos#1164) Remove hard-coded python3.6 references Let Scrutinizer choose a Python 3.6.X version Text review hacking.rst Remove reference for Python 3.6 as a "most recent version". Update README.rst Use the more user-friendly `apt` instead of `sudo apt-get`. Update EP012.rst Fix EP number on header to follow standard Use friendlier `apt` command instead of `apt-get` Add pydocstyle to dev.txt Fix linter error (pydocstyle) Remove the use of distutils in 'setup.py' Update tox.ini Co-authored-by: Humberto Diógenes <hdiogenes@gmail.com>
slinksoft
added a commit
to slinksoft/kytos
that referenced
this pull request
Oct 21, 2020
author Dan <42590607+slinksoft@users.noreply.github.com> 1595650542 -0400 committer slinksoft <slinkpro@gmail.com> 1603298239 -0400 parent 5f6faf5 author Dan <42590607+slinksoft@users.noreply.github.com> 1595650542 -0400 committer slinksoft <slinkpro@gmail.com> 1603298238 -0400 parent 5f6faf5 author Dan <42590607+slinksoft@users.noreply.github.com> 1595650542 -0400 committer slinksoft <slinkpro@gmail.com> 1603298237 -0400 parent 5f6faf5 author Dan <42590607+slinksoft@users.noreply.github.com> 1595650542 -0400 committer slinksoft <slinkpro@gmail.com> 1603298236 -0400 parent 5f6faf5 author Dan <42590607+slinksoft@users.noreply.github.com> 1595650542 -0400 committer slinksoft <slinkpro@gmail.com> 1603298235 -0400 parent 5f6faf5 author Dan <42590607+slinksoft@users.noreply.github.com> 1595650542 -0400 committer slinksoft <slinkpro@gmail.com> 1603298235 -0400 parent 5f6faf5 author Dan <42590607+slinksoft@users.noreply.github.com> 1595650542 -0400 committer slinksoft <slinkpro@gmail.com> 1603298231 -0400 parent 5f6faf5 author Dan <42590607+slinksoft@users.noreply.github.com> 1595650542 -0400 committer slinksoft <slinkpro@gmail.com> 1603298229 -0400 parent 5f6faf5 author Dan <42590607+slinksoft@users.noreply.github.com> 1595650542 -0400 committer slinksoft <slinkpro@gmail.com> 1603298229 -0400 parent 5f6faf5 author Dan <42590607+slinksoft@users.noreply.github.com> 1595650542 -0400 committer slinksoft <slinkpro@gmail.com> 1603298228 -0400 parent 5f6faf5 author Dan <42590607+slinksoft@users.noreply.github.com> 1595650542 -0400 committer slinksoft <slinkpro@gmail.com> 1603298203 -0400 Move json.loads call for vlan_pool from controller.py to config.py Deleted vs folder ignore, will make separate PR for that Deleted visual studio folder in .gitignore. I will make a separate PR for that later. Move json.loads() call to _parse_options remove old json.loads call, which was commented out in last commit fixing strange error causing test_switch to fail removed unnecessary try-except in attempt to fix tests Test if UNI has tag in as_dict. As tag is optional in UNI, the method as_dict has to consider the case where it is None. Now, the key 'user_tag' in the dict is created only if user_tag attribute exists. Fix kytos#1079. Consider 'other' can be None in __eq__. When testing equality of TAG, consider the case when the 'other' tag is None. Always return 'tag' key in UNI's as_dict. The last modification made UNI's as_dict return a dict with a 'tag' key only if the tag exists. Now, if tag does not exist, return the key with value None. Instantiate tag_type when creating a TAG. Enum TAGType was not being initialized, so any value passed was accepted. Now only values in TAGType enum are valid. Add Visual Studio folder to .gitignore (kytos#1105) Update six version (1.14 -> 1.15) Remove outdated links and update date Today, some links and project years on the documentation are outdated, this commit resolves that. Co-authored-by: Gleyberson Andrade <gleybersonandrade@gmail.com> Version bump to 2020.1 Update setup.py to use native setuptools install Today, the kytos installation with 'eggs' is broken. This commit comments the InstallMode class, so now we will use the native setuptools install. Correct typos in kytos-ui-parts.pnd and add svg file to allow edition. Change speed property checks According openflow protocol >= 1.3 spec, "If none of the port speed flags are set, the max_speed or curr_speed are used". So, this commit changes the order of speed checks, checking features_speed before custom_speed. Improve unit tests coverage from 55% to 93% (kytos#1082) Add instruction for opening issues with traffic files in Dev Guide (kytos#1109) Update "Submitting an Issue" section on DevGuide, adding a bullet to instruct users to attach traffic files, if they do not contain sensitive information. Co-authored-by: josemauro <z.mauro@live.com> Update CHANGELOG.rst (kytos#1115) Co-authored-by: Humberto Diógenes <hdiogenes@gmail.com> Fix auth URLs on documentation (kytos#1132) Fix interface tests (kytos#1138) Today, some interface tests are broken, due to a modification on speed order checks. Besides that, when tests fail on Travis, it does not have errors. This commit fixes these problems. Co-Authored-By: Carlos Magno <cmagnobarbosa@gmail.com> revert code back set default vlan_pool, remove comment, replace with call to load vlan_pool from options cast vlan_pool to dict type remove cast, made no difference refactor test_switch unit test remove unnecessary backslash update vlan_pool_json name to vlan_pool remove unnecessary try-except block Update kytos/core/config.py python3.6 -> python3 on Makefile Relative to kytos#1148 Make dev.txt come from run.txt dev requirements were not including packages listed in run.in, like ipython. Using `run.txt` to avoid requiring different versions between run/dev. Add Blueprints section to the "How to Contribute" guide (kytos#1137) Add a new Blueprints section on the development guide, and some update some contact links. Co-authored-by: Humberto Diógenes <hdiogenes@gmail.com> Co-authored-by: Gleyberson Andrade <gleybersonandrade@gmail.com> Update APIServer to use Flask blueprints Today, an exception is raised when two or more endpoints are registered with the same name. This commit changes the APIServer class to use Flask blueprints when the napps endpoints are created. Use newest pip dependency resolver for tests Update CHANGELOG.rst (kytos#1156) Co-authored-by: Humberto Diógenes <hdiogenes@gmail.com> Version bump to 2020.2b1 Create KytosLinkCreationError exception Today, when a Link has an empty endpoint, a generic ValueError is generated. This commit changes it, now an exception called KytosLinkCreationError is thrown when this problem occurs. Use keys with multiple letters in mock link metadata (kytos#1163) Fix kytos#1162 Add Kytos UI Components section to Dev Guide Add Kytos UI Components section to dev guide, moved from kytos/ui repo. Original authors: Co-authored-by: Beraldo Leal <beraldo@ncc.unesp.br> Co-authored-by: Macartur Sousa <macartur.sc@gmail.com> Co-authored-by: Luan Gonçalves <luanlg.cco@gmail.com> Move section "Creating a NApp with UI" to the Web-UI documentation (kytos#1167) Add section teaching how to create a NApp with UI on the web UI documentation. In addition, the NApp UI related section in the `creating_a_napp.rst` file has been moved to the Web-UI documentation. Co-authored-by: Humberto Diógenes <hdiogenes@gmail.com> Create config field in Interface (kytos#1142) This commit creates a new 'config' field on Interface class. This field can assume one of the following values from Port or PhyPort classes: OFPPC_PORT_DOWN: Port is administratively down OFPPC_NO_RECV: Drop all packets received by port OFPPC_NO_FWD: Drop packets forwarded to port OFPPC_NO_PACKET_IN: Do not send packet-in messages for port. Use standard RST headers on all blueprints (kytos#1147) Minimal headers include: title, number and status fields. Build docs with python3 instead of 3.6 (kytos#1169) Handle URLError when it's not possible to fetch the web UI from github (kytos#1146) Create a template blueprint - EP000 (kytos#1129) Co-authored-by: Gleyberson Andrade <gleybersonandrade@gmail.com> Co-authored-by: Rogerio Motitsuki <rogerio.motitsuki@gmail.com> Co-authored-by: Antonio Francisco <antonio@ansp.br> Co-authored-by: Carlos Magno <cmagnobarbosa@gmail.com> Co-authored-by: Humberto Diógenes <hdiogenes@gmail.com> Update EP000.rst Added Beraldo to the list of reviewers Add of_lldp's new REST Endpoints (kytos#1164) Remove hard-coded python3.6 references Let Scrutinizer choose a Python 3.6.X version Text review hacking.rst Remove reference for Python 3.6 as a "most recent version". Update README.rst Use the more user-friendly `apt` instead of `sudo apt-get`. Update EP012.rst Fix EP number on header to follow standard Use friendlier `apt` command instead of `apt-get` Add pydocstyle to dev.txt Fix linter error (pydocstyle) Remove the use of distutils in 'setup.py' Update tox.ini Co-authored-by: Humberto Diógenes <hdiogenes@gmail.com> Consider 'other' can be None in __eq__. When testing equality of TAG, consider the case when the 'other' tag is None. Always return 'tag' key in UNI's as_dict. The last modification made UNI's as_dict return a dict with a 'tag' key only if the tag exists. Now, if tag does not exist, return the key with value None. Instantiate tag_type when creating a TAG. Enum TAGType was not being initialized, so any value passed was accepted. Now only values in TAGType enum are valid. Add Visual Studio folder to .gitignore (kytos#1105) Remove outdated links and update date Today, some links and project years on the documentation are outdated, this commit resolves that. Co-authored-by: Gleyberson Andrade <gleybersonandrade@gmail.com> Update setup.py to use native setuptools install Today, the kytos installation with 'eggs' is broken. This commit comments the InstallMode class, so now we will use the native setuptools install. Correct typos in kytos-ui-parts.pnd and add svg file to allow edition. Change speed property checks According openflow protocol >= 1.3 spec, "If none of the port speed flags are set, the max_speed or curr_speed are used". So, this commit changes the order of speed checks, checking features_speed before custom_speed. Fix auth URLs on documentation (kytos#1132) Fix interface tests (kytos#1138) Today, some interface tests are broken, due to a modification on speed order checks. Besides that, when tests fail on Travis, it does not have errors. This commit fixes these problems. Co-Authored-By: Carlos Magno <cmagnobarbosa@gmail.com> update vlan_pool_json name to vlan_pool remove unnecessary try-except block Update kytos/core/config.py python3.6 -> python3 on Makefile Relative to kytos#1148 Add Blueprints section to the "How to Contribute" guide (kytos#1137) Add a new Blueprints section on the development guide, and some update some contact links. Co-authored-by: Humberto Diógenes <hdiogenes@gmail.com> Co-authored-by: Gleyberson Andrade <gleybersonandrade@gmail.com> Update APIServer to use Flask blueprints Today, an exception is raised when two or more endpoints are registered with the same name. This commit changes the APIServer class to use Flask blueprints when the napps endpoints are created. Use newest pip dependency resolver for tests Update CHANGELOG.rst (kytos#1156) Co-authored-by: Humberto Diógenes <hdiogenes@gmail.com> Version bump to 2020.2b1 Create KytosLinkCreationError exception Today, when a Link has an empty endpoint, a generic ValueError is generated. This commit changes it, now an exception called KytosLinkCreationError is thrown when this problem occurs. Use keys with multiple letters in mock link metadata (kytos#1163) Fix kytos#1162 Move section "Creating a NApp with UI" to the Web-UI documentation (kytos#1167) Add section teaching how to create a NApp with UI on the web UI documentation. In addition, the NApp UI related section in the `creating_a_napp.rst` file has been moved to the Web-UI documentation. Co-authored-by: Humberto Diógenes <hdiogenes@gmail.com> Create config field in Interface (kytos#1142) This commit creates a new 'config' field on Interface class. This field can assume one of the following values from Port or PhyPort classes: OFPPC_PORT_DOWN: Port is administratively down OFPPC_NO_RECV: Drop all packets received by port OFPPC_NO_FWD: Drop packets forwarded to port OFPPC_NO_PACKET_IN: Do not send packet-in messages for port. Build docs with python3 instead of 3.6 (kytos#1169) Handle URLError when it's not possible to fetch the web UI from github (kytos#1146) Update EP000.rst Added Beraldo to the list of reviewers Add of_lldp's new REST Endpoints (kytos#1164) Let Scrutinizer choose a Python 3.6.X version Text review hacking.rst Remove reference for Python 3.6 as a "most recent version". Update README.rst Use the more user-friendly `apt` instead of `sudo apt-get`. Update EP012.rst Fix EP number on header to follow standard Use friendlier `apt` command instead of `apt-get` Add pydocstyle to dev.txt Fix linter error (pydocstyle) Update tox.ini Co-authored-by: Humberto Diógenes <hdiogenes@gmail.com>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Today, some authentication URLs are wrong. This PR solves this problem by updating these URLs.
Fix #1130