function stringlengths 11 56k | repo_name stringlengths 5 60 | features list |
|---|---|---|
def _get_policy(self):
"""
Getter method for policy, mapped from YANG variable /macsec/mka/policies/policy (list)
YANG Description: List of MKA policies
"""
return self.__policy | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _set_policy(self, v, load=False):
"""
Setter method for policy, mapped from YANG variable /macsec/mka/policies/policy (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_policy is considered as a private
method. Backends looking to populate this variable shoul... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def __init__(self, *args, **kwargs):
self._path_helper = False
self._extmethods = False
self.__name = YANGDynClass(base=six.text_type, is_leaf=True, yang_name="name", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/macsec'... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _get_name(self):
"""
Getter method for name, mapped from YANG variable /macsec/mka/key_chains/key_chain/config/name (string)
YANG Description: MKA Key-chain name
"""
return self.__name | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _set_name(self, v, load=False):
"""
Setter method for name, mapped from YANG variable /macsec/mka/key_chains/key_chain/config/name (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_name is considered as a private
method. Backends looking to populate this v... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def __init__(self, *args, **kwargs):
self._path_helper = False
self._extmethods = False
self.__name = YANGDynClass(base=six.text_type, is_leaf=True, yang_name="name", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/macsec'... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _get_name(self):
"""
Getter method for name, mapped from YANG variable /macsec/mka/key_chains/key_chain/state/name (string)
YANG Description: MKA Key-chain name
"""
return self.__name | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _set_name(self, v, load=False):
"""
Setter method for name, mapped from YANG variable /macsec/mka/key_chains/key_chain/state/name (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_name is considered as a private
method. Backends looking to populate this va... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def __init__(self, *args, **kwargs):
self._path_helper = False
self._extmethods = False
self.__id = YANGDynClass(base=RestrictedClassType(base_type=RestrictedClassType(base_type=six.text_type, restriction_dict={'pattern': '[0-9a-fA-F]*'}), restriction_dict={'length': ['1..64']}), is_leaf=True, yang_name="... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _get_id(self):
"""
Getter method for id, mapped from YANG variable /macsec/mka/key_chains/key_chain/mka_keys/mka_key/config/id (oc-yang:hex-string)
YANG Description: Key identifier is used as the | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _set_id(self, v, load=False):
"""
Setter method for id, mapped from YANG variable /macsec/mka/key_chains/key_chain/mka_keys/mka_key/config/id (oc-yang:hex-string)
If this variable is read-only (config: false) in the
source YANG file, then _set_id is considered as a private
method. Backends looki... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _unset_id(self):
self.__id = YANGDynClass(base=RestrictedClassType(base_type=RestrictedClassType(base_type=six.text_type, restriction_dict={'pattern': '[0-9a-fA-F]*'}), restriction_dict={'length': ['1..64']}), is_leaf=True, yang_name="id", parent=self, path_helper=self._path_helper, extmethods=self._extmethods,... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _set_key_clear_text(self, v, load=False):
"""
Setter method for key_clear_text, mapped from YANG variable /macsec/mka/key_chains/key_chain/mka_keys/mka_key/config/key_clear_text (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_key_clear_text is considered as ... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _unset_key_clear_text(self):
self.__key_clear_text = YANGDynClass(base=six.text_type, is_leaf=True, yang_name="key-clear-text", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/macsec', defining_module='openconfig-macsec', yang_t... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _set_cryptographic_algorithm(self, v, load=False):
"""
Setter method for cryptographic_algorithm, mapped from YANG variable /macsec/mka/key_chains/key_chain/mka_keys/mka_key/config/cryptographic_algorithm (enumeration)
If this variable is read-only (config: false) in the
source YANG file, then _set_... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _get_valid_date_time(self):
"""
Getter method for valid_date_time, mapped from YANG variable /macsec/mka/key_chains/key_chain/mka_keys/mka_key/config/valid_date_time (union)
YANG Description: Date and time the key starts being valid according to local date and | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _set_valid_date_time(self, v, load=False):
"""
Setter method for valid_date_time, mapped from YANG variable /macsec/mka/key_chains/key_chain/mka_keys/mka_key/config/valid_date_time (union)
If this variable is read-only (config: false) in the
source YANG file, then _set_valid_date_time is considered ... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _unset_valid_date_time(self):
self.__valid_date_time = YANGDynClass(base=[RestrictedClassType(base_type=six.text_type, restriction_dict={'pattern': '[0-9]{4}\\-(0[1-9]|1[0-2])\\-(0[1-9]|[12][0-9]|3[01])[Tt](0[0-9]|1[0-9]|2[0-3]):(0[0-9]|[1-5][0-9]):(0[0-9]|[1-5][0-9]|60)(\\.[0-9]+)?([Zz]|([+-](0[0-9]|1[0-9]|2[0... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _set_expiration_date_time(self, v, load=False):
"""
Setter method for expiration_date_time, mapped from YANG variable /macsec/mka/key_chains/key_chain/mka_keys/mka_key/config/expiration_date_time (union)
If this variable is read-only (config: false) in the
source YANG file, then _set_expiration_date... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _unset_expiration_date_time(self):
self.__expiration_date_time = YANGDynClass(base=[RestrictedClassType(base_type=six.text_type, restriction_dict={'pattern': '[0-9]{4}\\-(0[1-9]|1[0-2])\\-(0[1-9]|[12][0-9]|3[01])[Tt](0[0-9]|1[0-9]|2[0-3]):(0[0-9]|[1-5][0-9]):(0[0-9]|[1-5][0-9]|60)(\\.[0-9]+)?([Zz]|([+-](0[0-9]|... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def __init__(self, *args, **kwargs):
self._path_helper = False
self._extmethods = False
self.__id = YANGDynClass(base=RestrictedClassType(base_type=RestrictedClassType(base_type=six.text_type, restriction_dict={'pattern': '[0-9a-fA-F]*'}), restriction_dict={'length': ['1..64']}), is_leaf=True, yang_name="... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _get_id(self):
"""
Getter method for id, mapped from YANG variable /macsec/mka/key_chains/key_chain/mka_keys/mka_key/state/id (oc-yang:hex-string)
YANG Description: Key identifier is used as the | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _set_id(self, v, load=False):
"""
Setter method for id, mapped from YANG variable /macsec/mka/key_chains/key_chain/mka_keys/mka_key/state/id (oc-yang:hex-string)
If this variable is read-only (config: false) in the
source YANG file, then _set_id is considered as a private
method. Backends lookin... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _unset_id(self):
self.__id = YANGDynClass(base=RestrictedClassType(base_type=RestrictedClassType(base_type=six.text_type, restriction_dict={'pattern': '[0-9a-fA-F]*'}), restriction_dict={'length': ['1..64']}), is_leaf=True, yang_name="id", parent=self, path_helper=self._path_helper, extmethods=self._extmethods,... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _set_key_clear_text(self, v, load=False):
"""
Setter method for key_clear_text, mapped from YANG variable /macsec/mka/key_chains/key_chain/mka_keys/mka_key/state/key_clear_text (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_key_clear_text is considered as a... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _unset_key_clear_text(self):
self.__key_clear_text = YANGDynClass(base=six.text_type, is_leaf=True, yang_name="key-clear-text", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/macsec', defining_module='openconfig-macsec', yang_t... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _set_cryptographic_algorithm(self, v, load=False):
"""
Setter method for cryptographic_algorithm, mapped from YANG variable /macsec/mka/key_chains/key_chain/mka_keys/mka_key/state/cryptographic_algorithm (enumeration)
If this variable is read-only (config: false) in the
source YANG file, then _set_c... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _get_valid_date_time(self):
"""
Getter method for valid_date_time, mapped from YANG variable /macsec/mka/key_chains/key_chain/mka_keys/mka_key/state/valid_date_time (union)
YANG Description: Date and time the key starts being valid according to local date and | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _set_valid_date_time(self, v, load=False):
"""
Setter method for valid_date_time, mapped from YANG variable /macsec/mka/key_chains/key_chain/mka_keys/mka_key/state/valid_date_time (union)
If this variable is read-only (config: false) in the
source YANG file, then _set_valid_date_time is considered a... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _unset_valid_date_time(self):
self.__valid_date_time = YANGDynClass(base=[RestrictedClassType(base_type=six.text_type, restriction_dict={'pattern': '[0-9]{4}\\-(0[1-9]|1[0-2])\\-(0[1-9]|[12][0-9]|3[01])[Tt](0[0-9]|1[0-9]|2[0-3]):(0[0-9]|[1-5][0-9]):(0[0-9]|[1-5][0-9]|60)(\\.[0-9]+)?([Zz]|([+-](0[0-9]|1[0-9]|2[0... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _set_expiration_date_time(self, v, load=False):
"""
Setter method for expiration_date_time, mapped from YANG variable /macsec/mka/key_chains/key_chain/mka_keys/mka_key/state/expiration_date_time (union)
If this variable is read-only (config: false) in the
source YANG file, then _set_expiration_date_... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _unset_expiration_date_time(self):
self.__expiration_date_time = YANGDynClass(base=[RestrictedClassType(base_type=six.text_type, restriction_dict={'pattern': '[0-9]{4}\\-(0[1-9]|1[0-2])\\-(0[1-9]|[12][0-9]|3[01])[Tt](0[0-9]|1[0-9]|2[0-3]):(0[0-9]|[1-5][0-9]):(0[0-9]|[1-5][0-9]|60)(\\.[0-9]+)?([Zz]|([+-](0[0-9]|... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def __init__(self, *args, **kwargs):
self._path_helper = False
self._extmethods = False
self.__id = YANGDynClass(base=six.text_type, is_leaf=True, yang_name="id", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, is_keyval=True, namespace='http://openconfig.net/... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _get_id(self):
"""
Getter method for id, mapped from YANG variable /macsec/mka/key_chains/key_chain/mka_keys/mka_key/id (leafref)
YANG Description: Reference to the MKA key id
"""
return self.__id | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _set_id(self, v, load=False):
"""
Setter method for id, mapped from YANG variable /macsec/mka/key_chains/key_chain/mka_keys/mka_key/id (leafref)
If this variable is read-only (config: false) in the
source YANG file, then _set_id is considered as a private
method. Backends looking to populate thi... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _get_config(self):
"""
Getter method for config, mapped from YANG variable /macsec/mka/key_chains/key_chain/mka_keys/mka_key/config (container)
YANG Description: Configuration of MKA key
"""
return self.__config | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _set_config(self, v, load=False):
"""
Setter method for config, mapped from YANG variable /macsec/mka/key_chains/key_chain/mka_keys/mka_key/config (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_config is considered as a private
method. Backends looki... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _get_state(self):
"""
Getter method for state, mapped from YANG variable /macsec/mka/key_chains/key_chain/mka_keys/mka_key/state (container)
YANG Description: Operational state data for MKA key
"""
return self.__state | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _set_state(self, v, load=False):
"""
Setter method for state, mapped from YANG variable /macsec/mka/key_chains/key_chain/mka_keys/mka_key/state (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_state is considered as a private
method. Backends looking t... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def __init__(self, *args, **kwargs):
self._path_helper = False
self._extmethods = False
self.__mka_key = YANGDynClass(base=YANGListType("id",yc_mka_key_openconfig_macsec__macsec_mka_key_chains_key_chain_mka_keys_mka_key, yang_name="mka-key", parent=self, is_container='list', user_ordered=False, path_helpe... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _get_mka_key(self):
"""
Getter method for mka_key, mapped from YANG variable /macsec/mka/key_chains/key_chain/mka_keys/mka_key (list)
YANG Description: List of MKA keys
"""
return self.__mka_key | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _set_mka_key(self, v, load=False):
"""
Setter method for mka_key, mapped from YANG variable /macsec/mka/key_chains/key_chain/mka_keys/mka_key (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_mka_key is considered as a private
method. Backends looking to pop... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def __init__(self, *args, **kwargs):
self._path_helper = False
self._extmethods = False
self.__name = YANGDynClass(base=six.text_type, is_leaf=True, yang_name="name", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, is_keyval=True, namespace='http://openconfig.... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _get_name(self):
"""
Getter method for name, mapped from YANG variable /macsec/mka/key_chains/key_chain/name (leafref)
YANG Description: Reference to the MKA Key chain name
"""
return self.__name | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _set_name(self, v, load=False):
"""
Setter method for name, mapped from YANG variable /macsec/mka/key_chains/key_chain/name (leafref)
If this variable is read-only (config: false) in the
source YANG file, then _set_name is considered as a private
method. Backends looking to populate this variabl... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _get_config(self):
"""
Getter method for config, mapped from YANG variable /macsec/mka/key_chains/key_chain/config (container)
YANG Description: Configuration of the MKA key chain
"""
return self.__config | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _set_config(self, v, load=False):
"""
Setter method for config, mapped from YANG variable /macsec/mka/key_chains/key_chain/config (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_config is considered as a private
method. Backends looking to populate th... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _get_state(self):
"""
Getter method for state, mapped from YANG variable /macsec/mka/key_chains/key_chain/state (container)
YANG Description: Operational state data for MKA key chain
"""
return self.__state | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _set_state(self, v, load=False):
"""
Setter method for state, mapped from YANG variable /macsec/mka/key_chains/key_chain/state (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_state is considered as a private
method. Backends looking to populate this v... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _get_mka_keys(self):
"""
Getter method for mka_keys, mapped from YANG variable /macsec/mka/key_chains/key_chain/mka_keys (container)
YANG Description: Enclosing container for the list of MKA keys
"""
return self.__mka_keys | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _set_mka_keys(self, v, load=False):
"""
Setter method for mka_keys, mapped from YANG variable /macsec/mka/key_chains/key_chain/mka_keys (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_mka_keys is considered as a private
method. Backends looking to pop... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def __init__(self, *args, **kwargs):
self._path_helper = False
self._extmethods = False
self.__key_chain = YANGDynClass(base=YANGListType("name",yc_key_chain_openconfig_macsec__macsec_mka_key_chains_key_chain, yang_name="key-chain", parent=self, is_container='list', user_ordered=False, path_helper=self._p... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _get_key_chain(self):
"""
Getter method for key_chain, mapped from YANG variable /macsec/mka/key_chains/key_chain (list)
YANG Description: MKA Key chain name
"""
return self.__key_chain | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _set_key_chain(self, v, load=False):
"""
Setter method for key_chain, mapped from YANG variable /macsec/mka/key_chains/key_chain (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_key_chain is considered as a private
method. Backends looking to populate this ... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def __init__(self, *args, **kwargs):
self._path_helper = False
self._extmethods = False
self.__out_mkpdu_errors = YANGDynClass(base=RestrictedClassType(base_type=long, restriction_dict={'range': ['0..18446744073709551615']}, int_size=64), is_leaf=True, yang_name="out-mkpdu-errors", parent=self, path_help... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _get_out_mkpdu_errors(self):
"""
Getter method for out_mkpdu_errors, mapped from YANG variable /macsec/mka/state/counters/out_mkpdu_errors (oc-yang:counter64)
YANG Description: MKPDU TX error count
"""
return self.__out_mkpdu_errors | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _set_out_mkpdu_errors(self, v, load=False):
"""
Setter method for out_mkpdu_errors, mapped from YANG variable /macsec/mka/state/counters/out_mkpdu_errors (oc-yang:counter64)
If this variable is read-only (config: false) in the
source YANG file, then _set_out_mkpdu_errors is considered as a private
... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _get_in_mkpdu_icv_verification_errors(self):
"""
Getter method for in_mkpdu_icv_verification_errors, mapped from YANG variable /macsec/mka/state/counters/in_mkpdu_icv_verification_errors (oc-yang:counter64)
YANG Description: MKPDU RX ICV verification error count
"""
return self.__in_mkpdu_icv_v... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _set_in_mkpdu_icv_verification_errors(self, v, load=False):
"""
Setter method for in_mkpdu_icv_verification_errors, mapped from YANG variable /macsec/mka/state/counters/in_mkpdu_icv_verification_errors (oc-yang:counter64)
If this variable is read-only (config: false) in the
source YANG file, then _s... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _get_in_mkpdu_validation_errors(self):
"""
Getter method for in_mkpdu_validation_errors, mapped from YANG variable /macsec/mka/state/counters/in_mkpdu_validation_errors (oc-yang:counter64)
YANG Description: MKPDU RX validation error count
"""
return self.__in_mkpdu_validation_errors | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _set_in_mkpdu_validation_errors(self, v, load=False):
"""
Setter method for in_mkpdu_validation_errors, mapped from YANG variable /macsec/mka/state/counters/in_mkpdu_validation_errors (oc-yang:counter64)
If this variable is read-only (config: false) in the
source YANG file, then _set_in_mkpdu_valida... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _get_in_mkpdu_bad_peer_errors(self):
"""
Getter method for in_mkpdu_bad_peer_errors, mapped from YANG variable /macsec/mka/state/counters/in_mkpdu_bad_peer_errors (oc-yang:counter64)
YANG Description: MKPDU RX bad peer message number error count
"""
return self.__in_mkpdu_bad_peer_errors | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _set_in_mkpdu_bad_peer_errors(self, v, load=False):
"""
Setter method for in_mkpdu_bad_peer_errors, mapped from YANG variable /macsec/mka/state/counters/in_mkpdu_bad_peer_errors (oc-yang:counter64)
If this variable is read-only (config: false) in the
source YANG file, then _set_in_mkpdu_bad_peer_err... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _get_in_mkpdu_peer_list_errors(self):
"""
Getter method for in_mkpdu_peer_list_errors, mapped from YANG variable /macsec/mka/state/counters/in_mkpdu_peer_list_errors (oc-yang:counter64)
YANG Description: MKPDU RX non-recent peer list Message Number error count
"""
return self.__in_mkpdu_peer_li... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _set_in_mkpdu_peer_list_errors(self, v, load=False):
"""
Setter method for in_mkpdu_peer_list_errors, mapped from YANG variable /macsec/mka/state/counters/in_mkpdu_peer_list_errors (oc-yang:counter64)
If this variable is read-only (config: false) in the
source YANG file, then _set_in_mkpdu_peer_list... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _get_sak_generation_errors(self):
"""
Getter method for sak_generation_errors, mapped from YANG variable /macsec/mka/state/counters/sak_generation_errors (oc-yang:counter64)
YANG Description: MKA error SAK generation count
"""
return self.__sak_generation_errors | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _set_sak_generation_errors(self, v, load=False):
"""
Setter method for sak_generation_errors, mapped from YANG variable /macsec/mka/state/counters/sak_generation_errors (oc-yang:counter64)
If this variable is read-only (config: false) in the
source YANG file, then _set_sak_generation_errors is consi... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _get_sak_hash_errors(self):
"""
Getter method for sak_hash_errors, mapped from YANG variable /macsec/mka/state/counters/sak_hash_errors (oc-yang:counter64)
YANG Description: MKA error Hash Key generation count
"""
return self.__sak_hash_errors | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _set_sak_hash_errors(self, v, load=False):
"""
Setter method for sak_hash_errors, mapped from YANG variable /macsec/mka/state/counters/sak_hash_errors (oc-yang:counter64)
If this variable is read-only (config: false) in the
source YANG file, then _set_sak_hash_errors is considered as a private
m... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _get_sak_encryption_errors(self):
"""
Getter method for sak_encryption_errors, mapped from YANG variable /macsec/mka/state/counters/sak_encryption_errors (oc-yang:counter64)
YANG Description: MKA error SAK encryption/wrap count
"""
return self.__sak_encryption_errors | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _set_sak_encryption_errors(self, v, load=False):
"""
Setter method for sak_encryption_errors, mapped from YANG variable /macsec/mka/state/counters/sak_encryption_errors (oc-yang:counter64)
If this variable is read-only (config: false) in the
source YANG file, then _set_sak_encryption_errors is consi... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _get_sak_decryption_errors(self):
"""
Getter method for sak_decryption_errors, mapped from YANG variable /macsec/mka/state/counters/sak_decryption_errors (oc-yang:counter64)
YANG Description: MKA error SAK decryption/unwrap count
"""
return self.__sak_decryption_errors | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _set_sak_decryption_errors(self, v, load=False):
"""
Setter method for sak_decryption_errors, mapped from YANG variable /macsec/mka/state/counters/sak_decryption_errors (oc-yang:counter64)
If this variable is read-only (config: false) in the
source YANG file, then _set_sak_decryption_errors is consi... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _get_sak_cipher_mismatch_errors(self):
"""
Getter method for sak_cipher_mismatch_errors, mapped from YANG variable /macsec/mka/state/counters/sak_cipher_mismatch_errors (oc-yang:counter64)
YANG Description: MKA error SAK cipher mismatch count
"""
return self.__sak_cipher_mismatch_errors | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _set_sak_cipher_mismatch_errors(self, v, load=False):
"""
Setter method for sak_cipher_mismatch_errors, mapped from YANG variable /macsec/mka/state/counters/sak_cipher_mismatch_errors (oc-yang:counter64)
If this variable is read-only (config: false) in the
source YANG file, then _set_sak_cipher_mism... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def __init__(self, *args, **kwargs):
self._path_helper = False
self._extmethods = False
self.__counters = YANGDynClass(base=yc_counters_openconfig_macsec__macsec_mka_state_counters, is_container='container', yang_name="counters", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, reg... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _get_counters(self):
"""
Getter method for counters, mapped from YANG variable /macsec/mka/state/counters (container)
YANG Description: MKA global counters
"""
return self.__counters | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _set_counters(self, v, load=False):
"""
Setter method for counters, mapped from YANG variable /macsec/mka/state/counters (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_counters is considered as a private
method. Backends looking to populate this vari... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def __init__(self, *args, **kwargs):
self._path_helper = False
self._extmethods = False
self.__policies = YANGDynClass(base=yc_policies_openconfig_macsec__macsec_mka_policies, is_container='container', yang_name="policies", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _get_policies(self):
"""
Getter method for policies, mapped from YANG variable /macsec/mka/policies (container)
YANG Description: Enclosing container for the list of MKA policies
"""
return self.__policies | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _set_policies(self, v, load=False):
"""
Setter method for policies, mapped from YANG variable /macsec/mka/policies (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_policies is considered as a private
method. Backends looking to populate this variable s... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _get_key_chains(self):
"""
Getter method for key_chains, mapped from YANG variable /macsec/mka/key_chains (container)
YANG Description: Enclosing container for the MKA key chains
"""
return self.__key_chains | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _set_key_chains(self, v, load=False):
"""
Setter method for key_chains, mapped from YANG variable /macsec/mka/key_chains (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_key_chains is considered as a private
method. Backends looking to populate this va... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _get_state(self):
"""
Getter method for state, mapped from YANG variable /macsec/mka/state (container)
YANG Description: Operational state data for MKA
"""
return self.__state | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _set_state(self, v, load=False):
"""
Setter method for state, mapped from YANG variable /macsec/mka/state (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_state is considered as a private
method. Backends looking to populate this variable should
do... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def __init__(self, *args, **kwargs):
self._path_helper = False
self._extmethods = False
self.__name = YANGDynClass(base=six.text_type, is_leaf=True, yang_name="name", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/macsec'... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _get_name(self):
"""
Getter method for name, mapped from YANG variable /macsec/interfaces/interface/config/name (oc-if:base-interface-ref)
YANG Description: Reference to the MACsec Ethernet interface
"""
return self.__name | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _set_name(self, v, load=False):
"""
Setter method for name, mapped from YANG variable /macsec/interfaces/interface/config/name (oc-if:base-interface-ref)
If this variable is read-only (config: false) in the
source YANG file, then _set_name is considered as a private
method. Backends looking to p... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _get_enable(self):
"""
Getter method for enable, mapped from YANG variable /macsec/interfaces/interface/config/enable (boolean)
YANG Description: Enable MACsec on an interface
"""
return self.__enable | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _set_enable(self, v, load=False):
"""
Setter method for enable, mapped from YANG variable /macsec/interfaces/interface/config/enable (boolean)
If this variable is read-only (config: false) in the
source YANG file, then _set_enable is considered as a private
method. Backends looking to populate t... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _get_replay_protection(self):
"""
Getter method for replay_protection, mapped from YANG variable /macsec/interfaces/interface/config/replay_protection (uint16)
YANG Description: MACsec window size, as defined by the number of out-of-order frames | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _set_replay_protection(self, v, load=False):
"""
Setter method for replay_protection, mapped from YANG variable /macsec/interfaces/interface/config/replay_protection (uint16)
If this variable is read-only (config: false) in the
source YANG file, then _set_replay_protection is considered as a private... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _unset_replay_protection(self):
self.__replay_protection = YANGDynClass(base=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16), default=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16)(0), is_leaf=True, yang_name="replay-protection",... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def __init__(self, *args, **kwargs):
self._path_helper = False
self._extmethods = False
self.__tx_untagged_pkts = YANGDynClass(base=RestrictedClassType(base_type=long, restriction_dict={'range': ['0..18446744073709551615']}, int_size=64), is_leaf=True, yang_name="tx-untagged-pkts", parent=self, path_help... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _get_tx_untagged_pkts(self):
"""
Getter method for tx_untagged_pkts, mapped from YANG variable /macsec/interfaces/interface/state/counters/tx_untagged_pkts (oc-yang:counter64)
YANG Description: MACsec interface level Transmit untagged Packets counter. | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _set_tx_untagged_pkts(self, v, load=False):
"""
Setter method for tx_untagged_pkts, mapped from YANG variable /macsec/interfaces/interface/state/counters/tx_untagged_pkts (oc-yang:counter64)
If this variable is read-only (config: false) in the
source YANG file, then _set_tx_untagged_pkts is consider... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _unset_tx_untagged_pkts(self):
self.__tx_untagged_pkts = YANGDynClass(base=RestrictedClassType(base_type=long, restriction_dict={'range': ['0..18446744073709551615']}, int_size=64), is_leaf=True, yang_name="tx-untagged-pkts", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_pat... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _set_rx_untagged_pkts(self, v, load=False):
"""
Setter method for rx_untagged_pkts, mapped from YANG variable /macsec/interfaces/interface/state/counters/rx_untagged_pkts (oc-yang:counter64)
If this variable is read-only (config: false) in the
source YANG file, then _set_rx_untagged_pkts is consider... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _unset_rx_untagged_pkts(self):
self.__rx_untagged_pkts = YANGDynClass(base=RestrictedClassType(base_type=long, restriction_dict={'range': ['0..18446744073709551615']}, int_size=64), is_leaf=True, yang_name="rx-untagged-pkts", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_pat... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
def _set_rx_badtag_pkts(self, v, load=False):
"""
Setter method for rx_badtag_pkts, mapped from YANG variable /macsec/interfaces/interface/state/counters/rx_badtag_pkts (oc-yang:counter64)
If this variable is read-only (config: false) in the
source YANG file, then _set_rx_badtag_pkts is considered as a ... | google/gnxi | [
229,
110,
229,
19,
1506413981
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.