Skip to content

Commit

Permalink
remove support for old function 'is_fqdn_valid' as prep for 1.0.0 (#83)
Browse files Browse the repository at this point in the history
* remove support for old function as prep for 1.0.0

* remove is_fqdn_valid jinja map

* prep for 1.0.0 release
  • Loading branch information
jeffkala authored Dec 2, 2021
1 parent 4b359df commit c2d7517
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 7 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Changelog

## v1.0.0 - 2021-11

### Added

- #69 Normalise banner demiliter for IOS to ^C & support parsing delimiter ^

### Fixed

- #79 F5 parser fix for irules with multiline single command lines.

### Removed

- #83 remove support for old function 'is_fqdn_valid' as prep for 1.0.0

## v0.2.5 - 2021-11

### Added
Expand Down
2 changes: 1 addition & 1 deletion netutils/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Initialization file for library."""

__version__ = "0.2.5"
__version__ = "1.0.0"
4 changes: 0 additions & 4 deletions netutils/dns.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,3 @@ def is_fqdn_resolvable(hostname):
return True
except socket.error:
return False


# Provide until transition to 1.0
is_fqdn_valid = is_fqdn_resolvable
1 change: 0 additions & 1 deletion netutils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"find_unordered_cfg_lines": "config.compliance.find_unordered_cfg_lines",
"section_config": "config.compliance.section_config",
"fqdn_to_ip": "dns.fqdn_to_ip",
"is_fqdn_valid": "dns.is_fqdn_valid",
"is_fqdn_resolvable": "dns.is_fqdn_resolvable",
"interface_range_expansion": "interface.interface_range_expansion",
"interface_range_compress": "interface.interface_range_compress",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "netutils"
version = "0.2.5"
version = "1.0.0"
description = "Common helper functions useful in network automation."
authors = ["Network to Code, LLC <opensource@networktocode.com>"]
license = "Apache-2.0"
Expand Down

0 comments on commit c2d7517

Please sign in to comment.