-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Taarini Sarath Chander
committed
May 7, 2024
1 parent
ac2d422
commit 97f918c
Showing
4 changed files
with
3 additions
and
8 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
pkgs/clean-pkg/src/genie/libs/clean/templates/iosxe/__init__.py
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# Enable abstraction using this directory name as the abstraction token | ||
try: | ||
from genie import abstract | ||
abstract.declare_token(__name__) | ||
abstract.declare_token(os='iosxe') | ||
except Exception as e: | ||
import warnings | ||
warnings.warn('Could not declare abstraction token: ' + str(e)) |
2 changes: 1 addition & 1 deletion
2
pkgs/clean-pkg/src/genie/libs/clean/templates/iosxe/sdwan/__init__.py
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# Enable abstraction using this directory name as the abstraction token | ||
try: | ||
from genie import abstract | ||
abstract.declare_token(__name__) | ||
abstract.declare_token(platform='sdwan') | ||
except Exception as e: | ||
import warnings | ||
warnings.warn('Could not declare abstraction token: ' + str(e)) |
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
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