class DestinationDetailView(OperatorDetailView): table = fields.RelatedViewField( '_table', 'bgpspeaker.operator.views.bgp.TableDetailView', ) best_path = fields.RelatedViewField( 'best_path', 'bgpspeaker.operator.views.bgp.PathDetailView' ) known_path_list = fields.RelatedListViewField( 'known_path_list', 'bgpspeaker.operator.views.bgp.PathListView' ) new_path_list = fields.RelatedListViewField( '_new_path_list', 'bgpspeaker.operator.views.bgp.PathListView' ) withdraw_list = fields.RelatedListViewField( '_withdraw_list', 'bgpspeaker.operator.views.bgp.PathListView' ) sent_routes = fields.RelatedListViewField( 'sent_routes', 'bgpspeaker.operator.views.bgp.SentRouteListView' ) nlri = fields.DataField('nlri') route_family = fields.DataField('route_family')
class PeerManagerDetailView(OperatorDetailView): peers = fields.RelatedListViewField( '_peers', 'bgpspeaker.operator.views.bgp.PeerDictView' ) peers_summary = fields.RelatedListViewField( '_peers', 'bgpspeaker.operator.views.bgp.PeerDictSummaryView' )
class PeerManagerDetailView(OperatorDetailView): peers = fields.RelatedListViewField( '_peers', 'ryu.services.protocols.bgp.operator.views.bgp.PeerDictView') peers_summary = fields.RelatedListViewField( '_peers', 'ryu.services.protocols.bgp.operator.views.bgp.PeerDictSummaryView')