def add_links(self, links): networks = self.get_networks() if len(networks) > 0: xml = networks[0].element else: xml = self.xml PGv2Link.add_links(xml, links)
def add_link_requests(self, link_tuples, append=False): PGv2Link.add_link_requests(self.xml.root, link_tuples, append)
def add_links(self, links): PGv2Link.add_links(self.xml.root, links)
def get_link_requests(self): return PGv2Link.get_link_requests(self.xml)
def get_links(self, network=None): return PGv2Link.get_links(self.xml)
def add_link_requests(self, links): PGv2Link.add_link_requests(self.xml, links)