Added in version 1.8
Configure some functions of vsi-interface
parameter | required | default | choices | comments |
---|---|---|---|---|
vsi_intf | yes | The vsi interface view to config | ||
binding | no | Bind the interface with a VPN instance | ||
macaddr | no | config MAC address information | ||
local_proxy | no |
|
Enable local proxy ARP or ND function | |
distribute_gateway | no |
|
Specify the VSI interface as a distributed gateway | |
state | no | present |
|
Desired state for the interface configuration |
hostname | yes | IP Address or hostname of the Comware v7 device that has NETCONF enabled | ||
username | yes | Username used to login to the switch | ||
password | yes | Password used to login to the switch | ||
port | no | 830 | NETCONF port number | |
look_for_keys | no | False | Whether searching for discoverable private key files in ~/.ssh/ |
# - name: config vsi # comware_vsi_intf: vsi_intf=Vsi-interface1 binding=vpna macaddr=201a-101a-40fa local_proxy=arp \ distribute_gateway=local username={{ username }} password={{ password }} hostname={{ inventory_hostname }}
Note
l2vpn needs to enbled before config vsi view.vsi_intf must be vsi interface type , the module is only used for config vsi interface.If you want to bind a interface with VPN instance, the VPN instance must be already exist.