def enable(self, ospf_profile=None, router_id=None):
        """
        Enable OSPF on this engine. For master engines, enable
        OSPF on the virtual firewall.

        Once enabled on the engine, add an OSPF area to an interface::

            engine.dynamic_routing.ospf.enable()
            interface = engine.routing.get(0)
            interface.add_ospf_area(OSPFArea('myarea'))

        :param str,OSPFProfile ospf_profile: OSPFProfile element or str
            href; if None, use default profile
        :param str router_id: single IP address router ID
        :raises ElementNotFound: OSPF profile not found
        :return: None
        """
        ospf_profile = element_resolver(ospf_profile) if ospf_profile \
            else OSPFProfile('Default OSPFv2 Profile').href

        self.data.update(
            enabled=True,
            ospfv2_profile_ref=ospf_profile,
            router_id=router_id)
def enable ( self , ospf_profile = None , router_id = None ) : ospf_profile = element_resolver ( ospf_profile ) if ospf_profile else OSPFProfile ( 'Default OSPFv2 Profile' ) . href self . data . update ( enabled = True , ospfv2_profile_ref = ospf_profile , router_id = router_id )
Enable OSPF on this engine. For master engines, enable
        OSPF on the virtual firewall.

        Once enabled on the engine, add an OSPF area to an interface::

            engine.dynamic_routing.ospf.enable()
            interface = engine.routing.get(0)
            interface.add_ospf_area(OSPFArea('myarea'))

        :param str,OSPFProfile ospf_profile: OSPFProfile element or str
            href; if None, use default profile
        :param str router_id: single IP address router ID
        :raises ElementNotFound: OSPF profile not found
        :return: None