Module scrapli_netconf.constants¶
scrapli_netconf.constants
Expand source code
"""scrapli_netconf.constants"""
from enum import Enum
class XmlParserVersion(Enum):
COMPRESSED_PARSER = "flat"
STANDARD_PARSER = "standard"
class NetconfVersion(Enum):
UNKNOWN = "unknown"
VERSION_1_0 = "1.0"
VERSION_1_1 = "1.1"
class NetconfClientCapabilities(Enum):
UNKNOWN = "unknown"
CAPABILITIES_1_0 = """
urn:ietf:params:netconf:base:1.0
]]>]]>"""
CAPABILITIES_1_1 = """
urn:ietf:params:netconf:base:1.1
]]>]]>"""
Classes¶
NetconfClientCapabilities¶
1 |
|
Expand source code
class NetconfClientCapabilities(Enum):
UNKNOWN = "unknown"
CAPABILITIES_1_0 = """
urn:ietf:params:netconf:base:1.0
]]>]]>"""
CAPABILITIES_1_1 = """
urn:ietf:params:netconf:base:1.1
]]>]]>"""
Ancestors (in MRO)¶
- enum.Enum
Class variables¶
CAPABILITIES_1_0
CAPABILITIES_1_1
UNKNOWN
NetconfVersion¶
1 |
|
Expand source code
class NetconfVersion(Enum):
UNKNOWN = "unknown"
VERSION_1_0 = "1.0"
VERSION_1_1 = "1.1"
Ancestors (in MRO)¶
- enum.Enum
Class variables¶
UNKNOWN
VERSION_1_0
VERSION_1_1
XmlParserVersion¶
1 |
|
Expand source code
class XmlParserVersion(Enum):
COMPRESSED_PARSER = "flat"
STANDARD_PARSER = "standard"
Ancestors (in MRO)¶
- enum.Enum
Class variables¶
COMPRESSED_PARSER
STANDARD_PARSER