示例#1
0
文件: port.py 项目: etingof/softboxen
 def access_vlan(self):
     """Return `VlanPort` object for access VLAN."""
     return vlan_port.VlanPort(
         self._conn, base.get_sub_resource_path_by(self, 'access_vlan'))
示例#2
0
 def boxen(self):
     """Return a `BoxCollection` object."""
     return box.BoxCollection(
         self._conn, base.get_sub_resource_path_by(self, 'boxen'))