taurus.core.tango.tangovalidator
This module contains the base taurus name validator classes
Classes
- class TangoAttributeNameValidator(*p, **k)[source]
Validator for Tango attribute names. Apart from the standard named groups (scheme, authority, path, query and fragment), the following named groups are created:
attrname: attribute name including device name
_shortattrname: attribute name excluding device name
devname: as in
TangoDeviceNameValidator
[_devalias]: as in
TangoDeviceNameValidator
[_devslashname]: as in
TangoDeviceNameValidator
[host] as in
TangoAuthorityNameValidator
[port] as in
TangoAuthorityNameValidator
[cfgkey] same as fragment (for bck-compat use only)
Note: brackets on the group name indicate that this group will only contain a string if the URI contains it.
- class TangoAuthorityNameValidator(*p, **k)[source]
Validator for Tango authority names. Apart from the standard named groups (scheme, authority, path, query and fragment), the following named groups are created:
host: tango host name, without port.
port: port number
- class TangoDeviceNameValidator(*p, **k)[source]
Validator for Tango device names. Apart from the standard named groups (scheme, authority, path, query and fragment), the following named groups are created:
devname: device name (either alias or slashed name)
[_devalias]: device alias
[_devslashname]: device name in slashed (a/b/c) form
[host] as in
TangoAuthorityNameValidator
[port] as in
TangoAuthorityNameValidator
Note: brackets on the group name indicate that this group will only contain a string if the URI contains it.