Make AS 'number' required, add missing props to SocketExt. closes #77
parent
ed2cf28cdf
commit
cccd42d984
|
@ -98,7 +98,7 @@ class AutonomousSystem(_Observable):
|
||||||
_properties = OrderedDict()
|
_properties = OrderedDict()
|
||||||
_properties.update([
|
_properties.update([
|
||||||
('type', TypeProperty(_type)),
|
('type', TypeProperty(_type)),
|
||||||
('number', IntegerProperty()),
|
('number', IntegerProperty(required=True)),
|
||||||
('name', StringProperty()),
|
('name', StringProperty()),
|
||||||
('rir', StringProperty()),
|
('rir', StringProperty()),
|
||||||
('extensions', ExtensionsProperty(enclosing_type=_type)),
|
('extensions', ExtensionsProperty(enclosing_type=_type)),
|
||||||
|
@ -459,6 +459,8 @@ class SocketExt(_Extension):
|
||||||
"SOCK_RDM",
|
"SOCK_RDM",
|
||||||
"SOCK_SEQPACKET",
|
"SOCK_SEQPACKET",
|
||||||
])),
|
])),
|
||||||
|
('socket_descriptor', IntegerProperty()),
|
||||||
|
('socket_handle', IntegerProperty()),
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue