Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add capability to delete configuration using attributes #236

Merged
merged 11 commits into from
Jun 6, 2024
2 changes: 1 addition & 1 deletion gen/definitions/feature_bfd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
name: Feature BFD
class_name: fmBfd
dn: sys/fm/bfd
no_delete: true
ds_description: This data source can read the BFD feature configuration.
res_description: This resource can manage the BFD feature configuration.
doc_path: Feature%20Management/fm:Bfd/
Expand All @@ -17,3 +16,4 @@ attributes:
- enabled
- disabled
example: enabled
delete_value: disabled
2 changes: 1 addition & 1 deletion gen/definitions/feature_bgp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
name: Feature BGP
class_name: fmBgp
dn: sys/fm/bgp
no_delete: true
ds_description: This data source can read the BGP feature configuration.
res_description: This resource can manage the BGP feature configuration.
doc_path: Feature%20Management/fm:Bgp/
Expand All @@ -17,3 +16,4 @@ attributes:
- enabled
- disabled
example: enabled
delete_value: disabled
2 changes: 1 addition & 1 deletion gen/definitions/feature_dhcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
name: Feature DHCP
class_name: fmDhcp
dn: sys/fm/dhcp
no_delete: true
ds_description: This data source can read the DHCP feature configuration.
res_description: This resource can manage the DHCP feature configuration.
doc_path: Feature%20Management/fm:Dhcp/
Expand All @@ -17,3 +16,4 @@ attributes:
- enabled
- disabled
example: enabled
delete_value: disabled
2 changes: 1 addition & 1 deletion gen/definitions/feature_evpn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
name: Feature EVPN
class_name: fmEvpn
dn: sys/fm/evpn
no_delete: true
ds_description: This data source can read the EVPN feature (aka `nv overlay evpn`) configuration.
res_description: This resource can manage the EVPN feature (aka `nv overlay evpn`) configuration.
doc_path: Feature%20Management/fm:Evpn/
Expand All @@ -17,3 +16,4 @@ attributes:
- enabled
- disabled
example: enabled
delete_value: disabled
2 changes: 1 addition & 1 deletion gen/definitions/feature_hmm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
name: Feature HMM
class_name: fmHmm
dn: sys/fm/hmm
no_delete: true
ds_description: This data source can read the HMM feature (aka `feature fabric forwarding`) configuration.
res_description: This resource can manage the HMM feature (aka `feature fabric forwarding`) configuration.
doc_path: Feature%20Management/fm:Hmm/
Expand All @@ -17,3 +16,4 @@ attributes:
- enabled
- disabled
example: enabled
delete_value: disabled
2 changes: 1 addition & 1 deletion gen/definitions/feature_hsrp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
name: Feature HSRP
class_name: fmHsrp
dn: sys/fm/hsrp
no_delete: true
ds_description: This data source can read the HSRP feature configuration.
res_description: This resource can manage the HSRP feature configuration.
doc_path: Feature%20Management/fm:Hsrp/
Expand All @@ -17,3 +16,4 @@ attributes:
- enabled
- disabled
example: enabled
delete_value: disabled
2 changes: 1 addition & 1 deletion gen/definitions/feature_interface_vlan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
name: Feature Interface VLAN
class_name: fmInterfaceVlan
dn: sys/fm/ifvlan
no_delete: true
ds_description: This data source can read the Interface VLAN feature configuration.
res_description: This resource can manage the Interface VLAN feature configuration.
doc_path: Feature%20Management/fm:InterfaceVlan/
Expand All @@ -17,3 +16,4 @@ attributes:
- enabled
- disabled
example: enabled
delete_value: disabled
2 changes: 1 addition & 1 deletion gen/definitions/feature_isis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
name: Feature ISIS
class_name: fmIsis
dn: sys/fm/isis
no_delete: true
ds_description: This data source can read the ISIS feature configuration.
res_description: This resource can manage the ISIS feature configuration.
doc_path: Feature%20Management/fm:Isis/
Expand All @@ -17,3 +16,4 @@ attributes:
- enabled
- disabled
example: enabled
delete_value: disabled
2 changes: 1 addition & 1 deletion gen/definitions/feature_lacp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
name: Feature LACP
class_name: fmLacp
dn: sys/fm/lacp
no_delete: true
ds_description: This data source can read the LACP feature configuration.
res_description: This resource can manage the LACP feature configuration.
doc_path: Feature%20Management/fm:Lacp/
Expand All @@ -17,3 +16,4 @@ attributes:
- enabled
- disabled
example: enabled
delete_value: disabled
2 changes: 1 addition & 1 deletion gen/definitions/feature_lldp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
name: Feature LLDP
class_name: fmLldp
dn: sys/fm/lldp
no_delete: true
ds_description: This data source can read the LLDP feature configuration.
res_description: This resource can manage the LLDP feature configuration.
doc_path: Feature%20Management/fm:Lldp/
Expand All @@ -17,3 +16,4 @@ attributes:
- enabled
- disabled
example: enabled
delete_value: disabled
2 changes: 1 addition & 1 deletion gen/definitions/feature_macsec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
name: Feature MACsec
class_name: fmMacsec
dn: sys/fm/macsec
no_delete: true
test_tags: [MACSEC]
ds_description: This data source can read the MACsec feature configuration.
res_description: This resource can manage the MACsec feature configuration.
Expand All @@ -18,3 +17,4 @@ attributes:
- enabled
- disabled
example: enabled
delete_value: disabled
2 changes: 1 addition & 1 deletion gen/definitions/feature_netflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
name: Feature Netflow
class_name: fmNetflow
dn: sys/fm/netflow
no_delete: true
test_tags: [NETFLOW]
ds_description: This data source can read the Netflow feature configuration.
res_description: This resource can manage the Netflow feature configuration.
Expand All @@ -18,3 +17,4 @@ attributes:
- enabled
- disabled
example: enabled
delete_value: disabled
2 changes: 1 addition & 1 deletion gen/definitions/feature_nv_overlay.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
name: Feature NV Overlay
class_name: fmNvo
dn: sys/fm/nvo
no_delete: true
ds_description: This data source can read the NV Overlay feature configuration.
res_description: This resource can manage the NV Overlay feature configuration.
doc_path: Feature%20Management/fm:Nvo/
Expand All @@ -17,3 +16,4 @@ attributes:
- enabled
- disabled
example: enabled
delete_value: disabled
2 changes: 1 addition & 1 deletion gen/definitions/feature_ospf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
name: Feature OSPF
class_name: fmOspf
dn: sys/fm/ospf
no_delete: true
ds_description: This data source can read the OSPF feature configuration.
res_description: This resource can manage the OSPF feature configuration.
doc_path: Feature%20Management/fm:Ospf/
Expand All @@ -17,3 +16,4 @@ attributes:
- enabled
- disabled
example: enabled
delete_value: disabled
2 changes: 1 addition & 1 deletion gen/definitions/feature_ospfv3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
name: Feature OSPFv3
class_name: fmOspfv3
dn: sys/fm/ospfv3
no_delete: true
ds_description: This data source can read the OSPFv3 feature configuration.
res_description: This resource can manage the OSPFv3 feature configuration.
doc_path: Feature%20Management/fm:Ospfv3/
Expand All @@ -17,3 +16,4 @@ attributes:
- enabled
- disabled
example: enabled
delete_value: disabled
2 changes: 1 addition & 1 deletion gen/definitions/feature_pim.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
name: Feature PIM
class_name: fmPim
dn: sys/fm/pim
no_delete: true
ds_description: This data source can read the PIM feature configuration.
res_description: This resource can manage the PIM feature configuration.
doc_path: Feature%20Management/fm:Pim/
Expand All @@ -17,3 +16,4 @@ attributes:
- enabled
- disabled
example: enabled
delete_value: disabled
2 changes: 1 addition & 1 deletion gen/definitions/feature_ptp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
name: Feature PTP
class_name: fmPtp
dn: sys/fm/ptp
no_delete: true
ds_description: This data source can read the PTP feature configuration.
res_description: This resource can manage the PTP feature configuration.
doc_path: Feature%20Management/fm:Ptp/
Expand All @@ -17,3 +16,4 @@ attributes:
- enabled
- disabled
example: enabled
delete_value: disabled
2 changes: 1 addition & 1 deletion gen/definitions/feature_pvlan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
name: Feature PVLAN
class_name: fmPvlan
dn: sys/fm/pvlan
no_delete: true
ds_description: This data source can read the PVLAN feature configuration.
res_description: This resource can manage the PVLAN feature configuration.
doc_path: Feature%20Management/fm:Pvlan/
Expand All @@ -17,3 +16,4 @@ attributes:
- enabled
- disabled
example: enabled
delete_value: disabled
2 changes: 1 addition & 1 deletion gen/definitions/feature_ssh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
name: Feature SSH
class_name: fmSsh
dn: sys/fm/ssh
no_delete: true
ds_description: This data source can read the SSH feature configuration.
res_description: This resource can manage the SSH feature configuration.
doc_path: Feature%20Management/fm:Ssh/
Expand All @@ -17,3 +16,4 @@ attributes:
- enabled
- disabled
example: enabled
delete_value: enabled
2 changes: 1 addition & 1 deletion gen/definitions/feature_tacacs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
name: Feature TACACS
class_name: fmTacacsplus
dn: sys/fm/tacacsplus
no_delete: true
ds_description: This data source can read the TACACS+ feature configuration.
res_description: This resource can manage the TACACS+ feature configuration.
doc_path: Feature%20Management/fm:Tacacsplus/
Expand All @@ -17,3 +16,4 @@ attributes:
- enabled
- disabled
example: enabled
delete_value: disabled
2 changes: 1 addition & 1 deletion gen/definitions/feature_telnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
name: Feature Telnet
class_name: fmTelnet
dn: sys/fm/telnet
no_delete: true
ds_description: This data source can read the Telnet feature configuration.
res_description: This resource can manage the Telnet feature configuration.
doc_path: Feature%20Management/fm:Telnet/
Expand All @@ -17,3 +16,4 @@ attributes:
- enabled
- disabled
example: enabled
delete_value: disabled
2 changes: 1 addition & 1 deletion gen/definitions/feature_udld.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
name: Feature UDLD
class_name: fmUdld
dn: sys/fm/udld
no_delete: true
ds_description: This data source can read the UDLD feature configuration.
res_description: This resource can manage the UDLD feature configuration.
doc_path: Feature%20Management/fm:Udld/
Expand All @@ -17,3 +16,4 @@ attributes:
- enabled
- disabled
example: enabled
delete_value: disabled
2 changes: 1 addition & 1 deletion gen/definitions/feature_vn_segment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
name: Feature VN Segment
class_name: fmVnSegment
dn: sys/fm/vnsegment
no_delete: true
ds_description: This data source can read the VN Segment feature configuration.
res_description: This resource can manage the VN Segment feature configuration.
doc_path: Feature%20Management/fm:VnSegment/
Expand All @@ -17,3 +16,4 @@ attributes:
- enabled
- disabled
example: enabled
delete_value: disabled
2 changes: 1 addition & 1 deletion gen/definitions/feature_vpc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
name: Feature VPC
class_name: fmVpc
dn: sys/fm/vpc
no_delete: true
ds_description: This data source can read the VPC feature configuration.
res_description: This resource can manage the VPC feature configuration.
doc_path: Feature%20Management/fm:Vpc/
Expand All @@ -17,3 +16,4 @@ attributes:
- enabled
- disabled
example: enabled
delete_value: disabled
Loading