-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
prefixed names: replace all none alphanumeric chars
Libvirt network name must be only alpha-numeric, while our network names can be anything(net-01, net-02 for example). So when generating a prefixed name of a resource, replace all none-alphanumeric chars with a 'L'. The prefixed name is always a combination of part of a random string(uuid) and the original name in the spec, and is an internal implementation detail, so I think this should be safe. Signed-off-by: Nadav Goldin <[email protected]>
- Loading branch information
Showing
3 changed files
with
15 additions
and
6 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
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