File tree 3 files changed +3
-6
lines changed
3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -118,9 +118,6 @@ netplan_netdef_get_vlan_link(const NetplanNetDefinition* netdef);
118
118
NETPLAN_PUBLIC NetplanNetDefinition *
119
119
netplan_netdef_get_sriov_link (const NetplanNetDefinition * netdef );
120
120
121
- NETPLAN_PUBLIC char *
122
- netplan_netdef_get_keep_configuration (const NetplanNetDefinition * netdef );
123
-
124
121
NETPLAN_PUBLIC ssize_t
125
122
netplan_netdef_get_set_name (const NetplanNetDefinition * netdef , char * out_buffer , size_t out_buffer_size );
126
123
Original file line number Diff line number Diff line change 112
112
ssize_t _netplan_netdef_get_embedded_switch_mode(const NetplanNetDefinition* netdef, char* out_buffer, size_t out_buf_size);
113
113
gboolean _netplan_netdef_get_sriov_vlan_filter(const NetplanNetDefinition* netdef);
114
114
guint _netplan_netdef_get_vlan_id(const NetplanNetDefinition* netdef);
115
- char* netplan_netdef_get_keep_configuration (const NetplanNetDefinition* netdef);
115
+ NetplanCriticalOption _netplan_netdef_get_critical (const NetplanNetDefinition* netdef);
116
116
gboolean _netplan_netdef_is_trivial_compound_itf(const NetplanNetDefinition* netdef);
117
117
int _netplan_state_get_vf_count_for_def(
118
118
const NetplanState* np_state, const NetplanNetDefinition* netdef, NetplanError** error);
Original file line number Diff line number Diff line change @@ -75,8 +75,8 @@ def set_name(self) -> str:
75
75
return _string_realloc_call_no_error (lambda b : lib .netplan_netdef_get_set_name (self ._ptr , b , len (b )))
76
76
77
77
@property
78
- def keep_configuration (self ) -> str :
79
- return _string_realloc_call_no_error ( lambda b : lib .netplan_netdef_get_keep_configuration (self ._ptr , b , len ( b ) ))
78
+ def critical (self ) -> bool :
79
+ return bool ( lib ._netplan_netdef_get_critical (self ._ptr ))
80
80
81
81
@property
82
82
def links (self ) -> dict :
You can’t perform that action at this time.
0 commit comments