コード例 #1
0
ファイル: cli.py プロジェクト: gmr/infoblox
    def delete_old_host(self, hostname):
        """Remove all records for the host.

        :param str hostname: Hostname to remove
        :rtype: bool

        """
        host = Host(self.session, name=hostname)
        return host.delete()
コード例 #2
0
ファイル: cli.py プロジェクト: WilliamMarti/infoblox
    def delete_old_host(self, hostname):
        """Remove all records for the host.

        :param str hostname: Hostname to remove
        :rtype: bool

        """
        host = Host(self.session, name=hostname)
        return host.delete()