Skip to content

Adding a network device always requires a radius shared secret event if this is not used. #37

@thomaschristory

Description

@thomaschristory

Hello,

I am trying to migrate managing our network devices (via tacacs) via terraform.
The configuration won't work unless there is a radius shared secret configured.
(it's also necessary to carefully add the default network device groups, otherwise there will always be a change from the terraform POV).

Here is an example of the issue:

ise:
  network_resources:
    network_devices:
      - name: AAA_test_switch
        description: managed_by_terraform
        ips:
          - ip: 8.8.8.8
        network_device_groups:
          - 'All Locations#BXS'
          # default values to avoid constant fake changes from terraform POV.
          - 'DNAC#DNAC Devices'
          - 'Guest Type'
          - 'Is IPSEC Device'
          - 'Site Type'
          - 'All Device Types'
        profile_name: Cisco
        authentication_network_protocol: TACACS_PLUS
        radius: # useless but mandatory
          shared_secret: Cisco123 # useless but mandatory
        tacacs:
          connect_mode_options: ON_LEGACY
          shared_secret: Cisco123

I am not sure if this is a nac issue or an ISE api issue though. I remember adding devices via the api and python and not running into that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions