Skip to content

Commit

Permalink
Rename collection to tatlin_uni
Browse files Browse the repository at this point in the history
  • Loading branch information
kvlvs committed Nov 23, 2022
1 parent fd16073 commit a586420
Show file tree
Hide file tree
Showing 108 changed files with 674 additions and 674 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# YADRO Tatlin Ansible Collection
# YADRO Tatlin Unified Ansible Collection

YADRO Tatlin Ansible Collection allows to interact with Tatlin Unified.
YADRO Tatlin Unified Ansible Collection allows to interact with Tatlin Unified.
This collection helps to automate configuration of the Tatlin Unified.


Expand Down
4 changes: 2 additions & 2 deletions galaxy.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
namespace: yadro
name: tatlin
name: tatlin_uni
version: 1.0.0
readme: README.md
authors:
- Sergey Kovalev <[email protected]>
description: Yadro Tatlin Ansible Collection
description: Yadro Tatlin Unified Ansible Collection
license:
- GPL-3.0-or-later
license_file: COPYING
Expand Down
2 changes: 1 addition & 1 deletion plugins/doc_fragments/connection_options.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# YADRO Tatlin Ansible Collection
# YADRO Tatlin Unified Ansible Collection
# Version 1.0.0
# Copyright (c) 2022 YADRO (KNS Group LLC)

Expand Down
2 changes: 1 addition & 1 deletion plugins/module_utils/tatlin_api/endpoints.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# YADRO Tatlin Ansible Collection
# YADRO Tatlin Unified Ansible Collection
# Version 1.0.0
# Copyright (c) 2022 YADRO (KNS Group LLC)

Expand Down
2 changes: 1 addition & 1 deletion plugins/module_utils/tatlin_api/exception.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# YADRO Tatlin Ansible Collection
# YADRO Tatlin Unified Ansible Collection
# Version 1.0.0
# Copyright (c) 2022 YADRO (KNS Group LLC)

Expand Down
4 changes: 2 additions & 2 deletions plugins/module_utils/tatlin_api/models/dns.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# YADRO Tatlin Ansible Collection
# YADRO Tatlin Unified Ansible Collection
# Version 1.0.0
# Copyright (c) 2022 YADRO (KNS Group LLC)

Expand All @@ -9,7 +9,7 @@
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type

from ansible_collections.yadro.tatlin.plugins.module_utils.tatlin_api.endpoints import DNS_CONFIG_ENDPOINT
from ansible_collections.yadro.tatlin_uni.plugins.module_utils.tatlin_api.endpoints import DNS_CONFIG_ENDPOINT

try:
from typing import Union, List
Expand Down
2 changes: 1 addition & 1 deletion plugins/module_utils/tatlin_api/models/drive.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# YADRO Tatlin Ansible Collection
# YADRO Tatlin Unified Ansible Collection
# Version 1.0.0
# Copyright (c) 2022 YADRO (KNS Group LLC)

Expand Down
12 changes: 6 additions & 6 deletions plugins/module_utils/tatlin_api/models/drive_group.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# YADRO Tatlin Ansible Collection
# YADRO Tatlin Unified Ansible Collection
# Version 1.0.0
# Copyright (c) 2022 YADRO (KNS Group LLC)

Expand All @@ -9,11 +9,11 @@
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type

import ansible_collections.yadro.tatlin.plugins.module_utils.tatlin_api.endpoints as eps
from ansible_collections.yadro.tatlin.plugins.module_utils.tatlin_api.utils import to_bytes
from ansible_collections.yadro.tatlin.plugins.module_utils.tatlin_api.models.drive import Drive
from ansible_collections.yadro.tatlin.plugins.module_utils.tatlin_api.models.pool import Pool, PROVISION_TYPE
from ansible_collections.yadro.tatlin.plugins.module_utils.tatlin_api.exception import TatlinClientError
import ansible_collections.yadro.tatlin_uni.plugins.module_utils.tatlin_api.endpoints as eps
from ansible_collections.yadro.tatlin_uni.plugins.module_utils.tatlin_api.utils import to_bytes
from ansible_collections.yadro.tatlin_uni.plugins.module_utils.tatlin_api.models.drive import Drive
from ansible_collections.yadro.tatlin_uni.plugins.module_utils.tatlin_api.models.pool import Pool, PROVISION_TYPE
from ansible_collections.yadro.tatlin_uni.plugins.module_utils.tatlin_api.exception import TatlinClientError

try:
from typing import List, Dict, Optional, Union
Expand Down
6 changes: 3 additions & 3 deletions plugins/module_utils/tatlin_api/models/host.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# YADRO Tatlin Ansible Collection
# YADRO Tatlin Unified Ansible Collection
# Version 1.0.0
# Copyright (c) 2022 YADRO (KNS Group LLC)

Expand All @@ -9,8 +9,8 @@
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type

import ansible_collections.yadro.tatlin.plugins.module_utils.tatlin_api.endpoints as eps
from ansible_collections.yadro.tatlin.plugins.module_utils.tatlin_api.utils import get_iscsi_auth_for_request
import ansible_collections.yadro.tatlin_uni.plugins.module_utils.tatlin_api.endpoints as eps
from ansible_collections.yadro.tatlin_uni.plugins.module_utils.tatlin_api.utils import get_iscsi_auth_for_request

try:
from typing import List, Union
Expand Down
6 changes: 3 additions & 3 deletions plugins/module_utils/tatlin_api/models/host_group.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# YADRO Tatlin Ansible Collection
# YADRO Tatlin Unified Ansible Collection
# Version 1.0.0
# Copyright (c) 2022 YADRO (KNS Group LLC)

Expand All @@ -9,8 +9,8 @@
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type

import ansible_collections.yadro.tatlin.plugins.module_utils.tatlin_api.endpoints as eps
from ansible_collections.yadro.tatlin.plugins.module_utils.tatlin_api.models.host import Host
import ansible_collections.yadro.tatlin_uni.plugins.module_utils.tatlin_api.endpoints as eps
from ansible_collections.yadro.tatlin_uni.plugins.module_utils.tatlin_api.models.host import Host

try:
from typing import List, Union
Expand Down
6 changes: 3 additions & 3 deletions plugins/module_utils/tatlin_api/models/ldap.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# YADRO Tatlin Ansible Collection
# YADRO Tatlin Unified Ansible Collection
# Version 1.0.0
# Copyright (c) 2022 YADRO (KNS Group LLC)

Expand All @@ -15,8 +15,8 @@
# Satisfy Python 2 which doesn't have typing.
Optional = Dict = None

from ansible_collections.yadro.tatlin.plugins.module_utils.tatlin_api.exception import TatlinClientError
from ansible_collections.yadro.tatlin.plugins.module_utils.tatlin_api.endpoints import LDAP_CONFIG_ENDOPINT
from ansible_collections.yadro.tatlin_uni.plugins.module_utils.tatlin_api.exception import TatlinClientError
from ansible_collections.yadro.tatlin_uni.plugins.module_utils.tatlin_api.endpoints import LDAP_CONFIG_ENDOPINT


ENCRYPTION_TLS = 'tls'
Expand Down
4 changes: 2 additions & 2 deletions plugins/module_utils/tatlin_api/models/ntp.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# YADRO Tatlin Ansible Collection
# YADRO Tatlin Unified Ansible Collection
# Version 1.0.0
# Copyright (c) 2022 YADRO (KNS Group LLC)

Expand All @@ -9,7 +9,7 @@
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type

from ansible_collections.yadro.tatlin.plugins.module_utils.tatlin_api.endpoints import NTP_SERVERS_ENDPOINT
from ansible_collections.yadro.tatlin_uni.plugins.module_utils.tatlin_api.endpoints import NTP_SERVERS_ENDPOINT

try:
from typing import List
Expand Down
22 changes: 11 additions & 11 deletions plugins/module_utils/tatlin_api/models/pool.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# YADRO Tatlin Ansible Collection
# YADRO Tatlin Unified Ansible Collection
# Version 1.0.0
# Copyright (c) 2022 YADRO (KNS Group LLC)

Expand All @@ -10,28 +10,28 @@
__metaclass__ = type

from uuid import uuid4
import ansible_collections.yadro.tatlin.plugins.module_utils.tatlin_api.endpoints as eps
from ansible_collections.yadro.tatlin.plugins.module_utils.tatlin_api.models.resource import (
import ansible_collections.yadro.tatlin_uni.plugins.module_utils.tatlin_api.endpoints as eps
from ansible_collections.yadro.tatlin_uni.plugins.module_utils.tatlin_api.models.resource import (
ResourceBase,
ResourceBlock,
ResourceFile,
RESOURCE_TYPE,
)
from ansible_collections.yadro.tatlin.plugins.module_utils.tatlin_api.models.task import Task
from ansible_collections.yadro.tatlin.plugins.module_utils.tatlin_api.exception import TatlinClientError
from ansible_collections.yadro.tatlin.plugins.module_utils.tatlin_api.utils import to_bytes
from ansible_collections.yadro.tatlin_uni.plugins.module_utils.tatlin_api.models.task import Task
from ansible_collections.yadro.tatlin_uni.plugins.module_utils.tatlin_api.exception import TatlinClientError
from ansible_collections.yadro.tatlin_uni.plugins.module_utils.tatlin_api.utils import to_bytes

try:
from typing import List, Union, Dict, Tuple, Optional, TYPE_CHECKING
except ImportError:
List = Union = Dict = Tuple = Optional = TYPE_CHECKING = None

if TYPE_CHECKING:
from ansible_collections.yadro.tatlin.plugins.module_utils.tatlin_api.models.port import Port
from ansible_collections.yadro.tatlin.plugins.module_utils.tatlin_api.models.host import Host
from ansible_collections.yadro.tatlin.plugins.module_utils.tatlin_api.models.host_group import HostGroup
from ansible_collections.yadro.tatlin.plugins.module_utils.tatlin_api.models.user import User
from ansible_collections.yadro.tatlin.plugins.module_utils.tatlin_api.models.user_group import UserGroup
from ansible_collections.yadro.tatlin_uni.plugins.module_utils.tatlin_api.models.port import Port
from ansible_collections.yadro.tatlin_uni.plugins.module_utils.tatlin_api.models.host import Host
from ansible_collections.yadro.tatlin_uni.plugins.module_utils.tatlin_api.models.host_group import HostGroup
from ansible_collections.yadro.tatlin_uni.plugins.module_utils.tatlin_api.models.user import User
from ansible_collections.yadro.tatlin_uni.plugins.module_utils.tatlin_api.models.user_group import UserGroup


class PROVISION_TYPE:
Expand Down
6 changes: 3 additions & 3 deletions plugins/module_utils/tatlin_api/models/port.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# YADRO Tatlin Ansible Collection
# YADRO Tatlin Unified Ansible Collection
# Version 1.0.0
# Copyright (c) 2022 YADRO (KNS Group LLC)

Expand All @@ -12,9 +12,9 @@
import sys
import time

from ansible_collections.yadro.tatlin.plugins.module_utils.tatlin_api.endpoints import (
from ansible_collections.yadro.tatlin_uni.plugins.module_utils.tatlin_api.endpoints import (
build_url, PORTS_ENDPOINT)
from ansible_collections.yadro.tatlin.plugins.module_utils.tatlin_api.exception import (
from ansible_collections.yadro.tatlin_uni.plugins.module_utils.tatlin_api.exception import (
TatlinClientError, RESTClientConnectionError, RESTClientUnauthorized, RESTClientNotFoundError,
)

Expand Down
22 changes: 11 additions & 11 deletions plugins/module_utils/tatlin_api/models/resource.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# YADRO Tatlin Ansible Collection
# YADRO Tatlin Unified Ansible Collection
# Version 1.0.0
# Copyright (c) 2022 YADRO (KNS Group LLC)

Expand All @@ -9,23 +9,23 @@
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type

import ansible_collections.yadro.tatlin.plugins.module_utils.tatlin_api.endpoints as eps
from ansible_collections.yadro.tatlin.plugins.module_utils.tatlin_api.exception import TatlinClientError
from ansible_collections.yadro.tatlin.plugins.module_utils.tatlin_api.utils import to_bytes
from ansible_collections.yadro.tatlin.plugins.module_utils.tatlin_api.models.task import Task
import ansible_collections.yadro.tatlin_uni.plugins.module_utils.tatlin_api.endpoints as eps
from ansible_collections.yadro.tatlin_uni.plugins.module_utils.tatlin_api.exception import TatlinClientError
from ansible_collections.yadro.tatlin_uni.plugins.module_utils.tatlin_api.utils import to_bytes
from ansible_collections.yadro.tatlin_uni.plugins.module_utils.tatlin_api.models.task import Task

try:
from typing import List, Dict, Tuple, Union, TYPE_CHECKING
except ImportError:
List = Dict = Tuple = Union = TYPE_CHECKING = None

if TYPE_CHECKING:
from ansible_collections.yadro.tatlin.plugins.module_utils.tatlin_api.models.port import Port
from ansible_collections.yadro.tatlin.plugins.module_utils.tatlin_api.models.host_group import HostGroup
from ansible_collections.yadro.tatlin.plugins.module_utils.tatlin_api.models.host import Host
from ansible_collections.yadro.tatlin.plugins.module_utils.tatlin_api.models.subnet import Subnet
from ansible_collections.yadro.tatlin.plugins.module_utils.tatlin_api.models.user import User
from ansible_collections.yadro.tatlin.plugins.module_utils.tatlin_api.models.user_group import UserGroup
from ansible_collections.yadro.tatlin_uni.plugins.module_utils.tatlin_api.models.port import Port
from ansible_collections.yadro.tatlin_uni.plugins.module_utils.tatlin_api.models.host_group import HostGroup
from ansible_collections.yadro.tatlin_uni.plugins.module_utils.tatlin_api.models.host import Host
from ansible_collections.yadro.tatlin_uni.plugins.module_utils.tatlin_api.models.subnet import Subnet
from ansible_collections.yadro.tatlin_uni.plugins.module_utils.tatlin_api.models.user import User
from ansible_collections.yadro.tatlin_uni.plugins.module_utils.tatlin_api.models.user_group import UserGroup


class RESOURCE_TYPE:
Expand Down
6 changes: 3 additions & 3 deletions plugins/module_utils/tatlin_api/models/smtp.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# YADRO Tatlin Ansible Collection
# YADRO Tatlin Unified Ansible Collection
# Version 1.0.0
# Copyright (c) 2022 YADRO (KNS Group LLC)

Expand All @@ -14,8 +14,8 @@
except ImportError:
List = None

from ansible_collections.yadro.tatlin.plugins.module_utils.tatlin_api.exception import TatlinClientError
from ansible_collections.yadro.tatlin.plugins.module_utils.tatlin_api.endpoints import SMTP_ENDPOINT
from ansible_collections.yadro.tatlin_uni.plugins.module_utils.tatlin_api.exception import TatlinClientError
from ansible_collections.yadro.tatlin_uni.plugins.module_utils.tatlin_api.endpoints import SMTP_ENDPOINT


ENCRYPTION_TLS = 'tls'
Expand Down
6 changes: 3 additions & 3 deletions plugins/module_utils/tatlin_api/models/snmp.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# YADRO Tatlin Ansible Collection
# YADRO Tatlin Unified Ansible Collection
# Version 1.0.0
# Copyright (c) 2022 YADRO (KNS Group LLC)

Expand All @@ -9,8 +9,8 @@
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type

from ansible_collections.yadro.tatlin.plugins.module_utils.tatlin_api.exception import TatlinClientError
from ansible_collections.yadro.tatlin.plugins.module_utils.tatlin_api.endpoints import SNMP_ENDPOINT
from ansible_collections.yadro.tatlin_uni.plugins.module_utils.tatlin_api.exception import TatlinClientError
from ansible_collections.yadro.tatlin_uni.plugins.module_utils.tatlin_api.endpoints import SNMP_ENDPOINT

try:
from typing import List
Expand Down
8 changes: 4 additions & 4 deletions plugins/module_utils/tatlin_api/models/subnet.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# YADRO Tatlin Ansible Collection
# YADRO Tatlin Unified Ansible Collection
# Version 1.0.0
# Copyright (c) 2022 YADRO (KNS Group LLC)

Expand All @@ -9,9 +9,9 @@
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type

import ansible_collections.yadro.tatlin.plugins.module_utils.tatlin_api.endpoints as eps
from ansible_collections.yadro.tatlin.plugins.module_utils.tatlin_api.models.task import Task
from ansible_collections.yadro.tatlin.plugins.module_utils.tatlin_api.exception import TatlinClientError
import ansible_collections.yadro.tatlin_uni.plugins.module_utils.tatlin_api.endpoints as eps
from ansible_collections.yadro.tatlin_uni.plugins.module_utils.tatlin_api.models.task import Task
from ansible_collections.yadro.tatlin_uni.plugins.module_utils.tatlin_api.exception import TatlinClientError

try:
from typing import List, Optional
Expand Down
6 changes: 3 additions & 3 deletions plugins/module_utils/tatlin_api/models/syslog.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# YADRO Tatlin Ansible Collection
# YADRO Tatlin Unified Ansible Collection
# Version 1.0.0
# Copyright (c) 2022 YADRO (KNS Group LLC)

Expand All @@ -9,8 +9,8 @@
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type

from ansible_collections.yadro.tatlin.plugins.module_utils.tatlin_api.endpoints import SYSLOG_ENDPOINT
from ansible_collections.yadro.tatlin.plugins.module_utils.tatlin_api.exception import TatlinClientError
from ansible_collections.yadro.tatlin_uni.plugins.module_utils.tatlin_api.endpoints import SYSLOG_ENDPOINT
from ansible_collections.yadro.tatlin_uni.plugins.module_utils.tatlin_api.exception import TatlinClientError

try:
from typing import Dict, Union, Optional
Expand Down
6 changes: 3 additions & 3 deletions plugins/module_utils/tatlin_api/models/task.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# YADRO Tatlin Ansible Collection
# YADRO Tatlin Unified Ansible Collection
# Version 1.0.0
# Copyright (c) 2022 YADRO (KNS Group LLC)

Expand All @@ -10,8 +10,8 @@
__metaclass__ = type

import time
import ansible_collections.yadro.tatlin.plugins.module_utils.tatlin_api.endpoints as eps
from ansible_collections.yadro.tatlin.plugins.module_utils.tatlin_api.exception import TatlinTaskError
import ansible_collections.yadro.tatlin_uni.plugins.module_utils.tatlin_api.endpoints as eps
from ansible_collections.yadro.tatlin_uni.plugins.module_utils.tatlin_api.exception import TatlinTaskError


class Task:
Expand Down
6 changes: 3 additions & 3 deletions plugins/module_utils/tatlin_api/models/user.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# YADRO Tatlin Ansible Collection
# YADRO Tatlin Unified Ansible Collection
# Version 1.0.0
# Copyright (c) 2022 YADRO (KNS Group LLC)

Expand All @@ -14,10 +14,10 @@
except ImportError:
Union = List = TYPE_CHECKING = None

from ansible_collections.yadro.tatlin.plugins.module_utils.tatlin_api.endpoints import USERS_ENDPOINT
from ansible_collections.yadro.tatlin_uni.plugins.module_utils.tatlin_api.endpoints import USERS_ENDPOINT

if TYPE_CHECKING:
from ansible_collections.yadro.tatlin.plugins.module_utils.tatlin_api.models.user_group import UserGroup
from ansible_collections.yadro.tatlin_uni.plugins.module_utils.tatlin_api.models.user_group import UserGroup


class User:
Expand Down
Loading

0 comments on commit a586420

Please sign in to comment.