Added in version 1.0
parameter | required | default | choices | comments |
---|---|---|---|---|
ospfname | yes | Instance name.(1~65535) | ||
routerid | no | Router identifier. | ||
area | no | Area ID | ||
areatype | no |
|
Area type | |
bandwidth | no | Configure the bandwidth reference value by which link overhead is calculated(1~4294967) | ||
lsa_generation_max | no | Maximum time interval between OSPF LSA regenerations(1~60s) | ||
lsa_generation_min | no | Minimum time interval between OSPF LSA regenerations(10~60000ms) | ||
lsa_generation_inc | no | Interval penalty increment for OSPF LSA regeneration(10~60000ms) | ||
lsa_arrival | no | Configure the minimum time interval for repeat arrival of OSPF LSA(0~60000ms) | ||
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 | The Comware port used to connect to the switch | |
look_for_keys | no | False | Whether searching for discoverable private key files in ~/.ssh/ |
# Basic Ethernet config - comware_ospf: ospfname=4 area=2.2.2.2 areatype=NSSA lsa_generation_max=20 lsa_generation_min=20 lsa_generation_inc=20 username={{ username }} password={{ password }} hostname={{ inventory_hostname }}