Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dnac #69

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Dnac #69

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*.json
#/endpoints*.yaml
endpoints*.yaml
!examples/*.json
!examples/endpoints*.yaml
tmp/
Expand Down
83 changes: 83 additions & 0 deletions endpoints_ise.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
- name: network_device_group
endpoint: /ers/config/networkdevicegroup
- name: allowed_protocols
endpoint: /ers/config/allowedprotocols
- name: device_admin_authorization_global_exception_rule
endpoint: /api/v1/policy/device-admin/policy-set/global-exception
- name: trustsec_security_group
endpoint: /ers/config/sgt
- name: network_access_dictionary
endpoint: /api/v1/policy/network-access/dictionaries
- name: network_access_condition
endpoint: /api/v1/policy/network-access/condition
- name: trustsec_security_group_acl
endpoint: /ers/config/sgacl
- name: allowed_protocols_tacacs
endpoint: /ers/config/allowedprotocols
- name: license_tier_state
endpoint: /api/v1/license/system/tier-state
- name: endpoint_identity_group
endpoint: /ers/config/endpointgroup
- name: certificate_authentication_profile
endpoint: /ers/config/certificateprofile
- name: device_admin_time_and_date_condition
endpoint: /api/v1/policy/device-admin/time-condition
- name: authorization_profile
endpoint: /ers/config/authorizationprofile
- name: network_access_time_and_date_condition
endpoint: /api/v1/policy/network-access/time-condition
- name: identity_source_sequence
endpoint: /ers/config/idstoresequence
- name: repository
endpoint: /api/v1/repository
- name: endpoint
endpoint: /ers/config/endpoint
- name: tacacs_command_set
endpoint: /ers/config/tacacscommandsets
- name: trustsec_ip_to_sgt_mapping
endpoint: /ers/config/sgmapping
- name: user_identity_group
endpoint: /ers/config/identitygroup
- name: trustsec_egress_matrix_cell
endpoint: /ers/config/egressmatrixcell
- name: device_admin_condition
endpoint: /api/v1/policy/device-admin/condition
- name: downloadable_acl
endpoint: /ers/config/downloadableacl
- name: network_access_authorization_global_exception_rule
endpoint: /api/v1/policy/network-access/policy-set/global-exception
- name: internal_user
endpoint: /ers/config/internaluser
- name: network_device
endpoint: /ers/config/networkdevice
- name: trustsec_ip_to_sgt_mapping_group
endpoint: /ers/config/sgmappinggroup
- name: tacacs_profile
endpoint: /ers/config/tacacsprofile
- name: active_directory_join_point
endpoint: /ers/config/activedirectory
children:
- name: active_directory_add_groups
endpoint: /addGroups
- name: active_directory_join_domain_with_all_nodes
endpoint: /joinAllNodes
- name: active_directory_groups_by_domain
endpoint: /getGroupsByDomain
- name: device_admin_policy_set
endpoint: /api/v1/policy/device-admin/policy-set
children:
- name: device_admin_authentication_rule
endpoint: /authentication
- name: device_admin_authorization_exception_rule
endpoint: /exception
- name: device_admin_authorization_rule
endpoint: /authorization
- name: network_access_policy_set
endpoint: /api/v1/policy/network-access/policy-set
children:
- name: network_access_authentication_rule
endpoint: /authentication
- name: network_access_authorization_exception_rule
endpoint: /exception
- name: network_access_authorization_rule
endpoint: /authorization
125 changes: 125 additions & 0 deletions examples/endpoints_catalystcenter.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
- name: transit_network
endpoint: /dna/intent/api/v1/sda/transitNetworks
- name: credentials_snmpv2_write
endpoint: /dna/intent/api/v2/global-credential
# - name: fabric_authentication_profile
# endpoint: /dna/intent/api/v1/business/sda/authentication-profile
# - name: building
# endpoint: /dna/intent/api/v1/site
# - name: fabric_l2_handoff
# endpoint: /dna/intent/api/v1/sda/fabricDevices/layer2Handoffs
# - name: floor
# endpoint: /dna/intent/api/v1/site
# - name: fabric_virtual_network
# endpoint: /dna/intent/api/v1/virtual-network
# - name: role
# endpoint: /dna/system/api/v1/role
# - name: credentials_cli
# endpoint: /dna/intent/api/v2/global-credential
# - name: image_distribution
# endpoint: /dna/intent/api/v1/image/distribution
# - name: discovery
# endpoint: /dna/intent/api/v1/discovery
# - name: wireless_rf_profile
# endpoint: /dna/intent/api/v1/wireless/rf-profile
# - name: area
# endpoint: /dna/intent/api/v1/site
# - name: pnp_device_claim_site
# endpoint: /dna/intent/api/v1/onboarding/pnp-device/site-claim
# - name: credentials_https_write
# endpoint: /dna/intent/api/v2/global-credential
# - name: template_version
# endpoint: /dna/intent/api/v1/template-programmer/template/version
# - name: ip_pool_reservation
# endpoint: /dna/intent/api/v1/reserve-ip-subpool
# - name: ip_pool
# endpoint: /api/v2/ippool
- name: credentials_snmpv2_read
endpoint: /dna/intent/api/v2/global-credential
# - name: pnp_import_devices
# endpoint: /dna/intent/api/v1/onboarding/pnp-device/import
# - name: fabric_device
# endpoint: /dna/intent/api/v1/sda/fabricDevices
# - name: device_role
# endpoint: /dna/intent/api/v1/network-device/brief
# - name: wireless_device_provision
# endpoint: /dna/intent/api/v1/wireless/provision
# - name: device
# endpoint: /dna/intent/api/v1/network-device
# - name: fabric_port_assignment
# endpoint: /dna/intent/api/v1/sda/portAssignments
# - name: sp_profile
# endpoint: /dna/intent/api/v2/service-provider
# - name: network
# endpoint: /dna/intent/api/v2/network
- name: credentials_https_read
endpoint: /dna/intent/api/v2/global-credential
- name: credentials_snmpv3
endpoint: /dna/intent/api/v2/global-credential
# - name: assign_credentials
# endpoint: /dna/intent/api/v2/credential-to-site
# - name: device_detail
# endpoint: /dna/intent/api/v1/device-detail
# - name: virtual_network_ip_pool
# endpoint: /dna/intent/api/v1/business/sda/virtualnetwork/ippool
# - name: fabric_site
# endpoint: /dna/intent/api/v1/sda/fabricSites
# - name: lan_automation
# endpoint: /dna/intent/api/v1/lan-automation
# - name: user
# endpoint: /dna/system/api/v1/user
# - name: virtual_network_to_fabric_site
# endpoint: /dna/intent/api/v1/business/sda/virtual-network
# - name: wireless_enterprise_ssid
# endpoint: /dna/intent/api/v1/enterprise-ssid
# - name: authentication_policy_server
# endpoint: /dna/intent/api/v1/authentication-policy-servers
# - name: image
# endpoint: /dna/intent/api/v1/image/importation/source/file
# - name: network_profile
# endpoint: /api/v1/siteprofile
# - name: fabric_l3_handoff_ip_transit
# endpoint: /dna/intent/api/v1/sda/fabricDevices/layer3Handoffs/ipTransits
# - name: pnp_config_preview
# endpoint: /dna/intent/api/v1/onboarding/pnp-device/site-config-preview
# - name: image_activation
# endpoint: /dna/intent/api/v1/image/activation/device
# - name: wireless_profile
# endpoint: /intent/api/v1/wirelessProfiles
# - name: fabric_provision_device
# endpoint: /dna/intent/api/v1/sda/provisionDevices
# - name: deploy_template
# endpoint: /dna/intent/api/v2/template-programmer/template/deploy
# - name: pnp_device
# endpoint: /dna/intent/api/v1/onboarding/pnp-device
- name: anycast_gateway
endpoint: /dna/intent/api/v1/sda/anycastGateways
# - name: network_devices
# endpoint: /dna/intent/api/v1/network-device
# - name: site
# endpoint: /dna/intent/api/v1/sites
# children:
# - name: wireless_ssid
# endpoint: /wirelessSettings/ssids
# - name: aaa_settings
# endpoint: /aaaSettings
# - name: project
# endpoint: /dna/intent/api/v1/template-programmer/project
# children:
# - name: template
# endpoint: /template
# - name:
# endpoint: /dna/intent/api/v1/sda/fabrics
# children:
# - name: fabric_vlan_to_ssid
# endpoint: /vlanToSsids
# - name:
# endpoint: /dna/intent/api/v1/networkprofile
# children:
# - name: associate_site_to_network_profile
# endpoint: /site/%v
# - name: tag
# endpoint: /dna/intent/api/v1/tag
# children:
# - name: assign_templates_to_tag
# endpoint: /member
Loading