# salt.roster.scan

Scan a netmask or ipaddr for open ssh ports

class salt.roster.scan.RosterMatcher(tgt, tgt_type)

  Matcher for the roster data structure

  targets()

    Return ip addrs based on netmask, sitting in the "glob" spot because it is the default

salt.roster.scan.targets(tgt, tgt_type='glob', **kwargs)

  Return the targets from the flat yaml file, checks opts for location but defaults to /etc/salt/roster