Skip to content

Test bad parsing of duplicate line#540

Open
itdependsnetworks wants to merge 254 commits intonetworktocode:developfrom
itdependsnetworks:test_bad_parsing_of_duplicate_line
Open

Test bad parsing of duplicate line#540
itdependsnetworks wants to merge 254 commits intonetworktocode:developfrom
itdependsnetworks:test_bad_parsing_of_duplicate_line

Conversation

@itdependsnetworks
Copy link
Contributor

No description provided.

itdependsnetworks and others added 30 commits May 29, 2021 14:49
* Add ASA parser

Co-authored-by: Justin Drew <jdrew82@users.noreply.github.com>
* Add BASE_INTERFACES for hp_comware & checkpoint

Co-authored-by: Josef Fuchs <josef.fuchs@pankl.com>
Adds docs for readthedocs
Updated attribution and contribution doc start-lines
move sphinx to dev dep, update docs, update metadata
* Small performance enhancers

- remove redundant call to `str`
- `get_all_host` list to generator to avoid memory overhead of very
large lists

* Add lookup table for netmasks

There are only 32 + 128 valid IPv4/6 netmasks, so I created a lookup
table for easy validation.  If there are concerns about the memory
overhead, a computed version is easy enough to implement.

* Make netutils dual-stack

I modified functions where I could to make them compatible with IPv6.
Per [RFC4291](https://datatracker.ietf.org/doc/html/rfc4291#section-4),
I have assumed any addresses in the ::/8 range are IPv4.
The one exception is `cidr_to_netmask`.  I added a v6 version of that
function.

* Modify/add tests for proposed functionality
* remove count_bits tests

* Remove count_bits in favor of simpler/faster function
* interface_range_expansion function added
Co-authored-by: Adam Byczkowski <38091261+qduk@users.noreply.github.com>
Co-authored-by: Adam Byczkowski <38091261+qduk@users.noreply.github.com>
Add interface sorting support.
* Added ability to create interface lists
* add tcp/udp port mapper
* Added document page for lib_mappings
* Updated lib mapping description and added README for pypi
* Update Scrapli variable name to include lib_mapper
github-actions bot and others added 24 commits March 4, 2024 09:21
{
  "date": "2024-03-01T02:11:02.361Z",
  "files": [
    {
      "name": "netutils/data_files/oui_mappings.py",
      "deltaBytes": 19430,
      "source": "https://standards-oui.ieee.org"
    }
  ]
}

Co-authored-by: flat-data <flat-data@users.noreply.github.com>
* feat: Add method to sort list of CIDRs
* Vendor distutils version to be local after deprecated in Py3.12
* Python 3.12 support
---------

Co-authored-by: itdependsnetworks <ken@celenza.org>
* feat: ✨ Add JunOS and Vyatta to HierConfig mappers
networktocode#416)

* feat: ✨ fix bad push

* fix: 🐛 fix file permissions

* refactor: ♻️ update function names to adhere to standard naming
{
  "date": "2024-04-01T02:14:14.347Z",
  "files": [
    {
      "name": "netutils/data_files/oui_mappings.py",
      "deltaBytes": 2295,
      "source": "https://standards-oui.ieee.org"
    }
  ]
}

Co-authored-by: flat-data <flat-data@users.noreply.github.com>
{
  "date": "2024-04-01T02:17:05.072Z",
  "files": [
    {
      "name": "netutils/data_files/protocol_mappings.py",
      "deltaBytes": 57,
      "source": "https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.csv"
    }
  ]
}

Co-authored-by: flat-data <flat-data@users.noreply.github.com>
{
  "date": "2024-04-01T02:43:02.930Z",
  "files": [
    {
      "name": "netutils/data_files/protocol_number_mappings.py",
      "deltaBytes": 0,
      "source": "https://www.iana.org/assignments/protocol-numbers/protocol-numbers-1.csv"
    }
  ]
}

Co-authored-by: flat-data <flat-data@users.noreply.github.com>
* dual banner parser actual parser fix and empty banner fix
* prep for 1.8.1 release

* More IOS banner related fixes. (networktocode#509)

* dual banner parser actual parser fix and empty banner fix

* black

* fixed docs

* Update docs/admin/release_notes/version_1.8.md

* Update docs/admin/release_notes/version_1.8.md

---------

Co-authored-by: Jeff Kala <48843785+jeffkala@users.noreply.github.com>
* Creating a Platform Mapping utility for breaking down platforms into their bits

---------

Co-authored-by: Brandon Minnix <bminnix@Brandons-MacBook-Pro.local>
Co-authored-by: Brandon Minnix <brandon.minnix@networktocode.com>
Co-authored-by: Przemek Rogala <progala@progala.net>
Co-authored-by: Ken Celenza <ken@celenza.org>
Co-authored-by: Brandon Minnix <bminnix@Brandons-MacBook-Pro-2.local>
* feat: ✨ Add forward and reverse mapping for DNA Center
@itdependsnetworks
Copy link
Contributor Author

To avoid any confusion, there is an additional commit, that is in PR #539 that should be merged there.

@itdependsnetworks
Copy link
Contributor Author

I will fix tests and get this PR updated and merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.