Created
April 29, 2022 18:51
-
-
Save ngschmidt/9d7451c40a0fc9126a394c2abb922fa8 to your computer and use it in GitHub Desktop.
NSX-T Q-in-VNI Example
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
- hosts: localhost | |
tasks: | |
- name: "eng-lab-vn-example-trunk" | |
vmware.ansible_for_nsxt.nsxt_policy_segment: | |
hostname: "" | |
username: '{{ lookup("env", "APIUSER") }}' | |
password: '{{ lookup("env", "APIPASS") }}' | |
validate_certs: False | |
state: present | |
display_name: "eng-lab-vn-example-trunk" | |
transport_zone_display_name: "POTATOFABRIC-overlay-tz" | |
replication_mode: "SOURCE" | |
vlan_ids: "0-4094" | |
admin_state: UP |
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
{ | |
"type": "DISCONNECTED", | |
"vlan_ids": [ | |
"0-4094" | |
], | |
"transport_zone_path": "/infra/sites/default/enforcement-points/default/transport-zones/4dfc9ded-e212-4bbc-9399-1fb125b2fe64", | |
"advanced_config": { | |
"hybrid": false, | |
"multicast": true, | |
"inter_router": false, | |
"local_egress": false, | |
"urpf_mode": "STRICT", | |
"connectivity": "ON" | |
}, | |
"admin_state": "UP", | |
"replication_mode": "MTEP", | |
"resource_type": "Segment", | |
"id": "eng-lab-vn-cml-trunk", | |
"display_name": "eng-lab-vn-cml-trunk", | |
"path": "/infra/segments/eng-lab-vn-cml-trunk", | |
"relative_path": "eng-lab-vn-cml-trunk", | |
"parent_path": "/infra", | |
"unique_id": "556631da-6d7e-4d55-b07a-4e9102cfb4b1", | |
"realization_id": "556631da-6d7e-4d55-b07a-4e9102cfb4b1", | |
"marked_for_delete": false, | |
"overridden": false, | |
"_create_time": 1651252671021, | |
"_create_user": "admin", | |
"_last_modified_time": 1651255998218, | |
"_last_modified_user": "admin", | |
"_system_owned": false, | |
"_protection": "NOT_PROTECTED", | |
"_revision": 1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment