noc.ip.models.vrf

Module Contents

noc.ip.models.vrf.id_lock
class noc.ip.models.vrf.VRF

Bases: noc.core.model.base.NOCModel

VRF

class Meta

Bases: object

verbose_name
verbose_name_plural
db_table = ip_vrf
app_label = ip
ordering = ['name']
name
profile
vrf_group
rd
vpn_id
afi_ipv4
afi_ipv6
project
description
tt
tags
state
allocated_till
source
GLOBAL_RD = 0:0
IPv4_ROOT = 0.0.0.0/0
IPv6_ROOT = ::/0
_id_cache
_vpn_id_cache
__str__(self)
classmethod get_by_id(cls, id)
classmethod get_by_vpn_id(cls, vpn_id)
get_absolute_url(self)
classmethod get_global(cls)

Returns VRF 0:0

save(self, *args, **kwargs)

Create root entries for all enabled AFIs

get_index(self)

Full-text search

classmethod get_search_result_url(cls, obj_id)
delete(self, *args, **kwargs)