equal
deleted
inserted
replaced
14 self.name = name |
14 self.name = name |
15 |
15 |
16 def __str__(self): |
16 def __str__(self): |
17 return self.name |
17 return self.name |
18 |
18 |
19 @pvl.hosts.extension |
19 @pvl.hosts.host.register_extension |
20 class HostInterfaces(object): |
20 class HostInterfaces(pvl.hosts.host.HostExtension): |
21 """ |
21 """ |
22 A host with multiple sub-interfaces. |
22 A host with multiple sub-interfaces. |
23 |
23 |
24 Typically used for point-to-point interfaces between routers. For multi-homed hosts, it might make |
24 Typically used for point-to-point interfaces between routers. For multi-homed hosts, it might make |
25 more sense to use multiple hosts in different domains. |
25 more sense to use multiple hosts in different domains. |