TangoAuthorityNameValidator

digraph inheritance6a08da8794 { rankdir=UD; ratio=compress; size="8.0, 12.0"; "TangoAuthorityNameValidator" [URL="#taurus.core.tango.tangovalidator.TangoAuthorityNameValidator",color=dodgerblue1,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,target="_top",tooltip="Validator for Tango authority names. Apart from the standard named"]; "TaurusAuthorityNameValidator" -> "TangoAuthorityNameValidator" [arrowsize=0.5,style="setlinewidth(0.5)"]; "TaurusAuthorityNameValidator" [color=dodgerblue1,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="Base class for Authority name validators."]; }
class TangoAuthorityNameValidator[source]

Bases: taurus.core.taurusvalidator.TaurusAuthorityNameValidator

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
authority = '//(?P<host>([\\w\\-_]+\\.)*[\\w\\-_]+):(?P<port>\\d{1,5})'
fragment = '(?!)'
getUriGroups(name, strict=None)[source]

Reimplementation of getUriGroups to fix the host and authority name using fully qualified domain name for the host.

path = '(?!)'
query = '(?!)'
scheme = 'tango'