pt_apply_feature
Generate Cisco IOS configuration for a selected feature and apply it to a Packet Tracer device in one step; use dry_run to preview commands without applying.
Instructions
Generate IOS config for a feature (see ios_features) and apply it to a device in one step. e.g. feature='ospf', params={'networks':['10.0.0.0/30','192.168.1.0/24'],'router_id':'1.1.1.1', 'passive':['GigabitEthernet0/0']}. dry_run=true returns the lines without applying.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes | ||
| params | Yes | ||
| dry_run | No | ||
| feature | Yes |