-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit improves the help texts that describe when you can use wildcards. It also automatically wraps the parameters in wildcards in some cases. Finally, it adds a few commands to the test suite, Partially takes care of #136.
- Loading branch information
1 parent
1261bbc
commit 7cbbd65
Showing
5 changed files
with
83 additions
and
10 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -42,7 +42,6 @@ network remove 2001:db8::/64 -f | |
# - excluded ip ranges | ||
# - network info | ||
# - setting network category, location, vlan | ||
#TODO: network find | ||
network create -network 10.0.1.0/24 -desc "Frozzzen" # frozen network | ||
network set_frozen 10.0.1.0/24 | ||
host add somehost -ip 10.0.1.0/24 -contact [email protected] # should require force, because net's frozen | ||
|
@@ -56,6 +55,7 @@ network set_description 10.0.1.0/24 "Frozen but has one host" | |
#network set_location 10.0.1.0/24 Oslo_Norway | ||
network set_vlan 10.0.1.0/24 1234 | ||
network info 10.0.1.0/24 | ||
network find -network 10.0.1.0/24 -description '*one host*' -vlan 1234 -frozen 1 -reserved 6 -dns_delegated 0 -category Yellow -location Somewhere | ||
host remove somehost | ||
network unset_frozen 10.0.1.0/24 | ||
host add otherhost -ip 10.0.1.20 -contact [email protected] # fails because reserved range | ||
|
@@ -124,8 +124,10 @@ zone delegation_delete example.org wut.example.org | |
policy atom_create apple "Here's the description" | ||
policy atom_create -created 2018-07-07 orange "Round and orange" | ||
policy list_atoms * | ||
policy list_atoms ppl | ||
policy role_create fruit "5 a day" | ||
policy list_roles * | ||
policy list_roles fru | ||
policy add_atom fruit apple | ||
policy add_atom fruit orange | ||
policy info orange | ||
|
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
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