-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed issues sda_layer3_virtual_networks_v1 PUT instead of POST #221
- Loading branch information
1 parent
8e8244f
commit d89b8ee
Showing
6 changed files
with
120 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
--- | ||
namespace: cisco | ||
name: dnac | ||
version: 6.27.0 | ||
version: 6.28.0 | ||
readme: README.md | ||
authors: | ||
- Rafael Campos <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
--- | ||
- hosts: dnac_servers | ||
vars_files: | ||
- credentials.yml | ||
gather_facts: false | ||
tasks: | ||
- name: Create sda anycast gateways v1 | ||
cisco.dnac.sda_anycast_gateways_v1: | ||
dnac_host: "{{ dnac_host }}" | ||
dnac_port: "{{ dnac_port }}" | ||
dnac_username: "{{ dnac_username }}" | ||
dnac_password: "{{ dnac_password }}" | ||
dnac_verify: "{{ dnac_verify }}" | ||
dnac_debug: "{{ dnac_debug }}" | ||
state: present | ||
payload: | ||
- fabricId: "b6af9074-b1d8-4b40-82f9-776d34adb0fc" | ||
virtualNetworkName: "INFRA_VN" | ||
vlanId: 100 | ||
vlanName: "VLAN_100" | ||
ipPoolName: "IP_POOL_100" | ||
isCriticalPool: true | ||
isGroupBasedPolicyEnforcementEnabled: true | ||
isIntraSubnetRoutingEnabled: true | ||
isIpDirectedBroadcast: true | ||
isLayer2FloodingEnabled: true | ||
isMultipleIpToMacAddresses: true | ||
isSupplicantBasedExtendedNodeOnboarding: true | ||
isWirelessPool: true | ||
poolType: "EXTENDED_NODE" | ||
securityGroupName: "SG_DEFAULT" | ||
tcpMssAdjustment: 1400 | ||
trafficType: "DATA" | ||
anchoredSiteId: "7087c88f-ec73-4df1-8f6b-136d7e2ed9e2" | ||
|
||
register: result | ||
|
||
- name: Show result | ||
debug: | ||
var: result |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
- hosts: dnac_servers | ||
vars_files: | ||
- credentials.yml | ||
gather_facts: false | ||
tasks: | ||
- name: Update layer 3 virtual networks v1 | ||
cisco.dnac.sda_layer3_virtual_networks_v1: | ||
dnac_host: "{{ dnac_host }}" | ||
dnac_port: "{{ dnac_port }}" | ||
dnac_username: "{{ dnac_username }}" | ||
dnac_password: "{{ dnac_password }}" | ||
dnac_verify: "{{ dnac_verify }}" | ||
dnac_debug: "{{ dnac_debug }}" | ||
state: present | ||
payload: | ||
- virtualNetworkName: "DEFAULT_VN" | ||
id: "1cc6dab4-d4e8-4523-bbc5-7f7bb4eb4c7c" | ||
register: result | ||
|
||
- name: Create layer 3 virtual networks v1 | ||
cisco.dnac.sda_layer3_virtual_networks_v1: | ||
dnac_host: "{{ dnac_host }}" | ||
dnac_port: "{{ dnac_port }}" | ||
dnac_username: "{{ dnac_username }}" | ||
dnac_password: "{{ dnac_password }}" | ||
dnac_verify: "{{ dnac_verify }}" | ||
dnac_debug: "{{ dnac_debug }}" | ||
state: present | ||
payload: | ||
- virtualNetworkName: "DEFAULT_VNee" | ||
fabricIds: | ||
- "e3327bd5-e30b-40be-92ac-d6235f35a29b" | ||
anchoredSiteId: "7087c88f-ec73-4df1-8f6b-136d7e2ed9e2" | ||
register: result | ||
|
||
- name: Show result | ||
debug: | ||
var: result |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters